diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/komessagebox.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/komessagebox.cpp')
-rw-r--r-- | korganizer/komessagebox.cpp | 16 |
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; |