summaryrefslogtreecommitdiffstats
path: root/korn/keditlistboxman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/keditlistboxman.cpp')
-rw-r--r--korn/keditlistboxman.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/korn/keditlistboxman.cpp b/korn/keditlistboxman.cpp
index cab1d777..cb306672 100644
--- a/korn/keditlistboxman.cpp
+++ b/korn/keditlistboxman.cpp
@@ -24,9 +24,9 @@
#include <tqmap.h>
#include <tqstring.h>
-KEditListBoxManager::KEditListBoxManager( TQWidget *parent, const char *name,
+KEditListBoxManager::KEditListBoxManager( TQWidget *tqparent, const char *name,
bool checkAtEntering, int buttons )
- : KEditListBox( parent, name, checkAtEntering, buttons ),
+ : KEditListBox( tqparent, name, checkAtEntering, buttons ),
_config( 0 ),
_groupName( 0 ),
_subGroupName( 0 ),
@@ -35,10 +35,10 @@ KEditListBoxManager::KEditListBoxManager( TQWidget *parent, const char *name,
init();
}
-KEditListBoxManager::KEditListBoxManager( const TQString& title, TQWidget *parent,
+KEditListBoxManager::KEditListBoxManager( const TQString& title, TQWidget *tqparent,
const char *name, bool checkAtEntering,
int buttons)
- : KEditListBox( title, parent, name, checkAtEntering, buttons ),
+ : KEditListBox( title, tqparent, name, checkAtEntering, buttons ),
_config( 0 ),
_groupName( 0 ),
_subGroupName( 0 ),
@@ -49,9 +49,9 @@ KEditListBoxManager::KEditListBoxManager( const TQString& title, TQWidget *paren
KEditListBoxManager::KEditListBoxManager( const TQString& title,
const KEditListBox::CustomEditor &customEditor,
- TQWidget *parent, const char *name,
+ TQWidget *tqparent, const char *name,
bool checkAtEntering, int buttons )
- : KEditListBox( title, customEditor, parent, name, checkAtEntering, buttons ),
+ : KEditListBox( title, customEditor, tqparent, name, checkAtEntering, buttons ),
_config( 0 ),
_groupName( 0 ),
_subGroupName( 0 ),
@@ -112,7 +112,7 @@ void KEditListBoxManager::readNames()
while( _config->hasGroup( _groupName->arg( number ) ) )
{
_config->setGroup( _groupName->arg( number ) );
- this->insertItem( _config->readEntry( "name", TQString::null ) );
+ this->insertItem( _config->readEntry( "name", TQString() ) );
++number;
}
@@ -140,12 +140,12 @@ void KEditListBoxManager::slotChanged()
_config->setGroup( _groupName->arg( this->currentItem() ) );
- if( this->currentItem() > 0 && this->text( this->currentItem() - 1 ) == _config->readEntry( "name", TQString::null ) )
+ if( this->currentItem() > 0 && this->text( this->currentItem() - 1 ) == _config->readEntry( "name", TQString() ) )
changeItem( this->currentItem() - 1, this->currentItem() ); //moved down
else if( this->currentItem() < this->count() - 1 &&
- this->text( this->currentItem() + 1 ) == _config->readEntry( "name", TQString::null ) )
+ this->text( this->currentItem() + 1 ) == _config->readEntry( "name", TQString() ) )
changeItem( this->currentItem(), this->currentItem() + 1 ); //moved up
- else if( this->currentText() != _config->readEntry( "name", TQString::null ) )
+ else if( this->currentText() != _config->readEntry( "name", TQString() ) )
changedText(); //changed
}
@@ -186,7 +186,7 @@ void KEditListBoxManager::slotRemoved( const TQString& name )
break;
}
_config->setGroup( _groupName->arg( number ) );
- if( name == _config->readEntry( "name", TQString::null ) )
+ if( name == _config->readEntry( "name", TQString() ) )
break; //found
++number; //Try next group