summaryrefslogtreecommitdiffstats
path: root/src/app/mainwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:03:56 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-05 01:52:57 +0200
commite185d6d8d907ac54714a382bb6c0383e940c092e (patch)
treebd3bd68686ec6d54160961499481417da56be710 /src/app/mainwindow.cpp
parent5c427ffae97715577a3bdcfdfb715320f5c6d1cb (diff)
downloadgwenview-e185d6d8d907ac54714a382bb6c0383e940c092e.tar.gz
gwenview-e185d6d8d907ac54714a382bb6c0383e940c092e.zip
Rename obsolete tq methods to standard names
(cherry picked from commit 04fccf73370ad95a70b8e107240e50f9fdbf98fc)
Diffstat (limited to 'src/app/mainwindow.cpp')
-rw-r--r--src/app/mainwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp
index 156bfad..13a0ca7 100644
--- a/src/app/mainwindow.cpp
+++ b/src/app/mainwindow.cpp
@@ -199,8 +199,8 @@ bool MainWindow::queryClose() {
KConfig* config=KGlobal::config();
- // Don't store dock tqlayout if only the image dock is visible. This avoid
- // saving tqlayout when in "fullscreen" or "image only" mode.
+ // Don't store dock layout if only the image dock is visible. This avoid
+ // saving layout when in "fullscreen" or "image only" mode.
if (mFileViewController->isVisible() || mDirViewController->widget()->isVisible()) {
mDockArea->writeDockConfig(config,CONFIG_DOCK_GROUP);
}
@@ -867,8 +867,8 @@ void MainWindow::createWidgets() {
mDockArea->manager()->setSplitterOpaqueResize(true);
mViewModeWidget=new TQWidget(mCentralStack);
- TQVBoxLayout* tqlayout=new TQVBoxLayout(mViewModeWidget);
- tqlayout->setAutoAdd(true);
+ TQVBoxLayout* layout=new TQVBoxLayout(mViewModeWidget);
+ layout->setAutoAdd(true);
mCentralStack->addWidget(mViewModeWidget);
// Status bar
@@ -923,7 +923,7 @@ void MainWindow::createWidgets() {
setGeometry(20,20,720,520);
// Default dock config
- // (The "magic numbers" were found by adjusting the tqlayout from within the
+ // (The "magic numbers" were found by adjusting the layout from within the
// app and looking at the result in the configuration file)
mFolderDock->manualDock(mFileDock, KDockWidget::DockLeft, 4000);
mImageDock->manualDock(mFolderDock, KDockWidget::DockBottom, 3734);