diff options
Diffstat (limited to 'libtdepim/komposer/core/tests/testkomposer.cpp')
-rw-r--r-- | libtdepim/komposer/core/tests/testkomposer.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libtdepim/komposer/core/tests/testkomposer.cpp b/libtdepim/komposer/core/tests/testkomposer.cpp new file mode 100644 index 00000000..b7997e8c --- /dev/null +++ b/libtdepim/komposer/core/tests/testkomposer.cpp @@ -0,0 +1,18 @@ +#include "core.h" + +#include <kplugininfo.h> +#include <kcmdlineargs.h> +#include <kapplication.h> +#include <kdebug.h> + +int main( int argc, char **argv ) +{ + KCmdLineArgs::init( argc, argv, "test", "test", "test", "0.1" ); + KApplication app; + + Komposer::Core *core = new Komposer::Core(); + app.setMainWidget( core ); + core->show(); + + return app.exec(); +} |