diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-15 11:30:44 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-15 22:26:33 +0900 |
commit | 3a75bdfe83b71ef1dbc2fbf52f2d18b8174e22e5 (patch) | |
tree | ac71fb25d43d090e8073c77891c40697d47877d7 /kode/kwsdl/tests/google/main.cpp | |
parent | 2df45fd65d407b089967e948fa4a24439ef09458 (diff) | |
download | tdepim-3a75bdfe83b71ef1dbc2fbf52f2d18b8174e22e5.tar.gz tdepim-3a75bdfe83b71ef1dbc2fbf52f2d18b8174e22e5.zip |
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kode/kwsdl/tests/google/main.cpp')
-rw-r--r-- | kode/kwsdl/tests/google/main.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kode/kwsdl/tests/google/main.cpp b/kode/kwsdl/tests/google/main.cpp new file mode 100644 index 000000000..130a9cc6a --- /dev/null +++ b/kode/kwsdl/tests/google/main.cpp @@ -0,0 +1,23 @@ +#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(); +} |