summaryrefslogtreecommitdiffstats
path: root/src/infodialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/infodialog.cpp')
-rw-r--r--src/infodialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/infodialog.cpp b/src/infodialog.cpp
index 74b3891..7948bdd 100644
--- a/src/infodialog.cpp
+++ b/src/infodialog.cpp
@@ -33,18 +33,18 @@
#include <klocale.h>
// QT headers:
-#include <qcheckbox.h>
-#include <qdialog.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qstring.h>
-#include <qtooltip.h>
+#include <tqcheckbox.h>
+#include <tqdialog.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqstring.h>
+#include <tqtooltip.h>
/*! This is the default constructor of class infoDialog . */
-infoDialog::infoDialog( KConfig *config, QString captionName, QString message,
- QString dontShowAgainMsg, QString settingsEntryName,
- QWidget *parent, const char *name)
- :info_Dialog( parent, name, false, Qt::WStyle_StaysOnTop | WDestructiveClose )
+infoDialog::infoDialog( KConfig *config, TQString captionName, TQString message,
+ TQString dontShowAgainMsg, TQString settingsEntryName,
+ TQWidget *tqparent, const char *name)
+ :info_Dialog( tqparent, name, false, TQt::WStyle_StaysOnTop | WDestructiveClose )
{
if ( message.isEmpty() || (!dontShowAgainMsg.isEmpty() && settingsEntryName.isEmpty()) ||
(!dontShowAgainMsg.isEmpty() && (config == 0)))
@@ -64,9 +64,9 @@ infoDialog::infoDialog( KConfig *config, QString captionName, QString message,
}
}
- buttonOK->setIconSet(SmallIconSet("ok", QIconSet::Automatic));
+ buttonOK->setIconSet(SmallIconSet("ok", TQIconSet::Automatic));
- QPixmap pixmap = 0;
+ TQPixmap pixmap = 0;
pixmap = KGlobal::iconLoader()->loadIcon("messagebox_warning", KIcon::NoGroup, KIcon::SizeMedium);
iconPixmap->setPixmap( pixmap );
@@ -90,7 +90,7 @@ infoDialog::infoDialog( KConfig *config, QString captionName, QString message,
/*! This is the default destructor of class infoDialog . */
infoDialog::~infoDialog()
{
- // no need to delete child widgets, Qt does it all for us
+ // no need to delete child widgets, TQt does it all for us
}
/*!
@@ -104,7 +104,7 @@ bool infoDialog::dialogIsDisabled() {
}
/*!
- * SLOT: called if the 'ok' button clicked. This SLOT sync the settings
+ * SLOT: called if the 'ok' button clicked. This TQT_SLOT sync the settings
* and close the dialog.
*/
void infoDialog::ButtonOK_clicked() {