From 460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/kwsdl/tests/google/main.cc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 kode/kwsdl/tests/google/main.cc (limited to 'kode/kwsdl/tests/google/main.cc') diff --git a/kode/kwsdl/tests/google/main.cc b/kode/kwsdl/tests/google/main.cc new file mode 100644 index 000000000..fd4b82462 --- /dev/null +++ b/kode/kwsdl/tests/google/main.cc @@ -0,0 +1,23 @@ +#include +#include +#include +#include + +#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(); +} -- cgit v1.2.1