diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdm/kfrontend/kfdialog.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdm/kfrontend/kfdialog.h')
-rw-r--r-- | kdm/kfrontend/kfdialog.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kdm/kfrontend/kfdialog.h b/kdm/kfrontend/kfdialog.h index 7ab456f22..3f0524b84 100644 --- a/kdm/kfrontend/kfdialog.h +++ b/kdm/kfrontend/kfdialog.h @@ -26,38 +26,38 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef FDIALOG_H #define FDIALOG_H -#include <qdialog.h> -#include <qmessagebox.h> +#include <tqdialog.h> +#include <tqmessagebox.h> class QFrame; -class FDialog : public QDialog { - typedef QDialog inherited; +class FDialog : public TQDialog { + typedef TQDialog inherited; public: - FDialog( QWidget *parent = 0, bool framed = true ); + FDialog( TQWidget *parent = 0, bool framed = true ); virtual int exec(); - static void box( QWidget *parent, QMessageBox::Icon type, - const QString &text ); -#define errorbox QMessageBox::Critical -#define sorrybox QMessageBox::Warning -#define infobox QMessageBox::Information - void MsgBox( QMessageBox::Icon typ, const QString &msg ) { box( this, typ, msg ); } + static void box( TQWidget *parent, TQMessageBox::Icon type, + const TQString &text ); +#define errorbox TQMessageBox::Critical +#define sorrybox TQMessageBox::Warning +#define infobox TQMessageBox::Information + void MsgBox( TQMessageBox::Icon typ, const TQString &msg ) { box( this, typ, msg ); } protected: - virtual void resizeEvent( QResizeEvent *e ); + virtual void resizeEvent( TQResizeEvent *e ); void adjustGeometry(); private: - QFrame *winFrame; + TQFrame *winFrame; }; class KFMsgBox : public FDialog { typedef FDialog inherited; public: - KFMsgBox( QWidget *parent, QMessageBox::Icon type, const QString &text ); + KFMsgBox( TQWidget *parent, TQMessageBox::Icon type, const TQString &text ); }; #endif /* FDIALOG_H */ |