diff options
Diffstat (limited to 'src/configenvironmentpage.cpp')
-rwxr-xr-x | src/configenvironmentpage.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/configenvironmentpage.cpp b/src/configenvironmentpage.cpp index ebe7487..3c4b776 100755 --- a/src/configenvironmentpage.cpp +++ b/src/configenvironmentpage.cpp @@ -18,8 +18,8 @@ #include <tqmap.h> -ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, TQString>* _binaries, TQWidget *tqparent, const char *name ) - : ConfigPageBase( tqparent, name ) +ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, TQString>* _binaries, TQWidget *parent, const char *name ) + : ConfigPageBase( parent, name ) { config = _config; binaries = _binaries; @@ -27,16 +27,16 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T // 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* lDirectoriesLabel = new TQLabel( i18n("Directories to be scanned")+":", tqparent, "lDirectoriesLabel" ); + TQLabel* lDirectoriesLabel = new TQLabel( i18n("Directories to be scanned")+":", parent, "lDirectoriesLabel" ); box->addWidget( lDirectoriesLabel ); -// KEditListBox* eDirectories = new KEditListBox( tqparent, "eDirectories" ); +// KEditListBox* eDirectories = new KEditListBox( parent, "eDirectories" ); // box->addWidget( eDirectories ); TQHBoxLayout* directoriesBox = new TQHBoxLayout( box ); - lDirectories = new KListBox( tqparent, "lDirectories" ); + lDirectories = new KListBox( parent, "lDirectories" ); lDirectories->insertStringList( config->data.environment.directories ); directoriesBox->addWidget( lDirectories ); connect( lDirectories, TQT_SIGNAL(highlighted(int)), @@ -44,7 +44,7 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T ); TQVBoxLayout* directoriesMiddleBox = new TQVBoxLayout( directoriesBox ); - pDirUp = new KPushButton( "", tqparent, "pDirUp" ); + pDirUp = new KPushButton( "", parent, "pDirUp" ); pDirUp->setPixmap( iconLoader->loadIcon("up",KIcon::Toolbar) ); 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.") ); @@ -54,7 +54,7 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T ); directoriesMiddleBox->addStretch(); - pDirDown = new KPushButton( "", tqparent, "pDirDown" ); + pDirDown = new KPushButton( "", parent, "pDirDown" ); pDirDown->setPixmap( iconLoader->loadIcon("down",KIcon::Toolbar) ); 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.") ); @@ -64,13 +64,13 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T ); TQVBoxLayout* directoriesRightBox = new TQVBoxLayout( directoriesBox ); - pAddDirectory = new KPushButton( iconLoader->loadIcon("add",KIcon::Small), i18n("Add ..."), tqparent, "pAddDirectory" ); + pAddDirectory = new KPushButton( iconLoader->loadIcon("add",KIcon::Small), i18n("Add ..."), parent, "pAddDirectory" ); directoriesRightBox->addWidget( pAddDirectory ); connect( pAddDirectory, TQT_SIGNAL(clicked()), this, TQT_SLOT(addDirectory()) ); - pRemoveDirectory = new KPushButton( iconLoader->loadIcon("remove",KIcon::Small), i18n("Remove"), tqparent, "pRemoveDirectory" ); + pRemoveDirectory = new KPushButton( iconLoader->loadIcon("remove",KIcon::Small), i18n("Remove"), parent, "pRemoveDirectory" ); directoriesRightBox->addWidget( pRemoveDirectory ); pRemoveDirectory->setEnabled( false ); connect( pRemoveDirectory, TQT_SIGNAL(clicked()), @@ -84,18 +84,18 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T TQHBoxLayout* programsBox = new TQHBoxLayout( box ); TQVBoxLayout* foundProgramsBox = new TQVBoxLayout( programsBox ); - TQLabel* lFoundProgramsLabel = new TQLabel( i18n("Programs found")+":", tqparent, "lFoundProgramsLabel" ); + TQLabel* lFoundProgramsLabel = new TQLabel( i18n("Programs found")+":", parent, "lFoundProgramsLabel" ); foundProgramsBox->addWidget( lFoundProgramsLabel ); - lFoundPrograms = new KListBox( tqparent, "lFoundPrograms" ); + lFoundPrograms = new KListBox( parent, "lFoundPrograms" ); lFoundPrograms->setSelectionMode( TQListBox::NoSelection ); foundProgramsBox->addWidget( lFoundPrograms ); //connect(lPrograms,TQT_SIGNAL(highlighted(int)),this,TQT_SLOT(programsSelectionChanged(int))); programsBox->setStretchFactor( foundProgramsBox, 3 ); TQVBoxLayout* notFoundProgramsBox = new TQVBoxLayout( programsBox ); - TQLabel* lNotFoundProgramsLabel = new TQLabel( i18n("Programs not found")+":", tqparent, "lNotFoundProgramsLabel" ); + TQLabel* lNotFoundProgramsLabel = new TQLabel( i18n("Programs not found")+":", parent, "lNotFoundProgramsLabel" ); notFoundProgramsBox->addWidget( lNotFoundProgramsLabel ); - lNotFoundPrograms = new KListBox( tqparent, "lNotFoundPrograms" ); + lNotFoundPrograms = new KListBox( parent, "lNotFoundPrograms" ); lNotFoundPrograms->setSelectionMode( TQListBox::NoSelection ); notFoundProgramsBox->addWidget( lNotFoundPrograms ); //connect(lPrograms,TQT_SIGNAL(highlighted(int)),this,TQT_SLOT(programsSelectionChanged(int))); |