summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/cwbugdetailscontainer.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/cwbugdetailscontainer.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/cwbugdetailscontainer.cpp')
-rw-r--r--kbugbuster/gui/cwbugdetailscontainer.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kbugbuster/gui/cwbugdetailscontainer.cpp b/kbugbuster/gui/cwbugdetailscontainer.cpp
index 7b57ec1b..89611ca0 100644
--- a/kbugbuster/gui/cwbugdetailscontainer.cpp
+++ b/kbugbuster/gui/cwbugdetailscontainer.cpp
@@ -36,8 +36,8 @@
using namespace KBugBusterMainWindow;
-CWBugDetailsContainer::CWBugDetailsContainer( TQWidget *parent , const char * name )
-: CWBugDetailsContainer_Base( parent, name )
+CWBugDetailsContainer::CWBugDetailsContainer( TQWidget *tqparent , const char * name )
+: CWBugDetailsContainer_Base( tqparent, name )
{
// Do some stuff Designer can't do:
m_bugCloseBtn->setIconSet( BarIconSet( "edittrash" ) );
@@ -121,17 +121,17 @@ void CWBugDetailsContainer::setBug( const Bug &bug, const BugDetails &details )
list.truncate( list.length()-2 ); //Strip off the last ", "
labelText = i18n("bug #number [Merged with: a list of bugs] (severity): title","Bug #%1 [Merged with: %2] (%3): %4")
- .arg( bug.number() )
- .arg( list )
- .arg( bug.severityAsString() )
- .arg( bug.title() );
+ .tqarg( bug.number() )
+ .tqarg( list )
+ .tqarg( bug.severityAsString() )
+ .tqarg( bug.title() );
}
else
{
labelText = i18n("bug #number (severity): title","Bug #%1 (%2): %3")
- .arg( bug.number() ).arg( bug.severityAsString() )
- .arg( bug.title() );
+ .tqarg( bug.number() ).tqarg( bug.severityAsString() )
+ .tqarg( bug.title() );
}
m_bugLabel->setText( KStringHandler::tagURLs( labelText ) );
@@ -158,7 +158,7 @@ void CWBugDetailsContainer::showCommands( const Bug& bug )
if (!first)
cmdText += " | "; // separator in case of multiple commands
first = false;
- cmdText += TQString("<b>%1</b>").arg( cmd->name() );
+ cmdText += TQString("<b>%1</b>").tqarg( cmd->name() );
if (!cmdDetails.isEmpty())
cmdDetails += " | "; // separator in case of multiple commands
cmdDetails += cmd->details();
@@ -212,7 +212,7 @@ void CWBugDetailsContainer::setLoading( const Bug &bug )
showCommands( bug );
m_bugLoading->setText(i18n( "Retrieving Details for Bug %1\n\n(%2)" )
- .arg( bug.number() ).arg( bug.title() ) );
+ .tqarg( bug.number() ).tqarg( bug.title() ) );
m_bugStack->raiseWidget( 1 );
}
@@ -224,11 +224,11 @@ void CWBugDetailsContainer::setCacheMiss( const Bug &bug )
TQString msg;
if( BugSystem::self()->disconnected() )
msg = i18n( "Bug #%1 (%2) is not available offline." ).
- arg( bug.number() ).arg( bug.title() );
+ tqarg( bug.number() ).tqarg( bug.title() );
else
msg = i18n( "Retrieving details for bug #%1\n"
"(%2)" ).
- arg( bug.number() ).arg( bug.title() );
+ tqarg( bug.number() ).tqarg( bug.title() );
m_bugLoading->setText( msg );
m_bugStack->raiseWidget( 1 );
}