summaryrefslogtreecommitdiffstats
path: root/kpager/kpager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpager/kpager.cpp')
-rw-r--r--kpager/kpager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpager/kpager.cpp b/kpager/kpager.cpp
index b8ecf9ddf..57a960bb7 100644
--- a/kpager/kpager.cpp
+++ b/kpager/kpager.cpp
@@ -50,8 +50,8 @@
#include <kconfig.h>
#include <kdebug.h>
#include <klocale.h>
-#include <kwin.h>
-#include <kwinmodule.h>
+#include <twin.h>
+#include <twinmodule.h>
#include <netwm.h>
#include "desktop.h"
#include <tqpopupmenu.h>
@@ -495,7 +495,7 @@ void KPager::slotDesktopNamesChanged()
for ( int i=1; i <= (int) m_desktops.count(); ++i)
{
TQToolTip::remove(m_desktops[i-1]);
- TQToolTip::add(m_desktops[i-1], kwin()->desktopName(i));
+ TQToolTip::add(m_desktops[i-1], twin()->desktopName(i));
}
update();
@@ -530,7 +530,7 @@ void KPager::slotNumberOfDesktopsChanged(int ndesktops)
for (unsigned int d=m_desktops.count()+1;d<=nDesktops; d++)
{
- Desktop *dsk=new Desktop(d,kwin()->desktopName(d-1),this);
+ Desktop *dsk=new Desktop(d,twin()->desktopName(d-1),this);
m_desktops.append(dsk);
dsk->show();
}