From 70604905b06eb92f2eb410d24721a3a718a3a18f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 13 Jun 2012 02:48:18 -0500 Subject: [PATCH] Automated update from Qt3 --- src/kernel/ntqinputcontext.h | 2 +- src/kernel/qapplication_x11.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/kernel/ntqinputcontext.h b/src/kernel/ntqinputcontext.h index 4eaddb8e..c39939b4 100644 --- a/src/kernel/ntqinputcontext.h +++ b/src/kernel/ntqinputcontext.h @@ -69,7 +69,7 @@ struct TQInputContextMenu { }; -class TQInputContext : public TQObject +class Q_EXPORT TQInputContext : public TQObject { TQ_OBJECT public: diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp index b3bf9b7f..0baf4c3b 100644 --- a/src/kernel/qapplication_x11.cpp +++ b/src/kernel/qapplication_x11.cpp @@ -195,7 +195,7 @@ static const char *appBTNCol = 0; // application btn color static const char *mwGeometry = 0; // main widget geometry static const char *mwTitle = 0; // main widget title //Ming-Che 10/10 -char *qt_ximServer = 0; // XIM Server will connect to +Q_EXPORT char *qt_ximServer = 0; // XIM Server will connect to static bool mwIconic = FALSE; // main widget iconified //Ming-Che 10/10 static Display *appDpy = 0; // X11 application display @@ -428,13 +428,13 @@ static bool qt_x11EventFilter( XEvent* ev ) #if !defined(QT_NO_XIM) //XIM qt_xim = 0; -XIMStyle qt_xim_style = 0; -XIMStyle qt_xim_preferred_style = 0; -static XIMStyle xim_default_style = XIMPreeditCallbacks | XIMStatusNothing; +Q_EXPORT XIMStyle qt_xim_style = 0; +Q_EXPORT XIMStyle qt_xim_preferred_style = 0; +Q_EXPORT static XIMStyle xim_default_style = XIMPreeditCallbacks | XIMStatusNothing; #endif -int qt_ximComposingKeycode=0; -TQTextCodec * qt_input_mapper = 0; +Q_EXPORT int qt_ximComposingKeycode=0; +Q_EXPORT TQTextCodec * qt_input_mapper = 0; Q_EXPORT Time tqt_x_time = CurrentTime; Q_EXPORT Time tqt_x_user_time = CurrentTime;