From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/fixx11h.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kdecore/fixx11h.h') diff --git a/kdecore/fixx11h.h b/kdecore/fixx11h.h index ec8e53ab9..2672c59d1 100644 --- a/kdecore/fixx11h.h +++ b/kdecore/fixx11h.h @@ -4,7 +4,7 @@ /* Usage: If you get compile errors caused by X11 includes (the line - where first error appears contains word like None, Unsorted, + where first error appears tqcontains word like None, Unsorted, Below, etc.), put #include in the .cpp file (not .h file!) between the place where X11 headers are included and the place where the file with compile @@ -21,7 +21,7 @@ The original X11 symbols are still accessible (e.g. for None) as X::None, XNone, and also still - None, unless name lookup finds different None + None, unless name lookup tqfinds different None first (in the current class, etc.) Use 'Unsorted', 'Bool' and 'index' as templates. @@ -168,25 +168,25 @@ const int GrayScale = XGrayScale; #endif // Affects: Should be without side effects. -#ifdef Status -#ifndef FIXX11H_Status -#define FIXX11H_Status -typedef Status XStatus; -#undef Status -typedef XStatus Status; +#ifdef tqStatus +#ifndef FIXX11H_tqStatus +#define FIXX11H_tqStatus +typedef tqStatus XtqStatus; +#undef tqStatus +typedef XtqStatus tqStatus; #endif -#undef Status +#undef tqStatus #endif // Affects: Should be without side effects. -#ifdef CursorShape -#ifndef FIXX11H_CursorShape -#define FIXX11H_CursorShape -const int XCursorShape = CursorShape; -#undef CursorShape -const int CursorShape = CursorShape; +#ifdef tqCursorShape +#ifndef FIXX11H_tqCursorShape +#define FIXX11H_tqCursorShape +const int XtqCursorShape = tqCursorShape; +#undef tqCursorShape +const int tqCursorShape = tqCursorShape; #endif -#undef CursorShape +#undef tqCursorShape #endif // template ---> -- cgit v1.2.1