diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:03:30 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:03:30 -0600 |
commit | bdde494bd053ceca36163e9a03d74ec0734ad6ee (patch) | |
tree | fa85b1d565e6fa5ab9a4753d6af5afa9481e3c6d /src/mainwindow.cpp | |
parent | c9113d74fbb7e1e6b063915a0f6ac4a8a080b631 (diff) | |
download | abakus-bdde494bd053ceca36163e9a03d74ec0734ad6ee.tar.gz abakus-bdde494bd053ceca36163e9a03d74ec0734ad6ee.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b05980f..64ca2ff 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -54,13 +54,13 @@ MainWindow::MainWindow() : KMainWindow(0, "abakus-mainwindow"), m_popup(0), m_in { m_mainSplitter = new TQSplitter(this); TQWidget *box = new TQWidget(m_mainSplitter); - TQVBoxLayout *tqlayout = new TQVBoxLayout(box); - m_layout = tqlayout; - tqlayout->setSpacing(6); - tqlayout->setMargin(6); + TQVBoxLayout *layout = new TQVBoxLayout(box); + m_layout = layout; + layout->setSpacing(6); + layout->setMargin(6); TQWidget *configBox = new TQWidget(box); - tqlayout->addWidget(configBox); + layout->addWidget(configBox); TQHBoxLayout *configLayout = new TQHBoxLayout(configBox); @@ -90,7 +90,7 @@ MainWindow::MainWindow() : KMainWindow(0, "abakus-mainwindow"), m_popup(0), m_in connect(m_radians, TQT_SIGNAL(clicked()), TQT_SLOT(slotRadians())); m_history = new TQVBox(box); - tqlayout->addWidget(m_history); + layout->addWidget(m_history); m_history->setSpacing(6); m_history->setMargin(0); @@ -103,10 +103,10 @@ MainWindow::MainWindow() : KMainWindow(0, "abakus-mainwindow"), m_popup(0), m_in TQT_SLOT(slotResultSelected(const TQString &))); m_history->setStretchFactor(m_result, 1); - tqlayout->setStretchFactor(m_history, 1); + layout->setStretchFactor(m_history, 1); TQHBox *editBox = new TQHBox(box); - tqlayout->addWidget(editBox); + layout->addWidget(editBox); editBox->setSpacing(6); m_edit = new Editor(editBox); |