summaryrefslogtreecommitdiffstats
path: root/kitchensync/src/pluginpicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync/src/pluginpicker.cpp')
-rw-r--r--kitchensync/src/pluginpicker.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kitchensync/src/pluginpicker.cpp b/kitchensync/src/pluginpicker.cpp
index d8d6c46d5..64b025b62 100644
--- a/kitchensync/src/pluginpicker.cpp
+++ b/kitchensync/src/pluginpicker.cpp
@@ -32,17 +32,17 @@
#include <klocale.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
PluginItem::PluginItem( KWidgetList *list, const QSync::Plugin &plugin )
: KWidgetListItem( list ), mPlugin( plugin )
{
TQString iconName = MemberInfo::pluginIconName( mPlugin.name() );
- TQGridLayout *tqlayout = new TQGridLayout( this, 2, 2, KDialog::marginHint(), KDialog::spacingHint() );
+ TQGridLayout *layout = 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->tqsizeHint() );
+ icon->setFixedSize( icon->sizeHint() );
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 );
- tqlayout->addWidget( icon, 0, 0 );
- tqlayout->addWidget( name, 0, 1 );
- tqlayout->addWidget( description, 1, 1 );
+ layout->addWidget( icon, 0, 0 );
+ layout->addWidget( name, 0, 1 );
+ layout->addWidget( description, 1, 1 );
}
PluginPicker::PluginPicker( TQWidget *parent )
: TQWidget( parent )
{
- TQBoxLayout *tqlayout = new TQVBoxLayout( this );
+ TQBoxLayout *layout = new TQVBoxLayout( this );
mPluginList = new KWidgetList( this );
- tqlayout->addWidget( mPluginList );
+ layout->addWidget( mPluginList );
connect( mPluginList, TQT_SIGNAL( doubleClicked( KWidgetListItem* ) ),
TQT_SIGNAL( selected() ) );