diff options
Diffstat (limited to 'src/kernel/ntqapplication.h')
-rw-r--r-- | src/kernel/ntqapplication.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/kernel/ntqapplication.h b/src/kernel/ntqapplication.h index d657e2647..4696b290e 100644 --- a/src/kernel/ntqapplication.h +++ b/src/kernel/ntqapplication.h @@ -54,10 +54,10 @@ class TQSessionManager; class TQStyle; class TQTranslator; class TQEventLoop; -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) class TQIMEvent; #endif -#if defined(Q_WS_QWS) +#if defined(TQ_WS_QWS) class TQWSDecoration; #endif @@ -80,7 +80,7 @@ public: TQApplication( int &argc, char **argv, bool GUIenabled, bool SMenabled ); enum Type { Tty, GuiClient, GuiServer }; TQApplication( int &argc, char **argv, Type ); -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) TQApplication( Display* dpy, HANDLE visual = 0, HANDLE cmap = 0 ); TQApplication( Display *dpy, int argc, char **argv, HANDLE visual = 0, HANDLE cmap= 0 ); @@ -236,18 +236,18 @@ public: static bool isEffectEnabled( TQt::UIEffect ); static void setEffectEnabled( TQt::UIEffect, bool enable = TRUE ); -#if defined(Q_WS_MAC) +#if defined(TQ_WS_MAC) virtual bool macEventFilter( EventHandlerCallRef, EventRef ); #endif -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) virtual bool winEventFilter( MSG * ); #endif -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) virtual bool x11EventFilter( XEvent * ); virtual int x11ClientMessage( TQWidget*, XEvent*, bool passive_only); int x11ProcessEvent( XEvent* ); #endif -#if defined(Q_WS_QWS) +#if defined(TQ_WS_QWS) virtual bool qwsEventFilter( TQWSEvent * ); int qwsProcessEvent( TQWSEvent* ); void qwsSetCustomColors( TQRgb *colortable, int start, int numColors ); @@ -267,7 +267,7 @@ public: #elif defined(Q_OS_MAC) static MacintoshVersion macVersion(); #endif -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) void winFocus( TQWidget *, bool ); static void winMouseButtonUp(); #endif @@ -280,7 +280,7 @@ public: virtual void commitData( TQSessionManager& sm ); virtual void saveState( TQSessionManager& sm ); #endif -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) #if !defined(TQT_NO_IM_EXTENSIONS) virtual TQWidget *locateICHolderWidget( TQWidget *w ); virtual TQWidgetList *icHolderWidgets(); @@ -314,7 +314,7 @@ public slots: void closeAllWindows(); void aboutTQt(); -#if defined(Q_WS_QWS) +#if defined(TQ_WS_QWS) protected: void setArgs(int, char **); #endif @@ -328,12 +328,12 @@ private: void init_precmdline(); void process_cmdline( int* argcptr, char ** argv ); bool internalNotify( TQObject *, TQEvent * ); -#if defined(Q_WS_QWS) +#if defined(TQ_WS_QWS) static TQWidget *findChildWidget( const TQWidget *p, const TQPoint &pos ); static TQWidget *findWidget( const TQObjectList&, const TQPoint &, bool rec ); #endif -#if defined(Q_WS_MAC) +#if defined(TQ_WS_MAC) bool do_mouse_down(Point *, bool *); static TQMAC_PASCAL OSStatus globalEventProcessor(EventHandlerCallRef, EventRef, void *); static TQMAC_PASCAL OSStatus globalAppleEventProcessor(const AppleEvent *, AppleEvent *, long); @@ -348,7 +348,7 @@ private: friend void tqt_init(int *, char **, TQApplication::Type); #endif -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) private slots: void postIMEvent( TQObject *receiver, TQIMEvent *event ); #endif @@ -406,7 +406,7 @@ private: static TQString* session_key; bool is_session_restored; #endif -#if defined(Q_WS_X11) +#if defined(TQ_WS_X11) #if !defined (TQT_NO_STYLE) static void x11_initialize_style(); #endif @@ -442,10 +442,10 @@ private: friend class TQTranslator; friend class TQEventLoop; friend TQ_EXPORT void tqt_ucm_initialize( TQApplication * ); -#if defined(Q_WS_WIN) +#if defined(TQ_WS_WIN) friend bool qt_sendSpontaneousEvent( TQObject*, TQEvent* ); #endif -#if defined(Q_WS_QWS) +#if defined(TQ_WS_QWS) friend class TQInputContext; #endif private: // Disabled copy constructor and operator= @@ -475,7 +475,7 @@ inline char **TQApplication::argv() const return app_argv; } -#if defined(Q_WS_QWS) +#if defined(TQ_WS_QWS) inline void TQApplication::setArgs(int c, char **v) { app_argc = c; |