diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-02 11:38:18 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-15 10:12:20 +0900 |
commit | 773c73d27492ada253b9e81752bd735ee3dc3ac1 (patch) | |
tree | dc8d0269d4e95c57b29be70c1c2b90545112ef56 /src/configenvironmentpage.cpp | |
parent | 07fbaa743408f4302df7b6889347a4a2deadc4de (diff) | |
download | soundkonverter-773c73d27492ada253b9e81752bd735ee3dc3ac1.tar.gz soundkonverter-773c73d27492ada253b9e81752bd735ee3dc3ac1.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/configenvironmentpage.cpp')
-rw-r--r-- | src/configenvironmentpage.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/configenvironmentpage.cpp b/src/configenvironmentpage.cpp index 11774e6..1e19a85 100644 --- a/src/configenvironmentpage.cpp +++ b/src/configenvironmentpage.cpp @@ -39,8 +39,8 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T lDirectories = new TDEListBox( parent, "lDirectories" ); lDirectories->insertStringList( config->data.environment.directories ); directoriesBox->addWidget( lDirectories ); - connect( lDirectories, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(directoriesSelectionChanged(int)) + connect( lDirectories, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(directoriesSelectionChanged(int)) ); TQVBoxLayout* directoriesMiddleBox = new TQVBoxLayout( directoriesBox ); @@ -49,8 +49,8 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T pDirUp->setEnabled( false ); TQToolTip::add( pDirUp, i18n("Move selected directory one position up.\nThis effects which backend will be chosen, if there are several versions.") ); directoriesMiddleBox->addWidget( pDirUp ); - connect( pDirUp, TQT_SIGNAL(clicked()), - this, TQT_SLOT(dirUp()) + connect( pDirUp, TQ_SIGNAL(clicked()), + this, TQ_SLOT(dirUp()) ); directoriesMiddleBox->addStretch(); @@ -59,22 +59,22 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T pDirDown->setEnabled( false ); TQToolTip::add( pDirDown, i18n("Move selected directory one position down.\nThis effects which backend will be chosen, if there are several versions.") ); directoriesMiddleBox->addWidget( pDirDown ); - connect( pDirDown, TQT_SIGNAL(clicked()), - this, TQT_SLOT(dirDown()) + connect( pDirDown, TQ_SIGNAL(clicked()), + this, TQ_SLOT(dirDown()) ); TQVBoxLayout* directoriesRightBox = new TQVBoxLayout( directoriesBox ); pAddDirectory = new KPushButton( iconLoader->loadIcon("add",TDEIcon::Small), i18n("Add ..."), parent, "pAddDirectory" ); directoriesRightBox->addWidget( pAddDirectory ); - connect( pAddDirectory, TQT_SIGNAL(clicked()), - this, TQT_SLOT(addDirectory()) + connect( pAddDirectory, TQ_SIGNAL(clicked()), + this, TQ_SLOT(addDirectory()) ); pRemoveDirectory = new KPushButton( iconLoader->loadIcon("remove",TDEIcon::Small), i18n("Remove"), parent, "pRemoveDirectory" ); directoriesRightBox->addWidget( pRemoveDirectory ); pRemoveDirectory->setEnabled( false ); - connect( pRemoveDirectory, TQT_SIGNAL(clicked()), - this, TQT_SLOT(removeDirectory()) + connect( pRemoveDirectory, TQ_SIGNAL(clicked()), + this, TQ_SLOT(removeDirectory()) ); directoriesRightBox->addStretch(); @@ -89,7 +89,7 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T lFoundPrograms = new TDEListBox( parent, "lFoundPrograms" ); lFoundPrograms->setSelectionMode( TQListBox::NoSelection ); foundProgramsBox->addWidget( lFoundPrograms ); - //connect(lPrograms,TQT_SIGNAL(highlighted(int)),this,TQT_SLOT(programsSelectionChanged(int))); + //connect(lPrograms,TQ_SIGNAL(highlighted(int)),this,TQ_SLOT(programsSelectionChanged(int))); programsBox->setStretchFactor( foundProgramsBox, 3 ); TQVBoxLayout* notFoundProgramsBox = new TQVBoxLayout( programsBox ); @@ -98,7 +98,7 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T lNotFoundPrograms = new TDEListBox( parent, "lNotFoundPrograms" ); lNotFoundPrograms->setSelectionMode( TQListBox::NoSelection ); notFoundProgramsBox->addWidget( lNotFoundPrograms ); - //connect(lPrograms,TQT_SIGNAL(highlighted(int)),this,TQT_SLOT(programsSelectionChanged(int))); + //connect(lPrograms,TQ_SIGNAL(highlighted(int)),this,TQ_SLOT(programsSelectionChanged(int))); programsBox->setStretchFactor( notFoundProgramsBox, 2 ); for( TQMap<TQString, TQString>::Iterator it = config->binaries.begin(); it != config->binaries.end(); ++it ) { |