summaryrefslogtreecommitdiffstats
path: root/tdeui/twindowlistmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/twindowlistmenu.cpp')
-rw-r--r--tdeui/twindowlistmenu.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tdeui/twindowlistmenu.cpp b/tdeui/twindowlistmenu.cpp
index bc2df2f66..5c1f977bb 100644
--- a/tdeui/twindowlistmenu.cpp
+++ b/tdeui/twindowlistmenu.cpp
@@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <tqglobal.h>
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#include "config.h"
#include <tqpainter.h>
@@ -85,9 +85,9 @@ int NameSortedInfoList::compareItems( TQPtrCollection::Item s1, TQPtrCollection:
KWindowListMenu::KWindowListMenu(TQWidget *parent, const char *name)
: TDEPopupMenu(parent, name)
{
- twin_module = new KWinModule(TQT_TQOBJECT(this));
+ twin_module = new KWinModule(this);
- connect(this, TQT_SIGNAL(activated(int)), TQT_SLOT(slotExec(int)));
+ connect(this, TQ_SIGNAL(activated(int)), TQ_SLOT(slotExec(int)));
}
KWindowListMenu::~KWindowListMenu()
@@ -121,15 +121,15 @@ void KWindowListMenu::init()
// Make sure the popup is not too wide, otherwise clicking in the middle of kdesktop
// wouldn't leave any place for the popup, and release would activate some menu entry.
- int maxwidth = kapp->desktop()->screenGeometry( this ).width() / 2 - 100;
+ int maxwidth = tdeApp->desktop()->screenGeometry( this ).width() / 2 - 100;
clear();
map.clear();
int unclutter = insertItem( i18n("Unclutter Windows"),
- this, TQT_SLOT( slotUnclutterWindows() ) );
+ this, TQ_SLOT( slotUnclutterWindows() ) );
int cascade = insertItem( i18n("Cascade Windows"),
- this, TQT_SLOT( slotCascadeWindows() ) );
+ this, TQ_SLOT( slotCascadeWindows() ) );
// if we only have one desktop we won't be showing titles, so put a separator in
if (nd == 1)
@@ -242,16 +242,16 @@ void KWindowListMenu::selectActiveWindow()
void KWindowListMenu::slotUnclutterWindows()
{
- kapp->dcopClient()->send(twinName(), "KWinInterface", "unclutterDesktop()", TQString(""));
+ tdeApp->dcopClient()->send(twinName(), "KWinInterface", "unclutterDesktop()", TQString(""));
}
void KWindowListMenu::slotCascadeWindows()
{
- kapp->dcopClient()->send(twinName(), "KWinInterface", "cascadeDesktop()", TQString(""));
+ tdeApp->dcopClient()->send(twinName(), "KWinInterface", "cascadeDesktop()", TQString(""));
}
void KWindowListMenu::virtual_hook( int id, void* data )
{ TDEPopupMenu::virtual_hook( id, data ); }
-#endif // Q_WS_X11
+#endif // TQ_WS_X11