summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-24 13:17:59 -0600
committerTimothy Pearson <[email protected]>2013-01-24 13:17:59 -0600
commit7dba2f0cd362ac57acdb049156b85d106872ac0e (patch)
tree43d38fd13b2bd9b8265cc581c1fb8d5c72cc2cd2 /src/mainwindow.cpp
parentaf6e6abd16beee8a1712f5464f1e7c79a7cfb179 (diff)
downloadabakus-7dba2f0cd362ac57acdb049156b85d106872ac0e.tar.gz
abakus-7dba2f0cd362ac57acdb049156b85d106872ac0e.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 64ca2ff..d9f35ff 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -353,7 +353,7 @@ int MainWindow::getParenthesesLevel(const TQString &str)
void MainWindow::loadConfig()
{
{
- KConfigGroup config(KGlobal::config(), "Settings");
+ KConfigGroup config(TDEGlobal::config(), "Settings");
TQString mode = config.readEntry("Trigonometric mode", "Degrees");
if(mode == "Degrees") {
@@ -377,7 +377,7 @@ void MainWindow::loadConfig()
}
{
- KConfigGroup config(KGlobal::config(), "Variables");
+ KConfigGroup 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(KGlobal::config(), "GUI");
+ KConfigGroup config(TDEGlobal::config(), "GUI");
bool showHistory = config.readBoolEntry("ShowHistory", true);
action<KToggleAction>("toggleHistoryList")->setChecked(showHistory);
@@ -415,7 +415,7 @@ void MainWindow::loadConfig()
}
{
- KConfigGroup config(KGlobal::config(), "Functions");
+ KConfigGroup 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(KGlobal::config(), "Settings");
+ KConfigGroup config(TDEGlobal::config(), "Settings");
config.writeEntry("Trigonometric mode",
trigMode() == Abakus::Degrees
@@ -440,7 +440,7 @@ void MainWindow::saveConfig()
}
{
- KConfigGroup config(KGlobal::config(), "Variables");
+ KConfigGroup config(TDEGlobal::config(), "Variables");
TQStringList list;
TQStringList values = ValueManager::instance()->valueNames();
@@ -462,7 +462,7 @@ void MainWindow::saveConfig()
}
{
- KConfigGroup config(KGlobal::config(), "GUI");
+ KConfigGroup config(TDEGlobal::config(), "GUI");
bool inCompactMode = action<KToggleAction>("toggleCompactMode")->isChecked();
config.writeEntry("InCompactMode", inCompactMode);
@@ -480,7 +480,7 @@ void MainWindow::saveConfig()
}
{
- KConfigGroup config(KGlobal::config(), "Functions");
+ KConfigGroup config(TDEGlobal::config(), "Functions");
FunctionManager *manager = FunctionManager::instance();