diff options
Diffstat (limited to 'kitchensync/src/pluginpicker.cpp')
-rw-r--r-- | kitchensync/src/pluginpicker.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kitchensync/src/pluginpicker.cpp b/kitchensync/src/pluginpicker.cpp index 5fe4b5e81..d981599bd 100644 --- a/kitchensync/src/pluginpicker.cpp +++ b/kitchensync/src/pluginpicker.cpp @@ -31,23 +31,23 @@ #include <kiconloader.h> #include <klocale.h> -#include <qlabel.h> -#include <qlayout.h> +#include <tqlabel.h> +#include <tqlayout.h> PluginItem::PluginItem( KWidgetList *list, const QSync::Plugin &plugin ) : KWidgetListItem( list ), mPlugin( plugin ) { - QString iconName = MemberInfo::pluginIconName( mPlugin.name() ); - QGridLayout *layout = new QGridLayout( this, 2, 2, KDialog::marginHint(), KDialog::spacingHint() ); + TQString iconName = MemberInfo::pluginIconName( mPlugin.name() ); + TQGridLayout *layout = new TQGridLayout( this, 2, 2, KDialog::marginHint(), KDialog::spacingHint() ); - QLabel *icon = new QLabel( this ); + TQLabel *icon = new TQLabel( this ); icon->setPixmap( KGlobal::iconLoader()->loadIcon( iconName, KIcon::Desktop ) ); icon->setFixedSize( icon->sizeHint() ); - QLabel *name = new QLabel( plugin.longName(), this ); - QLabel *description = new QLabel( plugin.description(), this ); + TQLabel *name = new TQLabel( plugin.longName(), this ); + TQLabel *description = new TQLabel( plugin.description(), this ); - QFont font = name->font(); + TQFont font = name->font(); font.setBold( true ); name->setFont( font ); @@ -57,16 +57,16 @@ PluginItem::PluginItem( KWidgetList *list, const QSync::Plugin &plugin ) } -PluginPicker::PluginPicker( QWidget *parent ) - : QWidget( parent ) +PluginPicker::PluginPicker( TQWidget *parent ) + : TQWidget( parent ) { - QBoxLayout *layout = new QVBoxLayout( this ); + TQBoxLayout *layout = new TQVBoxLayout( this ); mPluginList = new KWidgetList( this ); layout->addWidget( mPluginList ); - connect( mPluginList, SIGNAL( doubleClicked( KWidgetListItem* ) ), - SIGNAL( selected() ) ); + connect( mPluginList, TQT_SIGNAL( doubleClicked( KWidgetListItem* ) ), + TQT_SIGNAL( selected() ) ); updatePluginList(); @@ -94,19 +94,19 @@ QSync::Plugin PluginPicker::selectedPlugin() const } -PluginPickerDialog::PluginPickerDialog( QWidget *parent ) +PluginPickerDialog::PluginPickerDialog( TQWidget *parent ) : KDialogBase( parent, 0, true, i18n("Select Member Type"), Ok | Cancel ) { - QFrame *topFrame = makeMainWidget(); + TQFrame *topFrame = makeMainWidget(); - QBoxLayout *topLayout = new QVBoxLayout( topFrame ); + TQBoxLayout *topLayout = new TQVBoxLayout( topFrame ); mPicker = new PluginPicker( topFrame ); topLayout->addWidget( mPicker ); - connect( mPicker, SIGNAL( selected() ), SLOT( slotOk() ) ); + connect( mPicker, TQT_SIGNAL( selected() ), TQT_SLOT( slotOk() ) ); - setInitialSize( QSize( 460, 380 ) ); + setInitialSize( TQSize( 460, 380 ) ); } QSync::Plugin PluginPickerDialog::selectedPlugin() const @@ -114,7 +114,7 @@ QSync::Plugin PluginPickerDialog::selectedPlugin() const return mPicker->selectedPlugin(); } -QSync::Plugin PluginPickerDialog::getPlugin( QWidget *parent ) +QSync::Plugin PluginPickerDialog::getPlugin( TQWidget *parent ) { PluginPickerDialog dlg( parent ); if ( dlg.exec() ) |