summaryrefslogtreecommitdiffstats
path: root/libkdepim/kcmdesignerfields.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /libkdepim/kcmdesignerfields.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/kcmdesignerfields.cpp')
-rw-r--r--libkdepim/kcmdesignerfields.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkdepim/kcmdesignerfields.cpp b/libkdepim/kcmdesignerfields.cpp
index 330d8b84b..159356934 100644
--- a/libkdepim/kcmdesignerfields.cpp
+++ b/libkdepim/kcmdesignerfields.cpp
@@ -261,7 +261,7 @@ void KCMDesignerFields::defaults()
void KCMDesignerFields::initGUI()
{
- TQVBoxLayout *layout = new TQVBoxLayout( this, KDialog::marginHint(),
+ TQVBoxLayout *tqlayout = new TQVBoxLayout( this, KDialog::marginHint(),
KDialog::spacingHint() );
bool noDesigner = KStandardDirs::findExe("designer").isEmpty();
@@ -272,10 +272,10 @@ void KCMDesignerFields::initGUI()
i18n("<qt><b>Warning:</b> Qt Designer could not be found. It is probably not "
"installed. You will only be able to import existing designer files.</qt>");
TQLabel *lbl = new TQLabel( txt, this );
- layout->addWidget( lbl );
+ tqlayout->addWidget( lbl );
}
- TQHBoxLayout *hbox = new TQHBoxLayout( layout, KDialog::spacingHint() );
+ TQHBoxLayout *hbox = new TQHBoxLayout( tqlayout, KDialog::spacingHint() );
mPageView = new KListView( this );
mPageView->addColumn( i18n( "Available Pages" ) );
@@ -295,7 +295,7 @@ void KCMDesignerFields::initGUI()
loadUiFiles();
- hbox = new TQHBoxLayout( layout, KDialog::spacingHint() );
+ hbox = new TQHBoxLayout( tqlayout, KDialog::spacingHint() );
TQString cwHowto = i18n("<qt><p>This section allows you to add your own GUI"
" Elements ('<i>Widgets</i>') to store your own values"
@@ -323,7 +323,7 @@ void KCMDesignerFields::initGUI()
hbox->addWidget( activeLabel );
// ### why is this needed? Looks like a KActiveLabel bug...
- activeLabel->setSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Maximum );
+ activeLabel->tqsetSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Maximum );
hbox->addStretch( 1 );
@@ -361,7 +361,7 @@ void KCMDesignerFields::updatePreview( TQListViewItem *item )
"<tr><td align=\"right\"><b>%7</b></td><td>%8</td></tr>"
"</table></qt>" )
.arg( i18n( "Key:" ) )
- .arg( item->text( 0 ).replace("X_","X-") )
+ .arg( item->text( 0 ).tqreplace("X_","X-") )
.arg( i18n( "Type:" ) )
.arg( item->text( 1 ) )
.arg( i18n( "Classname:" ) )