summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/qt-only/compat.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/qt-only/compat.h
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/qt-only/compat.h')
-rw-r--r--kregexpeditor/qt-only/compat.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kregexpeditor/qt-only/compat.h b/kregexpeditor/qt-only/compat.h
index edf9ced..5afa317 100644
--- a/kregexpeditor/qt-only/compat.h
+++ b/kregexpeditor/qt-only/compat.h
@@ -18,15 +18,15 @@
#ifndef COMPAT_H
#define COMPAT_H
-#include <qobject.h>
-#include <qmessagebox.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qinputdialog.h>
-#include <qframe.h>
+#include <tqobject.h>
+#include <tqmessagebox.h>
+#include <tqlayout.h>
+#include <tqpushbutton.h>
+#include <tqinputdialog.h>
+#include <tqframe.h>
-QString i18n( const QString& a);
-QString i18n( const QString& a, const QString& b);
+TQString i18n( const TQString& a);
+TQString i18n( const TQString& a, const TQString& b);
#define isatty(x) 0
#define KTextBrowser QTextBrowser
@@ -42,18 +42,18 @@ public:
enum ButtonCode {Ok = 1, Cancel, Help};
enum DialogType { Plain };
- KDialogBase ( int dialogFace, const QString &caption, int buttonMask,
+ KDialogBase ( int dialogFace, const TQString &caption, int buttonMask,
ButtonCode defaultButton,
- QWidget *parent=0, const char *name=0, bool modal=true );
+ TQWidget *parent=0, const char *name=0, bool modal=true );
- KDialogBase( QWidget* parent, const char* name = 0, bool modal = true,
- const QString& caption = QString::null,
+ KDialogBase( TQWidget* parent, const char* name = 0, bool modal = true,
+ const TQString& caption = TQString::null,
int buttonMask = 0 );
- void init( int buttonMask, ButtonCode /*defaultButton*/, const QString& caption );
- void setMainWidget( QWidget* top );
- QFrame* plainPage();
- void setHelp( const QString&, const QString& ) {}
+ void init( int buttonMask, ButtonCode /*defaultButton*/, const TQString& caption );
+ void setMainWidget( TQWidget* top );
+ TQFrame* plainPage();
+ void setHelp( const TQString&, const TQString& ) {}
public slots:
void slotOk();
@@ -66,7 +66,7 @@ signals:
void helpClicked();
private:
- QVBoxLayout* _layout;
+ TQVBoxLayout* _layout;
};
class KMessageBox :public QMessageBox
@@ -74,11 +74,11 @@ class KMessageBox :public QMessageBox
Q_OBJECT
public:
enum ButtonCode { Ok = 1, Cancel = 2, Yes = 3, No = 4, Continue = 5 };
- static int warningYesNo (QWidget *parent, const QString &text,
- const QString &caption = QString::null );
- static int information( QWidget* parent, const QString& text, const QString& caption = QString::null,
- const QString& /*dontShowAgainName*/ = QString::null );
- static int sorry( QWidget* parent, const QString& text, const QString& caption = QString::null );
+ static int warningYesNo (TQWidget *parent, const TQString &text,
+ const TQString &caption = TQString::null );
+ static int information( TQWidget* parent, const TQString& text, const TQString& caption = TQString::null,
+ const TQString& /*dontShowAgainName*/ = TQString::null );
+ static int sorry( TQWidget* parent, const TQString& text, const TQString& caption = TQString::null );
};
#endif /* COMPAT_H */