diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d9f35ff..f3adb96 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -353,7 +353,7 @@ int MainWindow::getParenthesesLevel(const TQString &str) void MainWindow::loadConfig() { { - KConfigGroup config(TDEGlobal::config(), "Settings"); + TDEConfigGroup config(TDEGlobal::config(), "Settings"); TQString mode = config.readEntry("Trigonometric mode", "Degrees"); if(mode == "Degrees") { @@ -377,7 +377,7 @@ void MainWindow::loadConfig() } { - KConfigGroup config(TDEGlobal::config(), "Variables"); + TDEConfigGroup config(TDEGlobal::config(), "Variables"); TQStringList list = config.readListEntry("Saved Variables"); for(TQStringList::ConstIterator it = list.begin(); it != list.end(); ++it) { @@ -392,7 +392,7 @@ void MainWindow::loadConfig() } { - KConfigGroup config(TDEGlobal::config(), "GUI"); + TDEConfigGroup config(TDEGlobal::config(), "GUI"); bool showHistory = config.readBoolEntry("ShowHistory", true); action("toggleHistoryList")->setChecked(showHistory); @@ -415,7 +415,7 @@ void MainWindow::loadConfig() } { - KConfigGroup config(TDEGlobal::config(), "Functions"); + TDEConfigGroup config(TDEGlobal::config(), "Functions"); TQStringList fnList = config.readListEntry("FunctionList"); for(TQStringList::ConstIterator it = fnList.begin(); it != fnList.end(); ++it) @@ -428,7 +428,7 @@ void MainWindow::loadConfig() void MainWindow::saveConfig() { { - KConfigGroup config(TDEGlobal::config(), "Settings"); + TDEConfigGroup config(TDEGlobal::config(), "Settings"); config.writeEntry("Trigonometric mode", trigMode() == Abakus::Degrees @@ -440,7 +440,7 @@ void MainWindow::saveConfig() } { - KConfigGroup config(TDEGlobal::config(), "Variables"); + TDEConfigGroup config(TDEGlobal::config(), "Variables"); TQStringList list; TQStringList values = ValueManager::instance()->valueNames(); @@ -462,7 +462,7 @@ void MainWindow::saveConfig() } { - KConfigGroup config(TDEGlobal::config(), "GUI"); + TDEConfigGroup config(TDEGlobal::config(), "GUI"); bool inCompactMode = action("toggleCompactMode")->isChecked(); config.writeEntry("InCompactMode", inCompactMode); @@ -480,7 +480,7 @@ void MainWindow::saveConfig() } { - KConfigGroup config(TDEGlobal::config(), "Functions"); + TDEConfigGroup config(TDEGlobal::config(), "Functions"); FunctionManager *manager = FunctionManager::instance();