diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /korganizer/komessagebox.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/komessagebox.cpp')
-rw-r--r-- | korganizer/komessagebox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/komessagebox.cpp b/korganizer/komessagebox.cpp index 1874fe202..dbc1e8afd 100644 --- a/korganizer/komessagebox.cpp +++ b/korganizer/komessagebox.cpp @@ -18,8 +18,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include <kmessagebox.h> @@ -28,12 +28,12 @@ #include "komessagebox.h" -int KOMessageBox::fourBtnMsgBox( TQWidget *parent, TQMessageBox::Icon type, +int KOMessageBox::fourBtnMsgBox( TQWidget *tqparent, TQMessageBox::Icon type, const TQString &text, const TQString &caption, const KGuiItem &button1, const KGuiItem &button2, const KGuiItem &button3, int options) { - KDialogBase *dialog= new KDialogBase( parent, "KOMessageBox", true, + KDialogBase *dialog= new KDialogBase( tqparent, "KOMessageBox", true, caption.isEmpty() ? "" : caption, KDialogBase::Yes | KDialogBase::No | KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Yes, @@ -48,7 +48,7 @@ int KOMessageBox::fourBtnMsgBox( TQWidget *parent, TQMessageBox::Icon type, bool checkboxResult = false; int result = KMessageBox::createKMessageBox(dialog, type, text, TQStringList(), - TQString::null, &checkboxResult, options); + TQString(), &checkboxResult, options); switch (result) { case KDialogBase::Yes: result = KMessageBox::Yes; break; case KDialogBase::No: result = KMessageBox::No; break; |