summaryrefslogtreecommitdiffstats
path: root/tdeui/tdemenubar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tdemenubar.cpp')
-rw-r--r--tdeui/tdemenubar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeui/tdemenubar.cpp b/tdeui/tdemenubar.cpp
index e7c901d56..c64e2c188 100644
--- a/tdeui/tdemenubar.cpp
+++ b/tdeui/tdemenubar.cpp
@@ -142,9 +142,9 @@ KMenuBar::KMenuBar(TQWidget *parent, const char *name)
connect( tqApp->desktop(), TQ_SIGNAL( resized( int )), TQ_SLOT( updateFallbackSize()));
- if ( kapp )
+ if ( tdeApp )
// toolbarAppearanceChanged(int) is sent when changing macstyle
- connect( kapp, TQ_SIGNAL(toolbarAppearanceChanged(int)),
+ connect( tdeApp, TQ_SIGNAL(toolbarAppearanceChanged(int)),
this, TQ_SLOT(slotReadConfig()));
slotReadConfig();
@@ -333,10 +333,10 @@ void KMenuBar::selectionTimeout()
int screen = xineramaConfig.readNumEntry("MenubarScreen",
TQApplication::desktop()->screenNumber(TQPoint(0,0)) );
TQRect area;
- if (kapp->desktop()->numScreens() < 2)
- area = kapp->desktop()->geometry();
+ if (tdeApp->desktop()->numScreens() < 2)
+ area = tdeApp->desktop()->geometry();
else
- area = kapp->desktop()->screenGeometry(screen);
+ area = tdeApp->desktop()->screenGeometry(screen);
int margin = 0;
move(area.left() - margin, area.top() - margin);
setFixedSize(area.width() + 2* margin , heightForWidth( area.width() + 2 * margin ) );