summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/main.cpp
blob: 5cef2dc2a778ed997deb0a427106901e09a04443 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#include "mainwindow.h"

#include <qpe/qpeapplication.h>
#include <qstring.h>
#include <qmessagebox.h>
int debugLevel;

int main( int argc, char ** argv )
{

  debugLevel = 2;
  if (argc > 0)
    {
      debugLevel = QString ( argv[1] ).toInt();
    }
  QPEApplication a( argc, argv );
  MainWindow mw;
	QMessageBox::information( &mw, "oipkg","While ipkg is working\noipkg is hanging.\nPlease be patient!");
  a.showMainDocumentWidget( &mw );
  return a.exec();
}