diff options
Diffstat (limited to 'src/kernel/qapplication.cpp')
-rw-r--r-- | src/kernel/qapplication.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp index 9b04e1d20..d67b34dd0 100644 --- a/src/kernel/qapplication.cpp +++ b/src/kernel/qapplication.cpp @@ -323,7 +323,7 @@ void tqt_cleanup(); void tqt_init( Display* dpy, TQt::HANDLE, TQt::HANDLE ); void tqt_init( int *, char **, Display* dpy, TQt::HANDLE, TQt::HANDLE ); #endif -Q_EXPORT bool tqt_tryModalHelper( TQWidget *widget, TQWidget **rettop ); +TQ_EXPORT bool tqt_tryModalHelper( TQWidget *widget, TQWidget **rettop ); TQApplication *tqApp = 0; // global application object @@ -353,8 +353,8 @@ int TQApplication::mouse_double_click_time = 400; // mouse dbl click limit int TQApplication::wheel_scroll_lines = 3; // number of lines to scroll #endif bool tqt_is_gui_used; -bool Q_EXPORT tqt_resolve_symlinks = TRUE; -bool Q_EXPORT tqt_tab_all_widgets = TRUE; +bool TQ_EXPORT tqt_resolve_symlinks = TRUE; +bool TQ_EXPORT tqt_tab_all_widgets = TRUE; TQRect tqt_maxWindowRect; static int drag_time = 500; static int drag_distance = 4; @@ -378,13 +378,13 @@ int TQApplication::composedUnicode = 0; #ifdef TQT_THREAD_SUPPORT TQMutex *TQApplication::tqt_mutex = 0; TQMutex *tqt_sharedStringMutex = 0; -Q_EXPORT TQMutex * tqt_sharedMetaObjectMutex = 0; +TQ_EXPORT TQMutex * tqt_sharedMetaObjectMutex = 0; #ifdef QT_USE_GLIBMAINLOOP TQMutex *tqt_timerListMutex = 0; #endif // QT_USE_GLIBMAINLOOP static TQMutex *postevent_mutex = 0; static TQt::HANDLE tqt_application_thread_id = 0; -Q_EXPORT TQt::HANDLE tqt_get_application_thread_id() +TQ_EXPORT TQt::HANDLE tqt_get_application_thread_id() { return tqt_application_thread_id; } @@ -502,7 +502,7 @@ static TQVFuncList *postRList = 0; // list of post routines to clean up the module's data at the exact right moment. */ -Q_EXPORT void tqAddPostRoutine( TQtCleanUpFunction p) +TQ_EXPORT void tqAddPostRoutine( TQtCleanUpFunction p) { if ( !postRList ) { postRList = new TQVFuncList; @@ -512,7 +512,7 @@ Q_EXPORT void tqAddPostRoutine( TQtCleanUpFunction p) } -Q_EXPORT void tqRemovePostRoutine( TQtCleanUpFunction p ) +TQ_EXPORT void tqRemovePostRoutine( TQtCleanUpFunction p ) { if ( !postRList ) return; TQVFuncList::Iterator it = postRList->begin(); @@ -584,7 +584,7 @@ struct TQPostEvent { TQEvent *event; }; -class Q_EXPORT TQPostEventList : public TQPtrList<TQPostEvent> +class TQ_EXPORT TQPostEventList : public TQPtrList<TQPostEvent> { public: TQPostEventList() : TQPtrList<TQPostEvent>() {} @@ -593,7 +593,7 @@ public: TQPostEventList &operator=(const TQPostEventList &list) { return (TQPostEventList&)TQPtrList<TQPostEvent>::operator=(list); } }; -class Q_EXPORT TQPostEventListIt : public TQPtrListIterator<TQPostEvent> +class TQ_EXPORT TQPostEventListIt : public TQPtrListIterator<TQPostEvent> { public: TQPostEventListIt( const TQPostEventList &l ) : TQPtrListIterator<TQPostEvent>(l) {} @@ -901,7 +901,7 @@ TQApplication::TQApplication( int &argc, char **argv, Type type ) construct( argc, argv, type, true ); } -Q_EXPORT void tqt_ucm_initialize( TQApplication *theApp ) +TQ_EXPORT void tqt_ucm_initialize( TQApplication *theApp ) { if ( tqApp ) return; @@ -3930,7 +3930,7 @@ void TQApplication::setActiveWindow( TQWidget* act ) Creates the proper Enter/Leave event when widget \a enter is entered and widget \a leave is left. */ -Q_EXPORT void tqt_dispatchEnterLeave( TQWidget* enter, TQWidget* leave ) { +TQ_EXPORT void tqt_dispatchEnterLeave( TQWidget* enter, TQWidget* leave ) { #if 0 if ( leave ) { TQEvent e( TQEvent::Leave ); @@ -4021,7 +4021,7 @@ extern TQWidget *tqt_tryModalHelperMac( TQWidget * top ); //qapplication_mac.cpp Called from qapplication_<platform>.cpp, returns TRUE if the widget should accept the event. */ -Q_EXPORT bool tqt_tryModalHelper( TQWidget *widget, TQWidget **rettop ) { +TQ_EXPORT bool tqt_tryModalHelper( TQWidget *widget, TQWidget **rettop ) { TQWidget *modal=0, *top=TQApplication::activeModalWidget(); if ( rettop ) *rettop = top; |