diff options
Diffstat (limited to 'src/options.cpp')
-rw-r--r-- | src/options.cpp | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/src/options.cpp b/src/options.cpp index d9aede2..133fc21 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -22,8 +22,8 @@ Options::Options( Config* _config, const TQString &text, TQWidget *parent, const : TQWidget( parent, name ) { config = _config; - connect( config, TQT_SIGNAL(configChanged()), - this, TQT_SLOT(configChanged()) + connect( config, TQ_SIGNAL(configChanged()), + this, TQ_SLOT(configChanged()) ); TQGridLayout *gridLayout = new TQGridLayout( this, 1, 1 ); @@ -34,72 +34,72 @@ Options::Options( Config* _config, const TQString &text, TQWidget *parent, const optionsSimple = new OptionsSimple( config, optionsDetailed, text, this, "optionsSimple" ); tab->addTab( optionsSimple, i18n("Simple") ); - connect( optionsSimple, TQT_SIGNAL(optionsChanged()), - this, TQT_SLOT(somethingChanged()) + connect( optionsSimple, TQ_SIGNAL(optionsChanged()), + this, TQ_SLOT(somethingChanged()) ); tab->addTab( optionsDetailed, i18n("Detailed") ); - connect( optionsDetailed, TQT_SIGNAL(optionsChanged()), - this, TQT_SLOT(somethingChanged()) + connect( optionsDetailed, TQ_SIGNAL(optionsChanged()), + this, TQ_SLOT(somethingChanged()) ); -// connect( optionsSimple, TQT_SIGNAL(setFormat(const TQString&)), -// optionsDetailed, TQT_SLOT(setFormat(const TQString&)) +// connect( optionsSimple, TQ_SIGNAL(setFormat(const TQString&)), +// optionsDetailed, TQ_SLOT(setFormat(const TQString&)) // ); -// connect( optionsSimple, TQT_SIGNAL(setQualityMode(const TQString&)), -// optionsDetailed, TQT_SLOT(setQualityMode(const TQString&)) +// connect( optionsSimple, TQ_SIGNAL(setQualityMode(const TQString&)), +// optionsDetailed, TQ_SLOT(setQualityMode(const TQString&)) // ); -// connect( optionsSimple, TQT_SIGNAL(setQuality(int)), -// optionsDetailed, TQT_SLOT(setQuality(int)) +// connect( optionsSimple, TQ_SIGNAL(setQuality(int)), +// optionsDetailed, TQ_SLOT(setQuality(int)) // ); -// connect( optionsSimple, TQT_SIGNAL(setBitrateMode(const TQString&)), -// optionsDetailed, TQT_SLOT(setBitrateMode(const TQString&)) +// connect( optionsSimple, TQ_SIGNAL(setBitrateMode(const TQString&)), +// optionsDetailed, TQ_SLOT(setBitrateMode(const TQString&)) // ); -// connect( optionsSimple, TQT_SIGNAL(setBitrateRangeEnabled(bool)), -// optionsDetailed, TQT_SLOT(setBitrateRangeEnabled(bool)) +// connect( optionsSimple, TQ_SIGNAL(setBitrateRangeEnabled(bool)), +// optionsDetailed, TQ_SLOT(setBitrateRangeEnabled(bool)) // ); -// connect( optionsSimple, TQT_SIGNAL(setMinBitrate(int)), -// optionsDetailed, TQT_SLOT(setMinBitrate(int)) +// connect( optionsSimple, TQ_SIGNAL(setMinBitrate(int)), +// optionsDetailed, TQ_SLOT(setMinBitrate(int)) // ); -// connect( optionsSimple, TQT_SIGNAL(setMaxBitrate(int)), -// optionsDetailed, TQT_SLOT(setMaxBitrate(int)) +// connect( optionsSimple, TQ_SIGNAL(setMaxBitrate(int)), +// optionsDetailed, TQ_SLOT(setMaxBitrate(int)) // ); -// connect( optionsSimple, TQT_SIGNAL(setSamplingrateEnabled(bool)), -// optionsDetailed, TQT_SLOT(setSamplingrateEnabled(bool)) +// connect( optionsSimple, TQ_SIGNAL(setSamplingrateEnabled(bool)), +// optionsDetailed, TQ_SLOT(setSamplingrateEnabled(bool)) // ); -// connect( optionsSimple, TQT_SIGNAL(setSamplingrate(int)), -// optionsDetailed, TQT_SLOT(setSamplingrate(int)) +// connect( optionsSimple, TQ_SIGNAL(setSamplingrate(int)), +// optionsDetailed, TQ_SLOT(setSamplingrate(int)) // ); -// connect( optionsSimple, TQT_SIGNAL(setSamplingrate(const TQString&)), -// optionsDetailed, TQT_SLOT(setSamplingrate(const TQString&)) +// connect( optionsSimple, TQ_SIGNAL(setSamplingrate(const TQString&)), +// optionsDetailed, TQ_SLOT(setSamplingrate(const TQString&)) // ); -// connect( optionsSimple, TQT_SIGNAL(setChannelsEnabled(bool)), -// optionsDetailed, TQT_SLOT(setChannelsEnabled(bool)) +// connect( optionsSimple, TQ_SIGNAL(setChannelsEnabled(bool)), +// optionsDetailed, TQ_SLOT(setChannelsEnabled(bool)) // ); -// connect( optionsSimple, TQT_SIGNAL(setChannels(const TQString&)), -// optionsDetailed, TQT_SLOT(setChannels(const TQString&)) +// connect( optionsSimple, TQ_SIGNAL(setChannels(const TQString&)), +// optionsDetailed, TQ_SLOT(setChannels(const TQString&)) // ); -// connect( optionsSimple, TQT_SIGNAL(setReplayGainEnabled(bool)), -// optionsDetailed, TQT_SLOT(setReplayGainEnabled(bool)) +// connect( optionsSimple, TQ_SIGNAL(setReplayGainEnabled(bool)), +// optionsDetailed, TQ_SLOT(setReplayGainEnabled(bool)) // ); -// connect( optionsSimple, TQT_SIGNAL(setOutputDirectoryMode(OutputDirectory::Mode)), -// optionsDetailed, TQT_SLOT(setOutputDirectoryMode(OutputDirectory::Mode)) +// connect( optionsSimple, TQ_SIGNAL(setOutputDirectoryMode(OutputDirectory::Mode)), +// optionsDetailed, TQ_SLOT(setOutputDirectoryMode(OutputDirectory::Mode)) // ); -// connect( optionsSimple, TQT_SIGNAL(setOutputDirectoryPath(const TQString&)), -// optionsDetailed, TQT_SLOT(setOutputDirectoryPath(const TQString&)) +// connect( optionsSimple, TQ_SIGNAL(setOutputDirectoryPath(const TQString&)), +// optionsDetailed, TQ_SLOT(setOutputDirectoryPath(const TQString&)) // ); -// connect( optionsSimple, TQT_SIGNAL(setOptions(const ConversionOptions&)), -// optionsDetailed, TQT_SLOT(setCurrentOptions(const ConversionOptions&)) +// connect( optionsSimple, TQ_SIGNAL(setOptions(const ConversionOptions&)), +// optionsDetailed, TQ_SLOT(setCurrentOptions(const ConversionOptions&)) // ); -// connect( optionsSimple, TQT_SIGNAL(setUserOptions(const TQString&)), -// optionsDetailed, TQT_SLOT(setUserOptions(const TQString&)) +// connect( optionsSimple, TQ_SIGNAL(setUserOptions(const TQString&)), +// optionsDetailed, TQ_SLOT(setUserOptions(const TQString&)) // ); if( config->data.general.startTab == 0 ) tab->setCurrentPage( config->data.general.lastTab ); else tab->setCurrentPage( config->data.general.startTab - 1 ); gridLayout->addWidget( tab, 0, 0 ); - connect( tab, TQT_SIGNAL( currentChanged(TQWidget*) ), - this, TQT_SLOT( tabChanged(TQWidget*) ) + connect( tab, TQ_SIGNAL( currentChanged(TQWidget*) ), + this, TQ_SLOT( tabChanged(TQWidget*) ) ); // draw the toggle button @@ -118,8 +118,8 @@ Options::Options( Config* _config, const TQString &text, TQWidget *parent, const // pPluginsNotify->hide(); // pPluginsNotify->setPaletteBackgroundColor( TQColor(255,220,247) ); // optionsBox->addWidget( pPluginsNotify ); -// connect( pPluginsNotify, TQT_SIGNAL(clicked()), -// this, TQT_SLOT(showConfigDialogPlugins()) +// connect( pPluginsNotify, TQ_SIGNAL(clicked()), +// this, TQ_SLOT(showConfigDialogPlugins()) // ); pBackendsNotify = new KPushButton( "", this, "pBackendsNotify"); @@ -129,24 +129,24 @@ Options::Options( Config* _config, const TQString &text, TQWidget *parent, const config->backendsChanged = false; pBackendsNotify->setPaletteBackgroundColor( TQColor(255,220,247) ); optionsBox->addWidget( pBackendsNotify ); - connect( pBackendsNotify, TQT_SIGNAL(clicked()), - this, TQT_SLOT(showConfigDialogBackends()) + connect( pBackendsNotify, TQ_SIGNAL(clicked()), + this, TQ_SLOT(showConfigDialogBackends()) ); pAdvancedOptionsToggle = new KPushButton( i18n("Advanced Options"), this, "pAdvancedOptionsToggle"); pAdvancedOptionsToggle->setToggleButton( true ); pAdvancedOptionsToggle->hide(); optionsBox->addWidget( pAdvancedOptionsToggle ); - connect( pAdvancedOptionsToggle, TQT_SIGNAL(clicked()), - optionsDetailed, TQT_SLOT(toggleAdvancedOptions()) + connect( pAdvancedOptionsToggle, TQ_SIGNAL(clicked()), + optionsDetailed, TQ_SLOT(toggleAdvancedOptions()) ); /* NOTE kaligames.de is down if( config->data.plugins.checkForUpdates ) { config->onlinePluginsChanged = false; getPluginListJob = TDEIO::file_copy("http://kaligames.de/downloads/soundkonverter/plugins/download.php?version=" + TQString::number(config->data.app.configVersion), locateLocal("data","soundkonverter/pluginlist_new.txt"), -1, true, false, false ); - connect( getPluginListJob, TQT_SIGNAL(result(TDEIO::Job*)), - this, TQT_SLOT(getPluginListFinished(TDEIO::Job*)) + connect( getPluginListJob, TQ_SIGNAL(result(TDEIO::Job*)), + this, TQ_SLOT(getPluginListFinished(TDEIO::Job*)) ); } */ |