summaryrefslogtreecommitdiffstats
path: root/src/modules/dialog/libkvidialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/dialog/libkvidialog.h')
-rw-r--r--src/modules/dialog/libkvidialog.h62
1 files changed, 33 insertions, 29 deletions
diff --git a/src/modules/dialog/libkvidialog.h b/src/modules/dialog/libkvidialog.h
index 43b1510f..6763646a 100644
--- a/src/modules/dialog/libkvidialog.h
+++ b/src/modules/dialog/libkvidialog.h
@@ -31,24 +31,25 @@
#include "kvi_kvs_callbackobject.h"
-#include <qmessagebox.h>
-#include <qdialog.h>
+#include <tqmessagebox.h>
+#include <tqdialog.h>
// New KVS
-class KviKvsCallbackMessageBox : public QMessageBox, public KviKvsCallbackObject
+class KviKvsCallbackMessageBox : public TQMessageBox, public KviKvsCallbackObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KviKvsCallbackMessageBox(
- const QString &szCaption,
- const QString &szText,
- const QString &szIcon,
- const QString &szButton0,
- const QString &szButton1,
- const QString &szButton2,
- const QString &szCode,
+ const TQString &szCaption,
+ const TQString &szText,
+ const TQString &szIcon,
+ const TQString &szButton0,
+ const TQString &szButton1,
+ const TQString &szButton2,
+ const TQString &szCode,
KviKvsVariantList * pMagicParams,
KviWindow * pWindow, bool modal=false);
~KviKvsCallbackMessageBox();
@@ -60,31 +61,32 @@ protected slots:
// New KVS
-class KviKvsCallbackTextInput : public QDialog, public KviKvsCallbackObject
+class KviKvsCallbackTextInput : public TQDialog, public KviKvsCallbackObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KviKvsCallbackTextInput(
- const QString &szCaption,
- const QString &szLabel,
- const QString &szDefaultText,
- const QString &szIcon,
+ const TQString &szCaption,
+ const TQString &szLabel,
+ const TQString &szDefaultText,
+ const TQString &szIcon,
bool bMultiLine,
- const QString &szButton0,
- const QString &szButton1,
- const QString &szButton2,
- const QString &szCode,
+ const TQString &szButton0,
+ const TQString &szButton1,
+ const TQString &szButton2,
+ const TQString &szCode,
KviKvsVariantList * pMagicParams,
KviWindow * pWindow, bool modal=false);
~KviKvsCallbackTextInput();
protected:
bool m_bMultiLine;
- QWidget * m_pEdit;
+ TQWidget * m_pEdit;
int m_iEscapeButton;
int m_iDefaultButton;
protected:
- virtual void closeEvent(QCloseEvent *e);
- virtual void showEvent(QShowEvent *e);
+ virtual void closeEvent(TQCloseEvent *e);
+ virtual void showEvent(TQShowEvent *e);
protected slots:
void b0Clicked();
void b1Clicked();
@@ -98,12 +100,13 @@ protected slots:
class KviKvsCallbackFileDialog : public KviFileDialog, public KviKvsCallbackObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KviKvsCallbackFileDialog(
- const QString &szCaption,
- const QString &szInitialSelection,
- const QString &szFilter,
- const QString &szCode,
+ const TQString &szCaption,
+ const TQString &szInitialSelection,
+ const TQString &szFilter,
+ const TQString &szCode,
KviKvsVariantList * pMagicParams,
KviWindow * pWindow, bool modal=false);
~KviKvsCallbackFileDialog();
@@ -116,13 +119,14 @@ protected:
class KviKvsCallbackImageDialog : public KviImageDialog, public KviKvsCallbackObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KviKvsCallbackImageDialog(
- const QString &szCaption,
- const QString &szInitialSelection,
+ const TQString &szCaption,
+ const TQString &szInitialSelection,
int iType,
int iMaxSize,
- const QString &szCode,
+ const TQString &szCode,
KviKvsVariantList * pMagicParams,
KviWindow * pWindow,bool modal=false);
~KviKvsCallbackImageDialog();