2017-11-22 17:56:37 +08:00
|
|
|
#include "mainwindow.h"
|
|
|
|
#include <QApplication>
|
|
|
|
|
2017-11-23 12:33:32 +08:00
|
|
|
#include "qqtobjectfactory.h"
|
|
|
|
#include "qqtcore.h"
|
2017-11-23 19:12:48 +08:00
|
|
|
#include "qqthttpdownloadmanager.h"
|
|
|
|
#include "qqtapplication.h"
|
|
|
|
#include "qqtqtiowebpageparser.h"
|
2017-11-23 12:33:32 +08:00
|
|
|
|
|
|
|
int main ( int argc, char* argv[] )
|
2017-11-22 17:56:37 +08:00
|
|
|
{
|
2017-11-23 19:12:48 +08:00
|
|
|
QQtApplication a ( argc, argv );
|
2017-11-23 12:33:32 +08:00
|
|
|
|
2017-11-23 19:12:48 +08:00
|
|
|
/*
|
2017-11-23 12:33:32 +08:00
|
|
|
QQtWidgetFactory::registerObject<QPushButton>();
|
|
|
|
QObject* obj = QQtWidgetFactory::createObject ( "QPushButton" );
|
|
|
|
pline() << obj->inherits ( "QWidget" );
|
|
|
|
pline() << obj->inherits ( "QPushButton" );
|
|
|
|
pline() << obj->inherits ( "QObject" );
|
|
|
|
obj->setObjectName ( "bbb" );
|
|
|
|
pline() << obj->objectName();
|
|
|
|
QQtObjectParcel::registerObject ( obj );
|
2017-11-23 19:12:48 +08:00
|
|
|
*/
|
2017-11-23 12:33:32 +08:00
|
|
|
|
2017-11-23 19:12:48 +08:00
|
|
|
QQtQtIOWebPageParser webparser;
|
2017-11-24 13:27:45 +08:00
|
|
|
webparser.startNewParse ( );
|
2017-11-23 12:33:32 +08:00
|
|
|
|
2017-11-23 19:12:48 +08:00
|
|
|
//MainWindow w;
|
|
|
|
//w.show();
|
2017-11-22 17:56:37 +08:00
|
|
|
|
|
|
|
return a.exec();
|
|
|
|
}
|