diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-25 01:21:21 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-09-25 01:21:21 +0900 |
commit | 18d691fe1c2b9a66554857f2783f1cc09e31e6c7 (patch) | |
tree | 85951f6a1b375aa1f0bdb347b95779b62abfcf6e | |
parent | 1a96ec2f7dcf2fa9bb6960a81a36effd4cdfe556 (diff) | |
download | tdepowersave-18d691fe1c2b9a66554857f2783f1cc09e31e6c7.tar.gz tdepowersave-18d691fe1c2b9a66554857f2783f1cc09e31e6c7.zip |
Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | configure.in.in | 2 | ||||
-rw-r--r-- | src/inactivity.h | 6 | ||||
-rw-r--r-- | src/screen.h | 6 | ||||
-rw-r--r-- | src/tdepowersave.h | 5 |
4 files changed, 0 insertions, 19 deletions
diff --git a/configure.in.in b/configure.in.in index eb088ef..3c123f9 100644 --- a/configure.in.in +++ b/configure.in.in @@ -159,6 +159,4 @@ AC_LANG_RESTORE AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) AC_SUBST(XGETTEXT) - -CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE" AC_SUBST(CXXFLAGS) diff --git a/src/inactivity.h b/src/inactivity.h index 7fafab9..7ad3eb5 100644 --- a/src/inactivity.h +++ b/src/inactivity.h @@ -20,12 +20,6 @@ #ifndef _INACTIVITY_H_ #define _INACTIVITY_H_ -/* this is needed to avoid typedef clash with X11 - */ -#ifndef TQT_CLEAN_NAMESPACE -#define TQT_CLEAN_NAMESPACE -#endif - // KDE Header #include <kprocess.h> diff --git a/src/screen.h b/src/screen.h index eb45fb4..09c9d5c 100644 --- a/src/screen.h +++ b/src/screen.h @@ -20,12 +20,6 @@ #ifndef SCREEN_H #define SCREEN_H -/* this is needed to avoid typedef clash with X11/Xmd.h (X11/Xproto.h) - */ -#ifndef TQT_CLEAN_NAMESPACE -#define TQT_CLEAN_NAMESPACE -#endif - // KDE Header #include <dcopref.h> #include <kprocess.h> diff --git a/src/tdepowersave.h b/src/tdepowersave.h index 931fbe5..908e33c 100644 --- a/src/tdepowersave.h +++ b/src/tdepowersave.h @@ -22,11 +22,6 @@ #ifndef _TDEPOWERSAVE_H_ #define _TDEPOWERSAVE_H_ -// this is needed to avoid typedef clash with X11/Xmd.h (X11/Xproto.h) -#ifndef TQT_CLEAN_NAMESPACE -#define TQT_CLEAN_NAMESPACE -#endif - // Global Header #ifdef HAVE_CONFIG_H #include <config.h> |