summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/pluginpicker.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 /kitchensync/src/pluginpicker.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 'kitchensync/src/pluginpicker.cpp')
-rw-r--r--kitchensync/src/pluginpicker.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kitchensync/src/pluginpicker.cpp b/kitchensync/src/pluginpicker.cpp
index d981599bd..d8d6c46d5 100644
--- a/kitchensync/src/pluginpicker.cpp
+++ b/kitchensync/src/pluginpicker.cpp
@@ -38,11 +38,11 @@ PluginItem::PluginItem( KWidgetList *list, const QSync::Plugin &plugin )
: KWidgetListItem( list ), mPlugin( plugin )
{
TQString iconName = MemberInfo::pluginIconName( mPlugin.name() );
- TQGridLayout *layout = new TQGridLayout( this, 2, 2, KDialog::marginHint(), KDialog::spacingHint() );
+ TQGridLayout *tqlayout = new TQGridLayout( this, 2, 2, KDialog::marginHint(), KDialog::spacingHint() );
TQLabel *icon = new TQLabel( this );
icon->setPixmap( KGlobal::iconLoader()->loadIcon( iconName, KIcon::Desktop ) );
- icon->setFixedSize( icon->sizeHint() );
+ icon->setFixedSize( icon->tqsizeHint() );
TQLabel *name = new TQLabel( plugin.longName(), this );
TQLabel *description = new TQLabel( plugin.description(), this );
@@ -51,19 +51,19 @@ PluginItem::PluginItem( KWidgetList *list, const QSync::Plugin &plugin )
font.setBold( true );
name->setFont( font );
- layout->addWidget( icon, 0, 0 );
- layout->addWidget( name, 0, 1 );
- layout->addWidget( description, 1, 1 );
+ tqlayout->addWidget( icon, 0, 0 );
+ tqlayout->addWidget( name, 0, 1 );
+ tqlayout->addWidget( description, 1, 1 );
}
PluginPicker::PluginPicker( TQWidget *parent )
: TQWidget( parent )
{
- TQBoxLayout *layout = new TQVBoxLayout( this );
+ TQBoxLayout *tqlayout = new TQVBoxLayout( this );
mPluginList = new KWidgetList( this );
- layout->addWidget( mPluginList );
+ tqlayout->addWidget( mPluginList );
connect( mPluginList, TQT_SIGNAL( doubleClicked( KWidgetListItem* ) ),
TQT_SIGNAL( selected() ) );