From 99a2774ca6f1cab334de5d43fe36fc44ae889a4c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 12 Jun 2011 01:36:19 +0000 Subject: TQt4 convert kdesdk This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kbugbuster/gui/msginputdialog.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kbugbuster/gui/msginputdialog.cpp') diff --git a/kbugbuster/gui/msginputdialog.cpp b/kbugbuster/gui/msginputdialog.cpp index 8d12cc35..b84e269f 100644 --- a/kbugbuster/gui/msginputdialog.cpp +++ b/kbugbuster/gui/msginputdialog.cpp @@ -20,8 +20,8 @@ MsgInputDialog::MsgInputDialog(MsgInputDialog::MessageType type, const Bug &bug, const Package &package, const TQString "edMsg, - TQWidget *parent) - : KDialogBase(Plain,TQString::null,User1|User2|Ok|Cancel,Ok,parent,0,false, + TQWidget *tqparent) + : KDialogBase(Plain,TQString(),User1|User2|Ok|Cancel,Ok,tqparent,0,false, true,KStdGuiItem::clear(),i18n( "&Edit Presets..." )), mBug( bug ), mPackage( package ), @@ -29,7 +29,7 @@ MsgInputDialog::MsgInputDialog(MsgInputDialog::MessageType type, const Bug &bug, { switch ( mType ) { case Close: - setCaption( i18n("Close Bug %1").arg( mBug.number() ) ); + setCaption( i18n("Close Bug %1").tqarg( mBug.number() ) ); break; case Reply: setCaption( i18n("Reply to Bug") ); @@ -44,30 +44,30 @@ MsgInputDialog::MsgInputDialog(MsgInputDialog::MessageType type, const Bug &bug, TQFrame *topFrame = plainPage(); ( new TQHBoxLayout( topFrame ) )->setAutoAdd( true ); - mSplitter = new TQSplitter( TQSplitter::Horizontal, topFrame ); + mSplitter = new TQSplitter( Qt::Horizontal, topFrame ); TQWidget *w = new TQWidget( mSplitter ); ( new TQVBoxLayout( w, spacingHint(), -1 ) )->setAutoAdd( true ); if ( mType == Reply ) { TQWidget *r = new TQWidget( w ); - TQHBoxLayout* rlayout = new TQHBoxLayout( r ); + TQHBoxLayout* rtqlayout = new TQHBoxLayout( r ); TQLabel *rlabel = new TQLabel( i18n("&Recipient:"),r ); TQFont f = r->font(); f.setBold( true ); r->setFont( f ); - rlayout->add( rlabel ); + rtqlayout->add( rlabel ); mRecipient = new TQComboBox( r ); mRecipient->insertItem( i18n("Normal (bugs.kde.org & Maintainer & kde-bugs-dist)"), BugCommand::Normal ); mRecipient->insertItem( i18n("Maintonly (bugs.kde.org & Maintainer)"), BugCommand::Maintonly ); mRecipient->insertItem( i18n("Quiet (bugs.kde.org only)"), BugCommand::Quiet ); rlabel->setBuddy( mRecipient ); - rlayout->add( mRecipient ); + rtqlayout->add( mRecipient ); TQSpacerItem *rspacer= new TQSpacerItem( 1,1,TQSizePolicy::Expanding ); - rlayout->addItem( rspacer ); + rtqlayout->addItem( rspacer ); // Reply currently only replies to the bug tracking system r->hide(); -- cgit v1.2.1