diff options
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; |