diff --git a/config.h.cmake b/config.h.cmake index 4064b66..61ede3a 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,7 +1,7 @@ #define VERSION "@VERSION@" // Defined if you have fvisibility and fvisibility-inlines-hidden support. -#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1 +#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ diff --git a/qt/PlatQt.cpp b/qt/PlatQt.cpp index 5f09bc9..4029f43 100644 --- a/qt/PlatQt.cpp +++ b/qt/PlatQt.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/SciListBox.cpp b/qt/SciListBox.cpp index 2d504e5..3b34793 100644 --- a/qt/SciListBox.cpp +++ b/qt/SciListBox.cpp @@ -20,6 +20,10 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include diff --git a/qt/ScintillaQt.cpp b/qt/ScintillaQt.cpp index 8924e8b..7d3722b 100644 --- a/qt/ScintillaQt.cpp +++ b/qt/ScintillaQt.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintilla.cpp b/qt/qextscintilla.cpp index 615fc00..ab54883 100644 --- a/qt/qextscintilla.cpp +++ b/qt/qextscintilla.cpp @@ -21,6 +21,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillaapis.cpp b/qt/qextscintillaapis.cpp index 58abda0..7c94af1 100644 --- a/qt/qextscintillaapis.cpp +++ b/qt/qextscintillaapis.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillabase.cpp b/qt/qextscintillabase.cpp index 4e033d6..4776da7 100644 --- a/qt/qextscintillabase.cpp +++ b/qt/qextscintillabase.cpp @@ -19,6 +19,10 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include "qextscintillabase.moc" #include #include diff --git a/qt/qextscintillacommand.cpp b/qt/qextscintillacommand.cpp index 816303f..8b391bc 100644 --- a/qt/qextscintillacommand.cpp +++ b/qt/qextscintillacommand.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillacommandset.cpp b/qt/qextscintillacommandset.cpp index aa7479d..d7b1896 100644 --- a/qt/qextscintillacommandset.cpp +++ b/qt/qextscintillacommandset.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include diff --git a/qt/qextscintilladocument.cpp b/qt/qextscintilladocument.cpp index 36dcb4a..3bb4cda 100644 --- a/qt/qextscintilladocument.cpp +++ b/qt/qextscintilladocument.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include "qextscintilladocument.h" #include "qextscintillabase.h" diff --git a/qt/qextscintillaglobal.h b/qt/qextscintillaglobal.h index aebd822..cd0fffe 100644 --- a/qt/qextscintillaglobal.h +++ b/qt/qextscintillaglobal.h @@ -46,8 +46,10 @@ #else -#if __GNUC__ >= 4 +#if defined(__KDE_HAVE_GCC_VISIBILITY) #define TQEXTSCINTILLA_EXPORT __attribute__ ((visibility("default"))) +#else +#define TQEXTSCINTILLA_EXPORT #endif #endif diff --git a/qt/qextscintillalexer.cpp b/qt/qextscintillalexer.cpp index 3623c1a..ed43821 100644 --- a/qt/qextscintillalexer.cpp +++ b/qt/qextscintillalexer.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexerbash.cpp b/qt/qextscintillalexerbash.cpp index c646340..a35af48 100644 --- a/qt/qextscintillalexerbash.cpp +++ b/qt/qextscintillalexerbash.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexerbatch.cpp b/qt/qextscintillalexerbatch.cpp index bc4e9e9..f21b6a2 100644 --- a/qt/qextscintillalexerbatch.cpp +++ b/qt/qextscintillalexerbatch.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexercpp.cpp b/qt/qextscintillalexercpp.cpp index 9be21d9..797abc0 100644 --- a/qt/qextscintillalexercpp.cpp +++ b/qt/qextscintillalexercpp.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexercsharp.cpp b/qt/qextscintillalexercsharp.cpp index fa68e45..56ac5e4 100644 --- a/qt/qextscintillalexercsharp.cpp +++ b/qt/qextscintillalexercsharp.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexercss.cpp b/qt/qextscintillalexercss.cpp index fb32de4..d9eba5d 100644 --- a/qt/qextscintillalexercss.cpp +++ b/qt/qextscintillalexercss.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexerdiff.cpp b/qt/qextscintillalexerdiff.cpp index ba4c8d5..d935873 100644 --- a/qt/qextscintillalexerdiff.cpp +++ b/qt/qextscintillalexerdiff.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexerhtml.cpp b/qt/qextscintillalexerhtml.cpp index f29bfbf..d634a2b 100644 --- a/qt/qextscintillalexerhtml.cpp +++ b/qt/qextscintillalexerhtml.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexeridl.cpp b/qt/qextscintillalexeridl.cpp index 91577dd..df68b9f 100644 --- a/qt/qextscintillalexeridl.cpp +++ b/qt/qextscintillalexeridl.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexerjava.cpp b/qt/qextscintillalexerjava.cpp index e8fcef4..ab06467 100644 --- a/qt/qextscintillalexerjava.cpp +++ b/qt/qextscintillalexerjava.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include "qextscintillalexerjava.h" diff --git a/qt/qextscintillalexerjavascript.cpp b/qt/qextscintillalexerjavascript.cpp index f2cfe46..238a570 100644 --- a/qt/qextscintillalexerjavascript.cpp +++ b/qt/qextscintillalexerjavascript.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexerlua.cpp b/qt/qextscintillalexerlua.cpp index 958e827..57945a5 100644 --- a/qt/qextscintillalexerlua.cpp +++ b/qt/qextscintillalexerlua.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexermakefile.cpp b/qt/qextscintillalexermakefile.cpp index 5397370..13b7fb2 100644 --- a/qt/qextscintillalexermakefile.cpp +++ b/qt/qextscintillalexermakefile.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexerperl.cpp b/qt/qextscintillalexerperl.cpp index 04df454..8a9a0c8 100644 --- a/qt/qextscintillalexerperl.cpp +++ b/qt/qextscintillalexerperl.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexerpov.cpp b/qt/qextscintillalexerpov.cpp index a4d6ae3..e212709 100644 --- a/qt/qextscintillalexerpov.cpp +++ b/qt/qextscintillalexerpov.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexerproperties.cpp b/qt/qextscintillalexerproperties.cpp index 219b767..54fdb71 100644 --- a/qt/qextscintillalexerproperties.cpp +++ b/qt/qextscintillalexerproperties.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexerpython.cpp b/qt/qextscintillalexerpython.cpp index 84e31b1..ce53537 100644 --- a/qt/qextscintillalexerpython.cpp +++ b/qt/qextscintillalexerpython.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexerruby.cpp b/qt/qextscintillalexerruby.cpp index 132b93f..031d724 100644 --- a/qt/qextscintillalexerruby.cpp +++ b/qt/qextscintillalexerruby.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexersql.cpp b/qt/qextscintillalexersql.cpp index a6a468a..bd836dd 100644 --- a/qt/qextscintillalexersql.cpp +++ b/qt/qextscintillalexersql.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillalexertex.cpp b/qt/qextscintillalexertex.cpp index 5729d43..66cf140 100644 --- a/qt/qextscintillalexertex.cpp +++ b/qt/qextscintillalexertex.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include diff --git a/qt/qextscintillamacro.cpp b/qt/qextscintillamacro.cpp index 5cbc7f0..16d3636 100644 --- a/qt/qextscintillamacro.cpp +++ b/qt/qextscintillamacro.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include diff --git a/qt/qextscintillaprinter.cpp b/qt/qextscintillaprinter.cpp index ed6f279..d09c7a6 100644 --- a/qt/qextscintillaprinter.cpp +++ b/qt/qextscintillaprinter.cpp @@ -19,6 +19,9 @@ // TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include