summaryrefslogtreecommitdiffstats
path: root/krdc/keycapturedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krdc/keycapturedialog.cpp')
-rw-r--r--krdc/keycapturedialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/krdc/keycapturedialog.cpp b/krdc/keycapturedialog.cpp
index 39a68304..47f93455 100644
--- a/krdc/keycapturedialog.cpp
+++ b/krdc/keycapturedialog.cpp
@@ -24,8 +24,8 @@
#include "keycapturedialog.h"
#include "keycapturewidget.h"
-#include <qlabel.h>
-#include <qlayout.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
#include <klocale.h>
@@ -46,11 +46,11 @@ const int XKeyRelease = KeyRelease;
#endif
-KeyCaptureDialog::KeyCaptureDialog(QWidget *parent, const char *name)
+KeyCaptureDialog::KeyCaptureDialog(TQWidget *parent, const char *name)
: KDialogBase(parent, name, true, i18n( "Enter Key Combination" ),
Cancel, Cancel, true), m_grabbed(false) {
- QFrame *main = makeMainWidget();
- QVBoxLayout *layout = new QVBoxLayout( main, 0, KDialog::spacingHint() );
+ TQFrame *main = makeMainWidget();
+ TQVBoxLayout *layout = new TQVBoxLayout( main, 0, KDialog::spacingHint() );
m_captureWidget = new KeyCaptureWidget( main, "m_captureWidget" );
layout->addWidget( m_captureWidget );
layout->addStretch();
@@ -86,7 +86,7 @@ bool KeyCaptureDialog::x11Event(XEvent *pEvent)
default:
break;
}
- return QWidget::x11Event( pEvent );
+ return TQWidget::x11Event( pEvent );
}
void KeyCaptureDialog::x11EventKeyPress( XEvent *pEvent )
@@ -129,7 +129,7 @@ void KeyCaptureDialog::x11EventKeyPress( XEvent *pEvent )
else
keyModX = pEvent->xkey.state & ~keyModX;
- QString keyModStr;
+ TQString keyModStr;
if( keyModX & KKeyNative::modX(KKey::WIN) ) keyModStr += KKey::modFlagLabel(KKey::WIN) + "+";
if( keyModX & KKeyNative::modX(KKey::ALT) ) keyModStr += KKey::modFlagLabel(KKey::ALT) + "+";
if( keyModX & KKeyNative::modX(KKey::CTRL) ) keyModStr += KKey::modFlagLabel(KKey::CTRL) + "+";