diff options
Diffstat (limited to 'src/electronics')
-rw-r--r-- | src/electronics/subcircuits.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/electronics/subcircuits.cpp b/src/electronics/subcircuits.cpp index fef6752..af459f4 100644 --- a/src/electronics/subcircuits.cpp +++ b/src/electronics/subcircuits.cpp @@ -65,7 +65,7 @@ ECSubcircuit* Subcircuits::createSubcircuit( int id, CircuitDocument *circuitDoc void Subcircuits::loadSubcircuits() { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("Subcircuits"); TQValueList<int> idList = config->readIntListEntry("Ids"); @@ -110,7 +110,7 @@ void Subcircuits::updateComponentSelector( int id, const TQString &name ) void Subcircuits::addSubcircuit( const TQString &name, const TQString &subcircuitXml ) { - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("Subcircuits"); int nextId = config->readNumEntry( "NextId", 0 ); @@ -162,7 +162,7 @@ void Subcircuits::slotItemRemoved( const TQString &id ) TQFile file(fileName); file.remove(); - KConfig *config = kapp->config(); + TDEConfig *config = kapp->config(); config->setGroup("Subcircuits"); TQValueList<int> idList = config->readIntListEntry("Ids"); idList.remove(id_num); |