diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:24:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:24:43 -0600 |
commit | b0f531735b0175ba112ceb87d01731a7b2334772 (patch) | |
tree | 373f53c0f57c1f6c5a866781241be07edaf4840c /quanta/src/kqapp.cpp | |
parent | 84c989c19db5daab602a67f47ca0f5fd7a2b53d2 (diff) | |
download | tdewebdev-b0f531735b0175ba112ceb87d01731a7b2334772.tar.gz tdewebdev-b0f531735b0175ba112ceb87d01731a7b2334772.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'quanta/src/kqapp.cpp')
-rw-r--r-- | quanta/src/kqapp.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/src/kqapp.cpp b/quanta/src/kqapp.cpp index 212bc68f..b39b0c46 100644 --- a/quanta/src/kqapp.cpp +++ b/quanta/src/kqapp.cpp @@ -80,12 +80,12 @@ KQApplication::KQApplication() KConfig *config = kapp->config(); config->setGroup("General Options"); int mdiMode = config->readNumEntry("MDI mode", KMdi::IDEAlMode); - TQString tqlayout = config->readEntry("Window tqlayout", "Default"); - if (tqlayout == "Default" || args->isSet("resettqlayout")) + TQString layout = config->readEntry("Window layout", "Default"); + if (layout == "Default" || args->isSet("resetlayout")) { mdiMode = KMdi::IDEAlMode; config->writeEntry("MDI mode", KMdi::IDEAlMode); - config->writeEntry("Window tqlayout", "Default"); + config->writeEntry("Window layout", "Default"); } quantaApp = new QuantaApp(mdiMode); config->setGroup("General Options"); @@ -151,11 +151,11 @@ int KQUniqueApplication::newInstance() KConfig *config = kapp->config(); config->setGroup("General Options"); int mdiMode = config->readNumEntry("MDI mode", KMdi::IDEAlMode); - TQString tqlayout = config->readEntry("Window tqlayout", "Default"); - if (tqlayout == "Default" || args->isSet("resettqlayout")) + TQString layout = config->readEntry("Window layout", "Default"); + if (layout == "Default" || args->isSet("resetlayout")) { mdiMode = KMdi::IDEAlMode; - config->writeEntry("Window tqlayout", "Default"); + config->writeEntry("Window layout", "Default"); config->writeEntry("MDI mode", KMdi::IDEAlMode); } quantaApp = new QuantaApp(mdiMode); |