diff options
Diffstat (limited to 'src/kernel/ntqapplication.h')
-rw-r--r-- | src/kernel/ntqapplication.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/kernel/ntqapplication.h b/src/kernel/ntqapplication.h index 9ae120f2b..e00289ab6 100644 --- a/src/kernel/ntqapplication.h +++ b/src/kernel/ntqapplication.h @@ -92,7 +92,7 @@ public: Type type() const; -#ifndef QT_NO_STYLE +#ifndef TQT_NO_STYLE static TQStyle &style(); static void setStyle( TQStyle* ); static TQStyle* setStyle( const TQString& ); @@ -106,14 +106,14 @@ public: enum ColorSpec { NormalColor=0, CustomColor=1, ManyColor=2 }; static int colorSpec(); static void setColorSpec( int ); -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR static TQCursor *overrideCursor(); static void setOverrideCursor( const TQCursor &, bool replace=FALSE ); static void restoreOverrideCursor(); #endif static bool hasGlobalMouseTracking(); static void setGlobalMouseTracking( bool enable ); -#ifndef QT_NO_PALETTE +#ifndef TQT_NO_PALETTE static TQPalette palette( const TQWidget* = 0 ); static TQPalette palette( TQStringList ); static void setPalette( const TQPalette &, bool informWidgets=FALSE, @@ -135,7 +135,7 @@ public: static TQWidget *activePopupWidget(); static TQWidget *activeModalWidget(); -#ifndef QT_NO_CLIPBOARD +#ifndef TQT_NO_CLIPBOARD static TQClipboard *clipboard(); #endif TQWidget *focusWidget() const; @@ -175,7 +175,7 @@ public: static void beep(); #ifndef TQT_NO_TRANSLATION -# ifndef QT_NO_TEXTCODEC +# ifndef TQT_NO_TEXTCODEC void setDefaultCodec( TQTextCodec * ); TQTextCodec* defaultCodec() const; # endif @@ -187,11 +187,11 @@ public: const char * key, const char * comment = 0, Encoding encoding = DefaultCodec ) const; -#ifndef QT_NO_DIR +#ifndef TQT_NO_DIR TQString applicationDirPath(); TQString applicationFilePath(); #endif -#ifndef QT_NO_PALETTE +#ifndef TQT_NO_PALETTE // obsolete functions static void setWinStyleHighlightColor( const TQColor &c ) { TQPalette p( palette() ); @@ -210,19 +210,19 @@ public: static void setDoubleClickInterval( int ); static int doubleClickInterval(); -#ifndef QT_NO_WHEELEVENT +#ifndef TQT_NO_WHEELEVENT static void setWheelScrollLines( int ); static int wheelScrollLines(); #endif static void setGlobalStrut( const TQSize & ); static TQSize globalStrut(); -#ifndef QT_NO_COMPONENT +#ifndef TQT_NO_COMPONENT static void setLibraryPaths( const TQStringList & ); static TQStringList libraryPaths(); static void addLibraryPath( const TQString & ); static void removeLibraryPath( const TQString & ); -#endif // QT_NO_COMPONENT +#endif // TQT_NO_COMPONENT static void setStartDragTime( int ms ); static int startDragTime(); static void setStartDragDistance( int l ); @@ -256,7 +256,7 @@ public: Returns true if the process is GUI server */ bool qwsIsGUIServer(); -#ifndef QT_NO_QWS_MANAGER +#ifndef TQT_NO_QWS_MANAGER static TQWSDecoration &qwsDecoration(); static void qwsSetDecoration( TQWSDecoration *); #endif @@ -272,7 +272,7 @@ public: static void winMouseButtonUp(); #endif -#ifndef QT_NO_SESSIONMANAGER +#ifndef TQT_NO_SESSIONMANAGER // session management bool isSessionRestored() const; TQString sessionId() const; @@ -281,7 +281,7 @@ public: virtual void saveState( TQSessionManager& sm ); #endif #if defined(Q_WS_X11) -#if !defined(QT_NO_IM_EXTENSIONS) +#if !defined(TQT_NO_IM_EXTENSIONS) virtual TQWidget *locateICHolderWidget( TQWidget *w ); virtual TQWidgetList *icHolderWidgets(); static void create_im(); @@ -365,11 +365,11 @@ private: int quit_code; static TQStyle *app_style; static int app_cspec; -#ifndef QT_NO_PALETTE +#ifndef TQT_NO_PALETTE static TQPalette *app_pal; #endif static TQFont *app_font; -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR static TQCursor *app_cursor; #endif #ifndef TQT_THREAD_SUPPORT @@ -400,21 +400,21 @@ private: static bool metaComposeUnicode; TQValueList<TQTranslator*> *translators; -#ifndef QT_NO_SESSIONMANAGER +#ifndef TQT_NO_SESSIONMANAGER TQSessionManager *session_manager; TQString session_id; static TQString* session_key; bool is_session_restored; #endif #if defined(Q_WS_X11) -#if !defined (QT_NO_STYLE) +#if !defined (TQT_NO_STYLE) static void x11_initialize_style(); #endif static TQString defaultIM; // default input method's name in this application. #endif static TQSize app_strut; -#ifndef QT_NO_COMPONENT +#ifndef TQT_NO_COMPONENT static TQStringList *app_libpaths; #endif static TQAsciiDict<TQPalette> *app_palettes; @@ -483,7 +483,7 @@ inline void TQApplication::setArgs(int c, char **v) } #endif -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR inline TQCursor *TQApplication::overrideCursor() { return app_cursor; @@ -518,7 +518,7 @@ inline bool TQApplication::inPopupMode() const { return popupWidgets != 0; } -#ifndef QT_NO_SESSIONMANAGER +#ifndef TQT_NO_SESSIONMANAGER inline bool TQApplication::isSessionRestored() const { return is_session_restored; @@ -544,7 +544,7 @@ inline TQSize TQApplication::globalStrut() inline TQString TQApplication::translate( const char *, const char *sourceText, const char *, Encoding encoding ) const { -#ifndef QT_NO_TEXTCODEC +#ifndef TQT_NO_TEXTCODEC if ( encoding == UnicodeUTF8 ) return TQString::fromUtf8( sourceText ); else |