diff options
Diffstat (limited to 'src/cprquerydialog.h')
-rw-r--r-- | src/cprquerydialog.h | 57 |
1 files changed, 26 insertions, 31 deletions
diff --git a/src/cprquerydialog.h b/src/cprquerydialog.h index 2acf1b4..7a84f5e 100644 --- a/src/cprquerydialog.h +++ b/src/cprquerydialog.h @@ -24,9 +24,6 @@ * along with MIaV; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "config.h" -#ifdef USE_GUI - #ifndef __MIAV_CPRQUERYDIALOG_H__ #define __MIAV_CPRQUERYDIALOG_H__ @@ -49,40 +46,40 @@ /** * Includes */ -#include <qdialog.h> -#include <qpushbutton.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qfont.h> +#include <QDialog> +#include <QPushButton> +#include <QLayout> +#include <QLabel> +#include <QFont> -#include <qwidget.h> -#include <qlayout.h> -#include <qpushbutton.h> -#include <qdialog.h> -#include <qlabel.h> -#include <qpixmap.h> +#include <QWidget> +#include <QLayout> +#include <QPushButton> +#include <QDialog> +#include <QLabel> +#include <QPixmap> -#include <qsocket.h> -#include <qtextedit.h> -#include <qstring.h> -#include <qwidget.h> +#include <QTcpSocket> +#include <QTextEdit> +#include <QString> +#include <QWidget> -#include <qevent.h> +#include <QEvent> -#include <qpushbutton.h> +#include <QPushButton> -#include <qwidget.h> -#include <qlayout.h> -#include <qdialog.h> +#include <QWidget> +#include <QLayout> +#include <QDialog> #include <string> using namespace std; -#include <qdialog.h> -#include <qlabel.h> -#include <qsocket.h> -#include <qtimer.h> -#include <qstatusbar.h> +#include <QDialog> +#include <QLabel> +#include <QTcpSocket> +#include <QTimer> +#include <QStatusBar> #include "messagebox.h" @@ -113,7 +110,7 @@ private: QLabel *lbl_cpr; QLabel *lbl_name; - QSocket *cprSocket; + QTcpSocket *cprSocket; char cpr[12]; char internalCpr[11]; @@ -153,6 +150,4 @@ private: QTimer *timer; }; -#endif /* USE_GUI */ - #endif/*__MIAV_CPRQUERYDIALOG_H__*/ |