summaryrefslogtreecommitdiffstats
path: root/libkdepim/komposer/core/tests/testkomposer.cpp
blob: b7997e8c33e0957426bd3b3c5171058ebb587bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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();
}