本文整理汇总了C++中MyApp::processEvents方法的典型用法代码示例。如果您正苦于以下问题:C++ MyApp::processEvents方法的具体用法?C++ MyApp::processEvents怎么用?C++ MyApp::processEvents使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类MyApp
的用法示例。
在下文中一共展示了MyApp::processEvents方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: main
int main (int argc, char **argv)
{
KAboutData aboutData( "kfax", I18N_NOOP("KFax"),
KFAXVERSION, description, KAboutData::License_GPL,
"(c) 1997-98 Bernd Johannes Wuebben");
aboutData.addAuthor( "Bernd Johannes Wuebben", 0, "[email protected]" );
aboutData.addCredit( "Nadeem Hasan", I18N_NOOP( "UI Rewrite, lots of code "
"cleanups and fixes" ), "[email protected]" );
aboutData.addCredit( "Helge Deller", I18N_NOOP( "Printing Rewrite, lots of code "
"cleanups and fixes"), "[email protected]" );
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions( options );
MyApp a;
qtdisplay = qt_xdisplay();
viewfaxmain();
toplevel = new TopLevel();
toplevel->show();
startingup = 1;
a.processEvents();
a.flushX();
startingup = 0;
faxinit();
if(!have_no_fax){
thispage = firstpage;
toplevel->newPage();
toplevel->resizeView();
//TODO : I don't think I need this putImage();
toplevel->putImage();
}
toplevel->uiUpdate();
return a.exec ();
}