forked from Blackmamba-xuan/QtQQ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
51 lines (49 loc) · 956 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#include "widget.h"
#include <QApplication>
#include<form.h>
#include "talk.h"
#include "drawer.h"
#include "one.h"
#include "chat.h"
#include "wechat.h"
#include "search.h"
#include "emotion.h"
#include "mymessagebox.h"
#include<QTextCodec>
#include "sunshine.h"
#include "friendmsg.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
//Widget w;
//w.show();
Form f;
f.show();
//Sunshine s;
//s.show();
//Talk t;
//t.show();
//Talk* ta=new Talk();
//ta->show();
//Talk t;
//t.show();
//Drawer d;
//d.show();
//One* one=new One;
//one->show();
//Chat c;
//c.show();
//Wechat w;
// w.show();
//Search s;
//s.show();
//Emotion e;
//e.show();
//Mymessagebox m;
//m.show();
//Friendmsg fs;
//fs.show();
QTextCodec* codec=QTextCodec::codecForName("UTF-8");
QTextCodec::setCodecForLocale(codec);
return a.exec();
}