summaryrefslogtreecommitdiffstats
path: root/quanta/src/quanta_init.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:24:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:24:43 -0600
commitb0f531735b0175ba112ceb87d01731a7b2334772 (patch)
tree373f53c0f57c1f6c5a866781241be07edaf4840c /quanta/src/quanta_init.cpp
parent84c989c19db5daab602a67f47ca0f5fd7a2b53d2 (diff)
downloadtdewebdev-b0f531735b0175ba112ceb87d01731a7b2334772.tar.gz
tdewebdev-b0f531735b0175ba112ceb87d01731a7b2334772.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'quanta/src/quanta_init.cpp')
-rw-r--r--quanta/src/quanta_init.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp
index 4595a7f4..9a582e79 100644
--- a/quanta/src/quanta_init.cpp
+++ b/quanta/src/quanta_init.cpp
@@ -191,13 +191,13 @@ void QuantaInit::initQuanta()
m_quanta->m_problemsOutputView = addToolTreeView(m_quanta->m_problemOutput, i18n("Problems"), SmallIcon("info"), KDockWidget::DockBottom);
m_quanta->m_annotationOutputView = addToolTreeView(m_quanta->m_annotationOutput, i18n("Annotations"), SmallIcon("stamp"), KDockWidget::DockBottom);
- // Restore the dock tqlayout
+ // Restore the dock layout
m_config->setGroup ("General Options");
- TQString tqlayout = m_config->readEntry("Window tqlayout", "Default");
+ TQString layout = m_config->readEntry("Window layout", "Default");
int mdiMode = m_config->readNumEntry("MDI mode", -1);
- if (mdiMode != -1 && tqlayout != "Default")
+ if (mdiMode != -1 && layout != "Default")
{
- m_quanta->readDockConfig(m_config); //FIXME: This causes the visible widget construction on startup, but is needed to restore the window tqlayout...
+ m_quanta->readDockConfig(m_config); //FIXME: This causes the visible widget construction on startup, but is needed to restore the window layout...
if (mdiMode != KMdi::IDEAlMode)
m_quanta->setToolviewStyle(qConfig.toolviewTabs);
}
@@ -301,7 +301,7 @@ void QuantaInit::initQuanta()
continue;
int length = s.find(";)") - begin + 1;
TQString s2 = s.mid(begin, length - 1);
- replacementMap[s[0].tqunicode()] = s2;
+ replacementMap[s[0].unicode()] = s2;
}
file.close();
}