Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

main.cpp

Go to the documentation of this file.
00001 
00002 #include "mainwindow.h"
00003 
00004 #include <qpe/qpeapplication.h>
00005 #include <qstring.h>
00006 #include <unistd.h>
00007 int debugLevel;
00008 
00009 int main( int argc, char ** argv )
00010 {
00011         setpgid(0,0);
00012   printf("This is oipkg\n");
00013   printf("$Id: main.cpp,v 1.14 2002/07/19 12:44:48 tille Exp $\n");
00014   debugLevel = 2;
00015   if (argc > 1)
00016   {
00017       debugLevel = QString ( argv[1] ).toInt();
00018         qDebug("setting debug level to %i",debugLevel);
00019   }
00020   QPEApplication a( argc, argv );
00021   MainWindow mw;
00022 //  if (argc > 2)
00023 //              QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!");
00024   a.showMainDocumentWidget( &mw );
00025   return a.exec();
00026 }

Generated on Sat Nov 5 16:15:25 2005 for OPIE by  doxygen 1.4.2