Fix fvisibility option

(cherry picked from commit 91f3b7f8f8)
v3.5.13-sru
Timothy Pearson 12 years ago committed by Slávek Banko
parent 05b2e1bc9c
commit 6999f571c6

@ -2358,7 +2358,7 @@ void KStyle::virtual_hook( int, void* )
// HACK for gtk-qt-engine
KDE_EXPORT extern "C"
extern "C" KDE_EXPORT
void kde_kstyle_set_scrollbar_type_windows( void* style )
{
((KStyle*)style)->setScrollBarType( KStyle::WindowsStyleScrollBar );

@ -39,7 +39,7 @@ set( ${target}_SRCS
tde_add_executable( ${target}
SOURCES ${${target}_SRCS}
LINK kparts-shared
LINK ltdlc-static kparts-shared
DESTINATION ${BIN_INSTALL_DIR}
)
@ -100,7 +100,7 @@ set( target kioslave )
tde_add_executable( ${target} AUTOMOC
SOURCES kioslave.cpp
LINK kio-shared
LINK ltdlc-static kio-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -64,6 +64,6 @@ tde_add_library( ${target} SHARED
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dummy.cpp
VERSION 4.2.0
EMBED kssl-static kiocore-static ksycoca-static kbookmarks-static kfile-static
LINK kdeui-shared kdesu-shared kwalletclient-shared ${ACL_LIBRARIES}
LINK ltdlc-static kdeui-shared kdesu-shared kwalletclient-shared ${ACL_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)

@ -34,7 +34,7 @@
#define KJS_PACKED
#endif
#undef __KDE_HAVE_GCC_VISIBILITY
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
#ifdef __KDE_HAVE_GCC_VISIBILITY
#define KJS_EXPORT __attribute__ ((visibility("default")))

@ -22,7 +22,7 @@
#include "networkstatuscommon.h"
#include <kdebug.h>
TQDataStream & operator<< ( TQDataStream & s, const NetworkStatus::Properties p )
KDE_EXPORT TQDataStream & operator<< ( TQDataStream & s, const NetworkStatus::Properties p )
{
kdDebug() << k_funcinfo << "status is: " << (int)p.status << endl;
s << (int)p.status;
@ -33,7 +33,7 @@ TQDataStream & operator<< ( TQDataStream & s, const NetworkStatus::Properties p
return s;
}
TQDataStream & operator>> ( TQDataStream & s, NetworkStatus::Properties &p )
KDE_EXPORT TQDataStream & operator>> ( TQDataStream & s, NetworkStatus::Properties &p )
{
int status, onDemandPolicy, internet;
s >> status;

Loading…
Cancel
Save