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, "*****@*****.**" ); aboutData.addCredit( "Nadeem Hasan", I18N_NOOP( "UI Rewrite, lots of code " "cleanups and fixes" ), "*****@*****.**" ); aboutData.addCredit( "Helge Deller", I18N_NOOP( "Printing Rewrite, lots of code " "cleanups and fixes"), "*****@*****.**" ); 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 (); }