diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 15:29:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 15:39:34 +0900 |
commit | 51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3 (patch) | |
tree | 289d1261319b7c151c0f11c7917c057aa754026a /kcontrol/konsole/sessioneditor.cpp | |
parent | fa284a459858f2255c485240121f7cd1cc7d17a0 (diff) | |
download | tdebase-51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3.tar.gz tdebase-51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3.zip |
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/konsole/sessioneditor.cpp')
-rw-r--r-- | kcontrol/konsole/sessioneditor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kcontrol/konsole/sessioneditor.cpp b/kcontrol/konsole/sessioneditor.cpp index 2132a01c3..15e47d657 100644 --- a/kcontrol/konsole/sessioneditor.cpp +++ b/kcontrol/konsole/sessioneditor.cpp @@ -167,7 +167,7 @@ void SessionEditor::loadAllSession(TQString currentFile) TQString name = (*it); - KSimpleConfig* co = new KSimpleConfig(name,true); + TDESimpleConfig* co = new TDESimpleConfig(name,true); co->setDesktopGroup(); TQString sesname = co->readEntry("Name",i18n("Unnamed")); delete co; @@ -187,7 +187,7 @@ void SessionEditor::readSession(int num) { int i,counter; TQString str; - KSimpleConfig* co; + TDESimpleConfig* co; if(sesMod) { disconnect(sessionList, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(readSession(int))); @@ -201,7 +201,7 @@ void SessionEditor::readSession(int num) if( sessionList->item(num) ) { removeButton->setEnabled( TQFileInfo ( ((SessionListBoxText *)sessionList->item(num))->filename() ).isWritable () ); - co = new KSimpleConfig( ((SessionListBoxText *)sessionList->item(num))->filename(),true); + co = new TDESimpleConfig( ((SessionListBoxText *)sessionList->item(num))->filename(),true); co->setDesktopGroup(); str = co->readEntry("Name"); @@ -328,7 +328,7 @@ void SessionEditor::saveCurrent() if (fullpath[0] != '/') fullpath = TDEGlobal::dirs()->saveLocation("data", "konsole/") + fullpath; - KSimpleConfig* co = new KSimpleConfig(fullpath); + TDESimpleConfig* co = new TDESimpleConfig(fullpath); co->setDesktopGroup(); co->writeEntry("Type","KonsoleApplication"); co->writeEntry("Name",nameLine->text()); |