diff --git a/AllInOne.pro b/AllInOne.pro new file mode 100644 index 0000000..9be741d --- /dev/null +++ b/AllInOne.pro @@ -0,0 +1,38 @@ +TEMPLATE = subdirs +SUBDIRS += \ + battery \ + bgdemo \ + buttondefence \ + colorwidget \ + comtool \ + countcode \ + dbpage \ + devicesizetable \ + echartgauge \ + emailtool \ +# ffmpegdemo \ + flatui \ + framelesswidget \ + gifwidget \ + imageswitch \ + ipaddress \ + lightbutton \ + lineeditnext \ + lunarcalendarwidget \ + maskwidget \ + mouseline \ + movewidget \ + navbutton \ + netserver \ + nettool \ + ntpclient \ + pngtool \ + qwtdemo \ + savelog \ + saveruntime \ + screenwidget \ + styledemo \ + videopanel \ + videowidget \ +# vlcdemo \ + zhtopy diff --git a/lightbutton/lightbutton.cpp b/lightbutton/lightbutton.cpp index eded620..b8d1858 100644 --- a/lightbutton/lightbutton.cpp +++ b/lightbutton/lightbutton.cpp @@ -5,7 +5,7 @@ #include "qevent.h" #include "qtimer.h" #include "qdebug.h" - +#include LightButton::LightButton(QWidget *parent) : QWidget(parent) { text = ""; diff --git a/qwtdemo/qwt/qwt_dial_needle.cpp b/qwtdemo/qwt/qwt_dial_needle.cpp index 1b53a3d..2764ab1 100644 --- a/qwtdemo/qwt/qwt_dial_needle.cpp +++ b/qwtdemo/qwt/qwt_dial_needle.cpp @@ -13,7 +13,7 @@ #include "qwt_painter.h" #include #include - +#include #if QT_VERSION < 0x040601 #define qFastSin(x) qSin(x) #define qFastCos(x) qCos(x) diff --git a/qwtdemo/qwt/qwt_graphic.cpp b/qwtdemo/qwt/qwt_graphic.cpp index 250f8d1..b1c9ab9 100644 --- a/qwtdemo/qwt/qwt_graphic.cpp +++ b/qwtdemo/qwt/qwt_graphic.cpp @@ -16,7 +16,7 @@ #include #include #include - +#include static bool qwtHasScalablePen( const QPainter *painter ) { const QPen pen = painter->pen(); diff --git a/qwtdemo/qwt/qwt_null_paintdevice.cpp b/qwtdemo/qwt/qwt_null_paintdevice.cpp index db1611d..c645d8b 100644 --- a/qwtdemo/qwt/qwt_null_paintdevice.cpp +++ b/qwtdemo/qwt/qwt_null_paintdevice.cpp @@ -10,7 +10,7 @@ #include "qwt_null_paintdevice.h" #include #include - +#include class QwtNullPaintDevice::PrivateData { public: diff --git a/qwtdemo/qwt/qwt_painter.h b/qwtdemo/qwt/qwt_painter.h index 9609b69..a38753d 100644 --- a/qwtdemo/qwt/qwt_painter.h +++ b/qwtdemo/qwt/qwt_painter.h @@ -17,7 +17,7 @@ #include #include #include - +#include class QPainter; class QBrush; class QColor; diff --git a/qwtdemo/qwt/qwt_painter_command.h b/qwtdemo/qwt/qwt_painter_command.h index 2da597a..967c78c 100644 --- a/qwtdemo/qwt/qwt_painter_command.h +++ b/qwtdemo/qwt/qwt_painter_command.h @@ -15,7 +15,7 @@ #include #include #include - +#include class QPainterPath; /*!