diff options
Diffstat (limited to 'bibletime/bibletime_init.cpp')
-rw-r--r-- | bibletime/bibletime_init.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/bibletime/bibletime_init.cpp b/bibletime/bibletime_init.cpp index b01b9cd..8611cd6 100644 --- a/bibletime/bibletime_init.cpp +++ b/bibletime/bibletime_init.cpp @@ -42,7 +42,7 @@ #include <tqsplitter.h> #include <tqguardedptr.h> #include <tqlistview.h> -#include <tqlayout.h> +#include <layout.h> #include <tqlabel.h> #include <tqvbox.h> @@ -580,7 +580,7 @@ void BibleTime::applyProfileSettings( CProfile* p ) { Q_ASSERT(p); if (!p) return; - if (m_initialized) { //on startup KDE sets the main tqgeometry + if (m_initialized) { //on startup KDE sets the main geometry //see polish(), where m_initialized is set and the KDE methods are called for window resize //first Main Window state @@ -588,9 +588,9 @@ void BibleTime::applyProfileSettings( CProfile* p ) { toggleFullscreen(); //either showFullscreen or showNormal if (p->maximized()) KMainWindow::showMaximized(); //if maximized, then also call showMaximized - //Then Main Window tqgeometry - KMainWindow::resize( p->tqgeometry().size() ); //Don't use KMainWindowInterface::resize - KMainWindow::move( p->tqgeometry().topLeft() );//Don't use KMainWindowInterface::move + //Then Main Window geometry + KMainWindow::resize( p->geometry().size() ); //Don't use KMainWindowInterface::resize + KMainWindow::move( p->geometry().topLeft() );//Don't use KMainWindowInterface::move } } @@ -602,8 +602,8 @@ void BibleTime::storeProfileSettings( CProfile* p ) { p->setFullscreen( m_windowFullscreen_action->isChecked() ); p->setMaximized( this->KMainWindow::isMaximized() ); - TQRect tqgeometry; - tqgeometry.setTopLeft(pos()); - tqgeometry.setSize(size()); - p->setGeometry(tqgeometry); + TQRect geometry; + geometry.setTopLeft(pos()); + geometry.setSize(size()); + p->setGeometry(geometry); } |