diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 87507feff3710d4f3e251b92e63fe876242312fe (patch) | |
tree | f440898e8dff158c7a08cbeef2535d8bebd90c70 /bibletime/frontend/cmdiarea.cpp | |
parent | f8992044f260b555497fbb4ec937e67928b1225b (diff) | |
download | bibletime-87507feff3710d4f3e251b92e63fe876242312fe.tar.gz bibletime-87507feff3710d4f3e251b92e63fe876242312fe.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/bibletime@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'bibletime/frontend/cmdiarea.cpp')
-rw-r--r-- | bibletime/frontend/cmdiarea.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bibletime/frontend/cmdiarea.cpp b/bibletime/frontend/cmdiarea.cpp index 5f4c164..01b4065 100644 --- a/bibletime/frontend/cmdiarea.cpp +++ b/bibletime/frontend/cmdiarea.cpp @@ -43,7 +43,7 @@ m_appCaption(TQString()) { /** Initializes the view of the MDI area */ void CMDIArea::initView() { - setPaletteBackgroundColor( tqparentWidget()->paletteBackgroundColor() ); //work around a KDE bug (IMHO was in KDE 2.x) + setPaletteBackgroundColor( parentWidget()->paletteBackgroundColor() ); //work around a KDE bug (IMHO was in KDE 2.x) } /** Initilizes the connectiosn to SIGNALS */ @@ -164,7 +164,7 @@ void CMDIArea::myTileHorizontal() { if ((windows.count() == 1) && windows.at(0)) { m_appCaption = windows.at(0)->caption(); - windows.at(0)/*->tqparentWidget()*/->showMaximized(); + windows.at(0)/*->parentWidget()*/->showMaximized(); } else { @@ -179,13 +179,13 @@ void CMDIArea::myTileHorizontal() { int y = 0; for ( int i = 0; i < int(windows.count()); ++i ) { TQWidget *window = windows.at(i); - window->tqparentWidget()->showNormal(); + window->parentWidget()->showNormal(); tqApp->sendPostedEvents( 0, TQEvent::ShowNormal ); - const int preferredHeight = window->minimumHeight() + window->tqparentWidget()->baseSize().height(); + const int preferredHeight = window->minimumHeight() + window->parentWidget()->baseSize().height(); const int actHeight = TQMAX(heightForEach, preferredHeight); - window->tqparentWidget()->setGeometry( 0, y, width(), actHeight ); + window->parentWidget()->setGeometry( 0, y, width(), actHeight ); y += actHeight; } @@ -209,7 +209,7 @@ void CMDIArea::myCascade() { if ((windows.count() == 1) && windows.at(0)) { m_appCaption = windows.at(0)->caption(); - windows.at(0)->tqparentWidget()->showMaximized(); + windows.at(0)->parentWidget()->showMaximized(); } else { const int offsetX = 40; @@ -236,8 +236,8 @@ void CMDIArea::myCascade() { window->setUpdatesEnabled(false); - window->tqparentWidget()->raise(); //make it the on-top-of-window-stack window to make sure they're in the right order - window->tqparentWidget()->setGeometry(x, y, windowWidth, windowHeight); + window->parentWidget()->raise(); //make it the on-top-of-window-stack window to make sure they're in the right order + window->parentWidget()->setGeometry(x, y, windowWidth, windowHeight); x += offsetX; y += offsetY; @@ -246,8 +246,8 @@ void CMDIArea::myCascade() { setUpdatesEnabled(true); - active->tqparentWidget()->setGeometry(x, y, windowWidth, windowHeight); - active->tqparentWidget()->raise(); + active->parentWidget()->setGeometry(x, y, windowWidth, windowHeight); + active->parentWidget()->raise(); active->setActiveWindow(); blockSignals(false); |