diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:09:18 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:09:18 -0600 |
commit | 0880fe83db61f8121261753f6eef4d7e0fd78a4c (patch) | |
tree | b08e13f5358c0788545820b389aa73055a5fe922 /src/configpluginspage.cpp | |
parent | 2dec1ab21eff318618d755b0557a33a1d10af649 (diff) | |
download | soundkonverter-0880fe83db61f8121261753f6eef4d7e0fd78a4c.tar.gz soundkonverter-0880fe83db61f8121261753f6eef4d7e0fd78a4c.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/configpluginspage.cpp')
-rwxr-xr-x | src/configpluginspage.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/configpluginspage.cpp b/src/configpluginspage.cpp index e3cc232..d8c7f64 100755 --- a/src/configpluginspage.cpp +++ b/src/configpluginspage.cpp @@ -32,7 +32,7 @@ ConfigPluginsPage::ConfigPluginsPage( Config* _config, TQWidget* parent, const c config = _config; // create an icon loader object for loading icons - KIconLoader* iconLoader = new KIconLoader(); + TDEIconLoader* iconLoader = new TDEIconLoader(); TQVBoxLayout* box = new TQVBoxLayout( parent, 0, 6 ); @@ -47,19 +47,19 @@ ConfigPluginsPage::ConfigPluginsPage( Config* _config, TQWidget* parent, const c refreshPlugins(); TQVBoxLayout* pluginsRightBox = new TQVBoxLayout( pluginsBox ); - pAddPlugin = new KPushButton( iconLoader->loadIcon("add",KIcon::Small), i18n("Add ..."), parent, "pAddPlugin" ); + pAddPlugin = new KPushButton( iconLoader->loadIcon("add",TDEIcon::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"), parent, "pRemovePlugin" ); + pRemovePlugin = new KPushButton( iconLoader->loadIcon("remove",TDEIcon::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"), parent, "pAboutPlugin" ); + pAboutPlugin = new KPushButton( iconLoader->loadIcon("messagebox_info",TDEIcon::Small), i18n("About"), parent, "pAboutPlugin" ); pAboutPlugin->setEnabled( false ); pluginsRightBox->addWidget( pAboutPlugin ); connect( pAboutPlugin, TQT_SIGNAL(clicked()), @@ -77,27 +77,27 @@ ConfigPluginsPage::ConfigPluginsPage( Config* _config, TQWidget* parent, const c this, TQT_SLOT(onlinePluginsSelectionChanged(int)) ); TQVBoxLayout* onlinePluginsRightBox = new TQVBoxLayout( onlinePluginsBox ); - pRefreshOnlinePlugins = new KPushButton( iconLoader->loadIcon("reload",KIcon::Small), i18n("Refresh"), parent, "pRefreshOnlinePlugins" ); + pRefreshOnlinePlugins = new KPushButton( iconLoader->loadIcon("reload",TDEIcon::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"), parent, "pUpgradeOnlinePlugins" ); +// pUpgradeOnlinePlugins = new KPushButton( iconLoader->loadIcon("filesave",TDEIcon::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"), parent, "pInstallOnlinePlugin" ); + pInstallOnlinePlugin = new KPushButton( iconLoader->loadIcon("filesave",TDEIcon::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"), parent, "pAboutOnlinePlugin" ); + pAboutOnlinePlugin = new KPushButton( iconLoader->loadIcon("messagebox_info",TDEIcon::Small), i18n("About"), parent, "pAboutOnlinePlugin" ); pAboutOnlinePlugin->setEnabled( false ); onlinePluginsRightBox->addWidget( pAboutOnlinePlugin ); connect( pAboutOnlinePlugin, TQT_SIGNAL(clicked()), |