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
597 B
24 lines
597 B
12 years ago
|
#include <tdeaboutdata.h>
|
||
|
#include <tdeapplication.h>
|
||
|
#include <tdecmdlineargs.h>
|
||
15 years ago
|
#include <kmdcodec.h>
|
||
|
|
||
4 years ago
|
#include "googlesearch.h"
|
||
15 years ago
|
|
||
|
int main( int argc, char **argv )
|
||
|
{
|
||
12 years ago
|
TDEAboutData aboutData( "kgooglesearch", "TDE Google Search", "0.1", "", TDEAboutData::License_GPL );
|
||
15 years ago
|
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
|
||
|
|
||
12 years ago
|
TDECmdLineArgs::init( argc, argv, &aboutData );
|
||
15 years ago
|
|
||
12 years ago
|
TDEApplication app( false, false );
|
||
15 years ago
|
|
||
|
GoogleSearch search;
|
||
|
|
||
|
search.googleSearch( "foobar", 0, 10, true, "", false, "", "latin1", "latin1" );
|
||
|
search.spellingSuggestion( "guugel" );
|
||
|
|
||
|
return app.exec();
|
||
|
}
|