diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmpluginsettings.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmpluginsettings.cpp')
-rw-r--r-- | kpovmodeler/pmpluginsettings.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
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 <qlayout.h> -#include <qgroupbox.h> -#include <qlistview.h> -#include <qpushbutton.h> +#include <tqlayout.h> +#include <tqgroupbox.h> +#include <tqlistview.h> +#include <tqpushbutton.h> #include <klocale.h> 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<PMPluginInfo> plugins = PMPluginManager::theManager( )->plugins( ); - QPtrListIterator<PMPluginInfo> it( plugins ); + TQPtrList<PMPluginInfo> plugins = PMPluginManager::theManager( )->plugins( ); + TQPtrListIterator<PMPluginInfo> it( plugins ); m_pPluginsList->clear( ); for( ; *it; ++it ) |