~sachinr/xpad/xpad-qt

1 by Sachin Raut
initial import of qt port of xpad
1
#include <QApplication>
2
#include <QtCore>
3
2 by Sachin Raut
App class introduction
4
#include <app.h>
5
using namespace std;
1 by Sachin Raut
initial import of qt port of xpad
6
7
int main(int argc, char *argv[])
8
{
9
    QApplication a(argc, argv);
10
11
    App app;
2 by Sachin Raut
App class introduction
12
    app.LoadPads();
4 by Sachin Raut
pad saving with 0 based files
13
    app.CreateTrayMenu();
2 by Sachin Raut
App class introduction
14
1 by Sachin Raut
initial import of qt port of xpad
15
    //wait untill quit message is posted
16
    int ret_value = a.exec();
17
    app.HideTray();
2 by Sachin Raut
App class introduction
18
    return ret_value;
1 by Sachin Raut
initial import of qt port of xpad
19
}
20
2 by Sachin Raut
App class introduction
21