summaryrefslogtreecommitdiffstats
path: root/tdeui/kkeybutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/kkeybutton.cpp')
-rw-r--r--tdeui/kkeybutton.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tdeui/kkeybutton.cpp b/tdeui/kkeybutton.cpp
index 9b530b751..260cba34b 100644
--- a/tdeui/kkeybutton.cpp
+++ b/tdeui/kkeybutton.cpp
@@ -26,11 +26,11 @@
#include <tqpainter.h>
#include <tdeapplication.h>
#include <kdebug.h>
-#include <kglobalaccel.h>
+#include <tdeglobalaccel.h>
#include <tdelocale.h>
#include "config.h"
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
#define XK_XKB_KEYS
#define XK_MISCELLANY
#include <X11/Xlib.h> // For x11Event()
@@ -46,7 +46,7 @@ const int XKeyRelease = KeyRelease;
#undef FocusOut
#undef FocusIn
#endif // KeyPress
-#endif // Q_WS_X11
+#endif // TQ_WS_X11
//static const char* psTemp[] = {
// I18N_NOOP("Primary"), I18N_NOOP("Alternate"), I18N_NOOP("Multi-Key")
@@ -69,9 +69,9 @@ KKeyButton::KKeyButton(TQWidget *parent, const char *name)
: TQPushButton( parent, name )
{
d = new KKeyButtonPrivate;
- setFocusPolicy( TQ_StrongFocus );
+ setFocusPolicy( TQWidget::StrongFocus );
m_bEditing = false;
- connect( this, TQT_SIGNAL(clicked()), this, TQT_SLOT(captureShortcut()) );
+ connect( this, TQ_SIGNAL(clicked()), this, TQ_SLOT(captureShortcut()) );
setShortcut( TDEShortcut(), true );
}