summaryrefslogtreecommitdiffstats
path: root/korganizer/komessagebox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/komessagebox.cpp')
-rw-r--r--korganizer/komessagebox.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/komessagebox.cpp b/korganizer/komessagebox.cpp
index d3189ffaa..1874fe202 100644
--- a/korganizer/komessagebox.cpp
+++ b/korganizer/komessagebox.cpp
@@ -24,12 +24,12 @@
#include <kmessagebox.h>
#include <kdialogbase.h>
-#include <qpushbutton.h>
+#include <tqpushbutton.h>
#include "komessagebox.h"
-int KOMessageBox::fourBtnMsgBox( QWidget *parent, QMessageBox::Icon type,
- const QString &text, const QString &caption,
+int KOMessageBox::fourBtnMsgBox( TQWidget *parent, TQMessageBox::Icon type,
+ const TQString &text, const TQString &caption,
const KGuiItem &button1, const KGuiItem &button2,
const KGuiItem &button3, int options)
{
@@ -41,14 +41,14 @@ int KOMessageBox::fourBtnMsgBox( QWidget *parent, QMessageBox::Icon type,
dialog->setButtonOK( button3 );
dialog->setButtonText( KDialogBase::Yes, button1.text() );
dialog->setButtonText( KDialogBase::No, button2.text() );
- QObject::connect( dialog->actionButton( KDialogBase::Yes ), SIGNAL( clicked() ), dialog, SLOT(slotYes()));
- QObject::connect( dialog->actionButton( KDialogBase::No ), SIGNAL( clicked() ), dialog, SLOT(slotNo()));
-// QObject::connect( dialog, SIGNAL( noClicked() ), dialog, SLOT(slotNo()));
+ TQObject::connect( dialog->actionButton( KDialogBase::Yes ), TQT_SIGNAL( clicked() ), dialog, TQT_SLOT(slotYes()));
+ TQObject::connect( dialog->actionButton( KDialogBase::No ), TQT_SIGNAL( clicked() ), dialog, TQT_SLOT(slotNo()));
+// TQObject::connect( dialog, TQT_SIGNAL( noClicked() ), dialog, TQT_SLOT(slotNo()));
bool checkboxResult = false;
- int result = KMessageBox::createKMessageBox(dialog, type, text, QStringList(),
- QString::null, &checkboxResult, options);
+ int result = KMessageBox::createKMessageBox(dialog, type, text, TQStringList(),
+ TQString::null, &checkboxResult, options);
switch (result) {
case KDialogBase::Yes: result = KMessageBox::Yes; break;
case KDialogBase::No: result = KMessageBox::No; break;