summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/msginputdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /kbugbuster/gui/msginputdialog.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
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
Diffstat (limited to 'kbugbuster/gui/msginputdialog.cpp')
-rw-r--r--kbugbuster/gui/msginputdialog.cpp16
1 files changed, 8 insertions, 8 deletions
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 &quotedMsg,
- 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();