diff options
Diffstat (limited to 'src/configpluginspage.cpp')
-rwxr-xr-x | src/configpluginspage.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/configpluginspage.cpp b/src/configpluginspage.cpp index 99eb7b1..5502ea6 100755 --- a/src/configpluginspage.cpp +++ b/src/configpluginspage.cpp @@ -26,20 +26,20 @@ #include <klistbox.h> //#include <kurl.h> -ConfigPluginsPage::ConfigPluginsPage( Config* _config, TQWidget* tqparent, const char* name ) - : ConfigPageBase( tqparent, name ) +ConfigPluginsPage::ConfigPluginsPage( Config* _config, TQWidget* parent, const char* name ) + : ConfigPageBase( parent, name ) { config = _config; // create an icon loader object for loading icons KIconLoader* iconLoader = new KIconLoader(); - TQVBoxLayout* box = new TQVBoxLayout( tqparent, 0, 6 ); + TQVBoxLayout* box = new TQVBoxLayout( parent, 0, 6 ); - TQLabel* lPluginsLabel = new TQLabel( i18n("Installed plugins")+":", tqparent, "lPluginsLabel" ); + TQLabel* lPluginsLabel = new TQLabel( i18n("Installed plugins")+":", parent, "lPluginsLabel" ); box->addWidget( lPluginsLabel ); TQHBoxLayout* pluginsBox = new TQHBoxLayout( box ); - lPlugins = new KListBox( tqparent, "lPlugins" ); + lPlugins = new KListBox( parent, "lPlugins" ); pluginsBox->addWidget(lPlugins); connect( lPlugins, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(pluginsSelectionChanged(int)) @@ -47,19 +47,19 @@ ConfigPluginsPage::ConfigPluginsPage( Config* _config, TQWidget* tqparent, const refreshPlugins(); TQVBoxLayout* pluginsRightBox = new TQVBoxLayout( pluginsBox ); - pAddPlugin = new KPushButton( iconLoader->loadIcon("add",KIcon::Small), i18n("Add ..."), tqparent, "pAddPlugin" ); + pAddPlugin = new KPushButton( iconLoader->loadIcon("add",KIcon::Small), i18n("Add ..."), parent, "pAddPlugin" ); pluginsRightBox->addWidget( pAddPlugin ); connect( pAddPlugin, TQT_SIGNAL(clicked()), this, TQT_SLOT(getPlugin()) ); - pRemovePlugin = new KPushButton( iconLoader->loadIcon("remove",KIcon::Small), i18n("Remove"), tqparent, "pRemovePlugin" ); + pRemovePlugin = new KPushButton( iconLoader->loadIcon("remove",KIcon::Small), i18n("Remove"), parent, "pRemovePlugin" ); pRemovePlugin->setEnabled( false ); pluginsRightBox->addWidget( pRemovePlugin ); connect( pRemovePlugin, TQT_SIGNAL(clicked()), this, TQT_SLOT(removePlugin()) ); pluginsRightBox->addStretch(); - pAboutPlugin = new KPushButton( iconLoader->loadIcon("messagebox_info",KIcon::Small), i18n("About"), tqparent, "pAboutPlugin" ); + pAboutPlugin = new KPushButton( iconLoader->loadIcon("messagebox_info",KIcon::Small), i18n("About"), parent, "pAboutPlugin" ); pAboutPlugin->setEnabled( false ); pluginsRightBox->addWidget( pAboutPlugin ); connect( pAboutPlugin, TQT_SIGNAL(clicked()), @@ -68,42 +68,42 @@ ConfigPluginsPage::ConfigPluginsPage( Config* _config, TQWidget* tqparent, const /* NOTE kaligames.de is down box->addSpacing( 5 ); - TQLabel* lOnlinePluginsLabel = new TQLabel( i18n("Available plugins")+":", tqparent, "lOnlinePluginsLabel" ); + TQLabel* lOnlinePluginsLabel = new TQLabel( i18n("Available plugins")+":", parent, "lOnlinePluginsLabel" ); box->addWidget( lOnlinePluginsLabel ); TQHBoxLayout* onlinePluginsBox = new TQHBoxLayout( box ); - lOnlinePlugins = new KListBox( tqparent, "lOnlinePlugins" ); + lOnlinePlugins = new KListBox( parent, "lOnlinePlugins" ); onlinePluginsBox->addWidget( lOnlinePlugins ); connect( lOnlinePlugins, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(onlinePluginsSelectionChanged(int)) ); TQVBoxLayout* onlinePluginsRightBox = new TQVBoxLayout( onlinePluginsBox ); - pRefreshOnlinePlugins = new KPushButton( iconLoader->loadIcon("reload",KIcon::Small), i18n("Refresh"), tqparent, "pRefreshOnlinePlugins" ); + pRefreshOnlinePlugins = new KPushButton( iconLoader->loadIcon("reload",KIcon::Small), i18n("Refresh"), parent, "pRefreshOnlinePlugins" ); TQToolTip::add( pRefreshOnlinePlugins, i18n("Download the latest list of available plugins.") ); onlinePluginsRightBox->addWidget( pRefreshOnlinePlugins ); connect( pRefreshOnlinePlugins, TQT_SIGNAL(clicked()), this, TQT_SLOT(refreshOnlinePlugins()) ); // TODO upgrade button -// pUpgradeOnlinePlugins = new KPushButton( iconLoader->loadIcon("filesave",KIcon::Small), i18n("Upgrade"), tqparent, "pUpgradeOnlinePlugins" ); +// pUpgradeOnlinePlugins = new KPushButton( iconLoader->loadIcon("filesave",KIcon::Small), i18n("Upgrade"), parent, "pUpgradeOnlinePlugins" ); // pUpgradeOnlinePlugins->setEnabled( false ); // TQToolTip::add( pUpgradeOnlinePlugins, i18n("Download all plugins and install them into the soundKonverter directory.") ); // onlinePluginsRightBox->addWidget( pUpgradeOnlinePlugins ); // connect(pInstallAllOnlinePlugins,TQT_SIGNAL(clicked()),this,TQT_SLOT(upgradeOnlinePlugins())); onlinePluginsRightBox->addStretch(); - pInstallOnlinePlugin = new KPushButton( iconLoader->loadIcon("filesave",KIcon::Small), i18n("Install"), tqparent, "pInstallOnlinePlugin" ); + pInstallOnlinePlugin = new KPushButton( iconLoader->loadIcon("filesave",KIcon::Small), i18n("Install"), parent, "pInstallOnlinePlugin" ); pInstallOnlinePlugin->setEnabled( false ); TQToolTip::add( pInstallOnlinePlugin, i18n("Download the selected plugin and install it into the soundKonverter directory.") ); onlinePluginsRightBox->addWidget( pInstallOnlinePlugin ); connect( pInstallOnlinePlugin, TQT_SIGNAL(clicked()), this, TQT_SLOT(getOnlinePlugin()) ); - pAboutOnlinePlugin = new KPushButton( iconLoader->loadIcon("messagebox_info",KIcon::Small), i18n("About"), tqparent, "pAboutOnlinePlugin" ); + pAboutOnlinePlugin = new KPushButton( iconLoader->loadIcon("messagebox_info",KIcon::Small), i18n("About"), parent, "pAboutOnlinePlugin" ); pAboutOnlinePlugin->setEnabled( false ); onlinePluginsRightBox->addWidget( pAboutOnlinePlugin ); connect( pAboutOnlinePlugin, TQT_SIGNAL(clicked()), this, TQT_SLOT(aboutOnlinePlugin()) ); - cCheckOnlinePlugins = new TQCheckBox( i18n("Check for new plugins on every startup"), tqparent, "cCheckOnlinePlugins" ); + cCheckOnlinePlugins = new TQCheckBox( i18n("Check for new plugins on every startup"), parent, "cCheckOnlinePlugins" ); cCheckOnlinePlugins->setChecked( config->data.plugins.checkForUpdates ); box->addWidget( cCheckOnlinePlugins ); connect( cCheckOnlinePlugins, TQT_SIGNAL(toggled(bool)), |