summaryrefslogtreecommitdiffstats
path: root/klipper/klipperpopup.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 21:03:36 +0900
committerMichele Calgaro <[email protected]>2023-11-14 12:59:42 +0900
commita49b0e2c531c81e420dc103b5130e2fa8643f46d (patch)
tree42ee6213b300c2366208f6c122bee39845b5a89c /klipper/klipperpopup.cpp
parent36eda89f538b610db9dbda129d7c8e81089caf1a (diff)
downloadtdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.tar.gz
tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
Diffstat (limited to 'klipper/klipperpopup.cpp')
-rw-r--r--klipper/klipperpopup.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/klipper/klipperpopup.cpp b/klipper/klipperpopup.cpp
index 5b43fb8f5..9d3ab728d 100644
--- a/klipper/klipperpopup.cpp
+++ b/klipper/klipperpopup.cpp
@@ -45,16 +45,16 @@ namespace {
#ifdef DEBUG_EVENTS__
kdbgstream& operator<<( kdbgstream& stream, const TQKeyEvent& e ) {
stream << "(TQKeyEvent(text=" << e.text() << ",key=" << e.key() << ( e.isAccepted()?",accepted":",ignored)" ) << ",count=" << e.count();
- if ( e.state() & Qt::AltButton ) {
+ if ( e.state() & TQt::AltButton ) {
stream << ",ALT";
}
- if ( e.state() & Qt::ControlButton ) {
+ if ( e.state() & TQt::ControlButton ) {
stream << ",CTRL";
}
- if ( e.state() & Qt::MetaButton ) {
+ if ( e.state() & TQt::MetaButton ) {
stream << ",META";
}
- if ( e.state() & Qt::ShiftButton ) {
+ if ( e.state() & TQt::ShiftButton ) {
stream << ",SHIFT";
}
if ( e.isAutoRepeat() ) {
@@ -249,15 +249,15 @@ void KlipperPopup::keyPressEvent( TQKeyEvent* e ) {
// widget, except a few used for navigation:
// These go to the superobject.
switch( e->key() ) {
- case Qt::Key_Up:
- case Qt::Key_Down:
- case Qt::Key_Right:
- case Qt::Key_Left:
- case Qt::Key_Tab:
- case Qt::Key_Backtab:
- case Qt::Key_Escape:
- case Qt::Key_Return:
- case Qt::Key_Enter:
+ case TQt::Key_Up:
+ case TQt::Key_Down:
+ case TQt::Key_Right:
+ case TQt::Key_Left:
+ case TQt::Key_Tab:
+ case TQt::Key_Backtab:
+ case TQt::Key_Escape:
+ case TQt::Key_Return:
+ case TQt::Key_Enter:
{
#ifdef DEBUG_EVENTS__
kdDebug() << "Passing this event to ancestor (TDEPopupMenu): " << e << endl;