diff options
Diffstat (limited to 'kitchensync/src/pluginpicker.cpp')
-rw-r--r-- | kitchensync/src/pluginpicker.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kitchensync/src/pluginpicker.cpp b/kitchensync/src/pluginpicker.cpp index 64b025b62..d8d6c46d5 100644 --- a/kitchensync/src/pluginpicker.cpp +++ b/kitchensync/src/pluginpicker.cpp @@ -32,17 +32,17 @@ #include <klocale.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> 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() ) ); |