From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmpluginsettings.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kpovmodeler/pmpluginsettings.cpp') diff --git a/kpovmodeler/pmpluginsettings.cpp b/kpovmodeler/pmpluginsettings.cpp index 6b6611f2..0a635845 100644 --- a/kpovmodeler/pmpluginsettings.cpp +++ b/kpovmodeler/pmpluginsettings.cpp @@ -19,17 +19,17 @@ #include "pmpluginmanager.h" -#include -#include -#include -#include +#include +#include +#include +#include #include class PMPluginListViewItem : public QListViewItem { public: - PMPluginListViewItem( QListView* parent, PMPluginInfo* info ) - : QListViewItem( parent, info->name( ), info->description( ) ) + PMPluginListViewItem( TQListView* parent, PMPluginInfo* info ) + : TQListViewItem( parent, info->name( ), info->description( ) ) { m_info = info; m_enabled = info->enabled( ); @@ -51,29 +51,29 @@ public: bool m_enabled; }; -PMPluginSettings::PMPluginSettings( QWidget* parent, const char* name ) +PMPluginSettings::PMPluginSettings( TQWidget* parent, const char* name ) : PMSettingsDialogPage( parent, name ) { - QVBoxLayout* vlayout = new QVBoxLayout( this, 0, KDialog::spacingHint( ) ); + TQVBoxLayout* vlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint( ) ); - QGroupBox* gb = new QGroupBox( i18n( "Installed Plugins" ), this ); + TQGroupBox* gb = new TQGroupBox( i18n( "Installed Plugins" ), this ); vlayout->addWidget( gb ); - QVBoxLayout* gvl = new QVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); + TQVBoxLayout* gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); gvl->addSpacing( 10 ); - m_pPluginsList = new QListView( gb ); - connect( m_pPluginsList, SIGNAL( selectionChanged( ) ), - SLOT( slotSelectionChanged( ) ) ); + m_pPluginsList = new TQListView( gb ); + connect( m_pPluginsList, TQT_SIGNAL( selectionChanged( ) ), + TQT_SLOT( slotSelectionChanged( ) ) ); m_pPluginsList->addColumn( i18n( "Name" ) ); m_pPluginsList->addColumn( i18n( "Description" ) ); m_pPluginsList->addColumn( i18n( "Status" ) ); gvl->addWidget( m_pPluginsList, 1 ); - QHBoxLayout* hl = new QHBoxLayout( gvl ); - m_pToggle = new QPushButton( i18n( "Load" ), gb ); + TQHBoxLayout* hl = new TQHBoxLayout( gvl ); + m_pToggle = new TQPushButton( i18n( "Load" ), gb ); m_pToggle->setEnabled( false ); - connect( m_pToggle, SIGNAL( clicked( ) ), SLOT( slotToggle( ) ) ); + connect( m_pToggle, TQT_SIGNAL( clicked( ) ), TQT_SLOT( slotToggle( ) ) ); hl->addWidget( m_pToggle ); hl->addStretch( 1 ); @@ -82,8 +82,8 @@ PMPluginSettings::PMPluginSettings( QWidget* parent, const char* name ) void PMPluginSettings::displaySettings( ) { - QPtrList plugins = PMPluginManager::theManager( )->plugins( ); - QPtrListIterator it( plugins ); + TQPtrList plugins = PMPluginManager::theManager( )->plugins( ); + TQPtrListIterator it( plugins ); m_pPluginsList->clear( ); for( ; *it; ++it ) -- cgit v1.2.1