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.
tdepim/kode/kwsdl/tests/google/main.cpp

24 lines
597 B

#include <tdeaboutdata.h>
#include <tdeapplication.h>
#include <tdecmdlineargs.h>
#include <kmdcodec.h>
#include "googlesearch.h"
int main( int argc, char **argv )
{
TDEAboutData aboutData( "kgooglesearch", "TDE Google Search", "0.1", "", TDEAboutData::License_GPL );
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication app( false, false );
GoogleSearch search;
search.googleSearch( "foobar", 0, 10, true, "", false, "", "latin1", "latin1" );
search.spellingSuggestion( "guugel" );
return app.exec();
}