diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-15 23:18:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-15 23:18:29 +0000 |
commit | 2f78efe39ad3b13a65a26e70ca369acd6ff23f17 (patch) | |
tree | d8e38ec390b31336070283d8392fcdadc49062db /kbruch/src/mainqtwidget.cpp | |
parent | c2df35e6d042ed22c3b2babdc96817210742cb4b (diff) | |
download | tdeedu-2f78efe39ad3b13a65a26e70ca369acd6ff23f17.tar.gz tdeedu-2f78efe39ad3b13a65a26e70ca369acd6ff23f17.zip |
Rename kdeedu MainTQtWidget to MainQtWidget
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236938 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbruch/src/mainqtwidget.cpp')
-rw-r--r-- | kbruch/src/mainqtwidget.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kbruch/src/mainqtwidget.cpp b/kbruch/src/mainqtwidget.cpp index 7212f56a..f7a19005 100644 --- a/kbruch/src/mainqtwidget.cpp +++ b/kbruch/src/mainqtwidget.cpp @@ -46,10 +46,10 @@ /* ------ public member functions ------ */ -MainTQtWidget::MainTQtWidget() +MainQtWidget::MainQtWidget() { #ifdef DEBUG - kdDebug() << "constructor MainTQtWidget" << endl; + kdDebug() << "constructor MainQtWidget" << endl; #endif // get the settings @@ -116,14 +116,14 @@ MainTQtWidget::MainTQtWidget() slotAboutToShowPage(m_exercises->pageWidget(m_exercises->activePageIndex())); } -MainTQtWidget::~MainTQtWidget() +MainQtWidget::~MainQtWidget() { } /* ------ private member functions ------ */ -void MainTQtWidget::readOptions() +void MainQtWidget::readOptions() { m_addSub = SettingsClass::addsub(); m_mulDiv = SettingsClass::muldiv(); @@ -138,7 +138,7 @@ void MainTQtWidget::readOptions() } } -void MainTQtWidget::writeOptions() +void MainQtWidget::writeOptions() { SettingsClass::setActiveExercise(m_exercises->activePageIndex()); @@ -151,7 +151,7 @@ void MainTQtWidget::writeOptions() SettingsClass::writeConfig(); } -void MainTQtWidget::setupActions() +void MainQtWidget::setupActions() { // new task action m_NewTaskAction = new KAction(i18n("&New"), "filenew", KStdAccel::shortcut(KStdAccel::New), @@ -252,10 +252,10 @@ void MainTQtWidget::setupActions() /* ------ private slots ------ */ -void MainTQtWidget::NewTask() +void MainQtWidget::NewTask() { #ifdef DEBUG - kdDebug() << "NewTask MainTQtWidget" << endl; + kdDebug() << "NewTask MainQtWidget" << endl; kdDebug() << "pageIndex(m_taskview): " << m_exercises->pageIndex(m_taskview) << endl; kdDebug() << "pageIndex(m_exerciseCompare): " << m_exercises->pageIndex(m_exerciseCompare) << endl; kdDebug() << "pageIndex(m_exerciseConvert): " << m_exercises->pageIndex(m_exerciseConvert) << endl; @@ -307,10 +307,10 @@ void MainTQtWidget::NewTask() return; } -void MainTQtWidget::NrOfTermsBoxSlot() +void MainQtWidget::NrOfTermsBoxSlot() { #ifdef DEBUG - kdDebug() << "MainTQtWidget::NrOfTermsBoxSlot()" << endl; + kdDebug() << "MainQtWidget::NrOfTermsBoxSlot()" << endl; #endif TQString curr_nr = m_NrOfTermsBox->currentText(); m_MaxMainDenominatorBox->clear(); @@ -363,10 +363,10 @@ void MainTQtWidget::NrOfTermsBoxSlot() (void) m_taskview->setTaskParameters(m_addSub, m_mulDiv, m_nrRatios, m_maxMainDenominator); } -void MainTQtWidget::MaxMainDenominatorBoxSlot() +void MainQtWidget::MaxMainDenominatorBoxSlot() { #ifdef DEBUG - kdDebug() << "MainTQtWidget::MaxMainDenominatorBoxSlot()" << endl; + kdDebug() << "MainQtWidget::MaxMainDenominatorBoxSlot()" << endl; #endif // get the max. size from the ComboBox, convert it to a number and store @@ -378,10 +378,10 @@ void MainTQtWidget::MaxMainDenominatorBoxSlot() (void) m_taskview->setTaskParameters(m_addSub, m_mulDiv, m_nrRatios, m_maxMainDenominator); } -void MainTQtWidget::OperationBoxSlot() +void MainQtWidget::OperationBoxSlot() { #ifdef DEBUG - kdDebug() << "MainTQtWidget::OperationBoxSlot()" << endl; + kdDebug() << "MainQtWidget::OperationBoxSlot()" << endl; #endif int index = m_OperationBox->currentItem(); // get selected item @@ -413,7 +413,7 @@ void MainTQtWidget::OperationBoxSlot() (void) m_taskview->setTaskParameters(m_addSub, m_mulDiv, m_nrRatios, m_maxMainDenominator); } -void MainTQtWidget::slotPrefs() +void MainQtWidget::slotPrefs() { // do not show dialog twice if (KConfigDialog::showDialog("settings")) @@ -444,7 +444,7 @@ void MainTQtWidget::slotPrefs() return; } -void MainTQtWidget::slotApplySettings() +void MainQtWidget::slotApplySettings() { // update the task view m_taskview->update(); @@ -455,10 +455,10 @@ void MainTQtWidget::slotApplySettings() return; } -void MainTQtWidget::slotAboutToShowPage(TQWidget * page) +void MainQtWidget::slotAboutToShowPage(TQWidget * page) { #ifdef DEBUG - kdDebug() << "slotAboutToShowPage MainTQtWidget" << endl; + kdDebug() << "slotAboutToShowPage MainQtWidget" << endl; kdDebug() << "pageIndex(m_taskview): " << m_exercises->pageIndex(m_taskview) << endl; kdDebug() << "pageIndex(m_exerciseCompare): " << m_exercises->pageIndex(m_exerciseCompare) << endl; kdDebug() << "pageIndex(m_exerciseConvert): " << m_exercises->pageIndex(m_exerciseConvert) << endl; @@ -480,7 +480,7 @@ void MainTQtWidget::slotAboutToShowPage(TQWidget * page) return; } -bool MainTQtWidget::queryExit() +bool MainQtWidget::queryExit() { writeOptions(); return true; |