summaryrefslogtreecommitdiffstats
path: root/src/gvcore/fullscreenbar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:45 -0600
commit2b7143e0539396c75306f6e78bf0a5641ed1acfc (patch)
treedb4ea3490b6703f775f11931c6e7c22f943816bd /src/gvcore/fullscreenbar.cpp
parentff1cff2a1e9b7860d4d3779cf20bf79afbe52470 (diff)
downloadgwenview-2b7143e0539396c75306f6e78bf0a5641ed1acfc.tar.gz
gwenview-2b7143e0539396c75306f6e78bf0a5641ed1acfc.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/gvcore/fullscreenbar.cpp')
-rw-r--r--src/gvcore/fullscreenbar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gvcore/fullscreenbar.cpp b/src/gvcore/fullscreenbar.cpp
index 311b98d..d288429 100644
--- a/src/gvcore/fullscreenbar.cpp
+++ b/src/gvcore/fullscreenbar.cpp
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// TQt
#include <tqbitmap.h>
#include <tqevent.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpainter.h>
#include <tqtimer.h>
@@ -83,8 +83,8 @@ FullScreenBar::FullScreenBar(TQWidget* parent)
setIconSize(FULLSCREEN_ICON_SIZE);
setMovingEnabled(false);
- TQColor bg=tqcolorGroup().highlight();
- TQColor fg=tqcolorGroup().highlightedText();
+ TQColor bg=colorGroup().highlight();
+ TQColor fg=colorGroup().highlightedText();
TQPalette pal(palette());
pal.setColor(TQColorGroup::Background, bg);
pal.setColor(TQColorGroup::Foreground, fg);
@@ -123,7 +123,7 @@ void FullScreenBar::showEvent(TQShowEvent* event) {
if (!d->mFirstShow) return;
d->mFirstShow=false;
move(0, -height());
- tqlayout()->setResizeMode(TQLayout::Fixed);
+ layout()->setResizeMode(TQLayout::Fixed);
}