예제 #1
0
파일: main.cpp 프로젝트: Kitware/CMake
int main(int argv, char** args)
{
  QCoreApplication app(argv, args);

  Foo foo;
  foo.doFoo();

  Blub b;
  b.blubber();

  Bar bar;
  bar.doBar();

  Abc abc;
  abc.doAbc();

  Xyz xyz;
  xyz.doXyz();

  Yaf yaf;
  yaf.doYaf();

  LibC lc;
  lc.foo();

  ResourceTester rt;

  QTimer::singleShot(0, &rt, SLOT(doTest()));

#ifdef TEST_DEBUG_CLASS
  std::cout << DebugClass::staticMetaObject.className() << std::endl;
#endif

  return app.exec();
}
예제 #2
0
파일: main.cpp 프로젝트: 151706061/CMake
int main(int argv, char **args)
{
  QApplication app(argv, args);

  CodeEditor editor;
  editor.setWindowTitle(QObject::tr("Code Editor Example"));
  editor.show();

  Window w;
  w.show();

  Foo foo;
  foo.doFoo();

  Blub b;
  b.blubber();

  Bar bar;
  bar.doBar();

  Abc abc;
  abc.doAbc();

  Xyz xyz;
  xyz.doXyz();

  Yaf yaf;
  yaf.doYaf();

  LibC lc;
  lc.foo();

  return app.exec();
}