diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2015-12-11 21:48:59 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-09-23 23:25:48 +0200 |
commit | 8dc174178fae4cc98bf7b95ce44bfafc40b5f39e (patch) | |
tree | 55185e8ab3955151029b7202a449cded63070b71 /vcl/unx/kde4 | |
parent | f486329a03b8667bd958624937f02edc9af143d1 (diff) |
Clarify KDE4 and TDE config variables
The configure flag is already --enable-kde4, so rename most build
and configure variables, including the config headers, and the
build module to include the major number.
Also rename the TDE MOC stored as $MOC to $TDE_MOC to prevent
conflicts.
Change-Id: Ib947ae4b80349cc52eac7812cb93e8a42606b526
Diffstat (limited to 'vcl/unx/kde4')
-rw-r--r-- | vcl/unx/kde4/KDEXLib.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/kde4/KDEXLib.cxx b/vcl/unx/kde4/KDEXLib.cxx index 1d8f64a5030e..38f515097827 100644 --- a/vcl/unx/kde4/KDEXLib.cxx +++ b/vcl/unx/kde4/KDEXLib.cxx @@ -41,7 +41,7 @@ #include "KDESalDisplay.hxx" -#if KDE_HAVE_GLIB +#if KDE4_HAVE_GLIB #include "KDE4FilePicker.hxx" #include "tst_exclude_socket_notifiers.moc" #include "tst_exclude_posted_events.moc" @@ -181,7 +181,7 @@ void KDEXLib::Init() KApplication::setQuitOnLastWindowClosed(false); -#if KDE_HAVE_GLIB +#if KDE4_HAVE_GLIB m_isGlibEventLoopType = QAbstractEventDispatcher::instance()->inherits( "QEventDispatcherGlib" ); // Using KDE dialogs (and their nested event loops) works only with a proper event loop integration // that will release SolarMutex when waiting for more events. @@ -209,7 +209,7 @@ void KDEXLib::Init() // needs to be unlocked shortly before entering the main sleep (e.g. select()) and locked // immediately after. So we need to know which event loop implementation is used and // hook accordingly. -#if KDE_HAVE_GLIB +#if KDE4_HAVE_GLIB #include <glib.h> static GPollFunc old_gpoll = nullptr; @@ -234,7 +234,7 @@ static bool qt_event_filter( void* m ) void KDEXLib::setupEventLoop() { old_qt_event_filter = QAbstractEventDispatcher::instance()->setEventFilter( qt_event_filter ); -#if KDE_HAVE_GLIB +#if KDE4_HAVE_GLIB if( m_isGlibEventLoopType ) { old_gpoll = g_main_context_get_poll_func( nullptr ); @@ -416,7 +416,7 @@ using namespace com::sun::star; uno::Reference< ui::dialogs::XFilePicker2 > KDEXLib::createFilePicker( const uno::Reference< uno::XComponentContext >& xMSF ) { -#if KDE_HAVE_GLIB +#if KDE4_HAVE_GLIB if( qApp->thread() != QThread::currentThread()) { SalYieldMutexReleaser aReleaser; return Q_EMIT createFilePickerSignal( xMSF ); |