diff options
Diffstat (limited to 'src/kvirc/ui/kvi_htmldialog.h')
-rw-r--r-- | src/kvirc/ui/kvi_htmldialog.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/kvirc/ui/kvi_htmldialog.h b/src/kvirc/ui/kvi_htmldialog.h index 3f9a6d2a..aa845eaf 100644 --- a/src/kvirc/ui/kvi_htmldialog.h +++ b/src/kvirc/ui/kvi_htmldialog.h @@ -28,8 +28,8 @@ #include "kvi_settings.h" -#include <qpixmap.h> -#include <qdialog.h> +#include <tqpixmap.h> +#include <tqdialog.h> class KviHtmlDialogData { @@ -41,39 +41,40 @@ public: int iFlags; // da flags :) int iDefaultButton; // the button to use when Enter is pressed (1,2 or 3) int iCancelButton; // the button to use when Esc is pressed (1,2 or 3) - QString szHtmlText; // Shouldn't be empty :D + TQString szHtmlText; // Shouldn't be empty :D // optional fields - QString szCaption; // KVIrc is used when this is empty - QString szUpperLabelText; // no label is shown if this is empty - QString szLowerLabelText; // no label is shown if this is empty - QString szButton1Text; // OK is used if this is empty - QString szButton2Text; // no button is shown if this is empty - QString szButton3Text; // no button is shown if this is empty + TQString szCaption; // KVIrc is used when this is empty + TQString szUpperLabelText; // no label is shown if this is empty + TQString szLowerLabelText; // no label is shown if this is empty + TQString szButton1Text; // OK is used if this is empty + TQString szButton2Text; // no button is shown if this is empty + TQString szButton3Text; // no button is shown if this is empty int iMinimumWidth; int iMinimumHeight; - QPixmap pixIcon; // may be null + TQPixmap pixIcon; // may be null // output int iSelectedButton; // returns 1,2 or 3 }; -class KVIRC_API KviHtmlDialog : public QDialog +class KVIRC_API KviHtmlDialog : public TQDialog { Q_OBJECT + TQ_OBJECT public: // the dialog does NOT delete this structure and assumes that // it remains alive until the dialog closes (i.e. it may access // the structure in the destructor - KviHtmlDialog(QWidget * pParent,KviHtmlDialogData * pData); + KviHtmlDialog(TQWidget * pParent,KviHtmlDialogData * pData); ~KviHtmlDialog(); protected: KviHtmlDialogData * m_pData; public: // displays the dialog as modal and returns 1,2 or 3 - static int display(QWidget * pParent,KviHtmlDialogData * pData); + static int display(TQWidget * pParent,KviHtmlDialogData * pData); protected slots: void button1Pressed(); void button2Pressed(); |