diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-13 11:10:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-15 10:21:34 +0900 |
commit | 03aa7238b34bb438632b6d572b008e32960f0895 (patch) | |
tree | 11395aba8fd4cb1f52f0a831c61febf61337dab7 /tdeui/kcolordialog.cpp | |
parent | 15d75fb42da10a93a9c371fea8eb0baf281e0d44 (diff) | |
download | tdelibs-03aa7238b34bb438632b6d572b008e32960f0895.tar.gz tdelibs-03aa7238b34bb438632b6d572b008e32960f0895.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeui/kcolordialog.cpp')
-rw-r--r-- | tdeui/kcolordialog.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tdeui/kcolordialog.cpp b/tdeui/kcolordialog.cpp index 4c05522eb..8296c8319 100644 --- a/tdeui/kcolordialog.cpp +++ b/tdeui/kcolordialog.cpp @@ -68,7 +68,7 @@ #include "config.h" #endif -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 #include <X11/Xlib.h> // defined in qapplication_x11.cpp @@ -930,7 +930,7 @@ public: TQCheckBox *cbDefaultColor; KColor defaultColor; KColor selColor; -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 QX11EventFilter oldfilter; #endif }; @@ -944,7 +944,7 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal ) d = new KColorDialogPrivate; d->bRecursion = true; d->bColorPicking = false; -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 d->oldfilter = 0; #endif d->cbDefaultColor = 0L; @@ -1177,7 +1177,7 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal ) KColorDialog::~KColorDialog() { -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 if (d->bColorPicking) tqt_set_x11_event_filter(d->oldfilter); #endif @@ -1486,7 +1486,7 @@ void KColorDialog::showColor( const KColor &color, const TQString &name ) static TQWidget *kde_color_dlg_widget = 0; -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 static int kde_color_dlg_handler(XEvent *event) { if (event->type == ButtonRelease) @@ -1503,7 +1503,7 @@ void KColorDialog::slotColorPicker() { d->bColorPicking = true; -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 d->oldfilter = tqt_set_x11_event_filter(kde_color_dlg_handler); #endif kde_color_dlg_widget = this; @@ -1517,7 +1517,7 @@ KColorDialog::mouseReleaseEvent( TQMouseEvent *e ) if (d->bColorPicking) { d->bColorPicking = false; -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 tqt_set_x11_event_filter(d->oldfilter); d->oldfilter = 0; #endif @@ -1546,7 +1546,7 @@ KColorDialog::keyPressEvent( TQKeyEvent *e ) if (e->key() == Key_Escape) { d->bColorPicking = false; -#ifdef Q_WS_X11 +#ifdef TQ_WS_X11 tqt_set_x11_event_filter(d->oldfilter); d->oldfilter = 0; #endif |