You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
584 B
24 lines
584 B
15 years ago
|
#include <kaboutdata.h>
|
||
|
#include <kapplication.h>
|
||
|
#include <kcmdlineargs.h>
|
||
|
#include <kmdcodec.h>
|
||
|
|
||
|
#include "googlesearch.hh"
|
||
|
|
||
|
int main( int argc, char **argv )
|
||
|
{
|
||
|
KAboutData aboutData( "kgooglesearch", "KDE Google Search", "0.1", "", KAboutData::License_GPL );
|
||
|
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
|
||
|
|
||
|
KCmdLineArgs::init( argc, argv, &aboutData );
|
||
|
|
||
|
KApplication app( false, false );
|
||
|
|
||
|
GoogleSearch search;
|
||
|
|
||
|
search.googleSearch( "foobar", 0, 10, true, "", false, "", "latin1", "latin1" );
|
||
|
search.spellingSuggestion( "guugel" );
|
||
|
|
||
|
return app.exec();
|
||
|
}
|