From bdde494bd053ceca36163e9a03d74ec0734ad6ee Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:03:30 -0600 Subject: Rename obsolete tq methods to standard names --- src/mainwindow.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/mainwindow.cpp') 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); -- cgit v1.2.1