From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdm/kfrontend/kfdialog.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kdm/kfrontend/kfdialog.h') 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 -#include +#include +#include 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 */ -- cgit v1.2.1