Commit 08bcc2c8 authored by Dirk Mueller's avatar Dirk Mueller
Browse files

fix export's

svn path=/trunk/kdebase/kioslave/; revision=366609
parent fd5967a0
......@@ -33,7 +33,7 @@
extern "C"
{
KCModule *create_cgi( QWidget *parent, const char * )
KDE_EXPORT KCModule *create_cgi( QWidget *parent, const char * )
{
KGlobal::locale()->insertCatalogue("kcmcgi");
return new KCMCgi( parent, "kcmcgi" );
......
......@@ -32,7 +32,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "filter.h"
extern "C" { int kdemain(int argc, char **argv); }
extern "C" { KDE_EXPORT int kdemain(int argc, char **argv); }
int kdemain( int argc, char ** argv)
{
......
......@@ -43,7 +43,7 @@ static const QString defaultRefreshRate = "60";
extern "C"
{
int kdemain( int argc, char **argv )
KDE_EXPORT int kdemain( int argc, char **argv )
{
KInstance instance( "kio_finger" );
......
......@@ -49,7 +49,7 @@
using namespace KIO;
extern "C" { int kdemain(int argc, char **argv); }
extern "C" { KDE_EXPORT int kdemain(int argc, char **argv); }
int kdemain( int argc, char **argv )
{
......
......@@ -29,7 +29,7 @@
extern "C"
{
void* init_libkmanpart()
KDE_EXPORT void* init_libkmanpart()
{
return new KManPartFactory;
}
......
......@@ -49,7 +49,7 @@ private:
};
extern "C" {
int kdemain( int, char **argv )
KDE_EXPORT int kdemain( int, char **argv )
{
kdDebug() << "kdemain for settings kioslave" << endl;
KInstance instance( "kio_settings" );
......
......@@ -20,6 +20,8 @@
#include <qimage.h>
#include <qfile.h>
#include <kdemacros.h>
#include "cursorcreator.h"
#include <X11/Xlib.h>
......@@ -27,7 +29,7 @@
extern "C"
{
ThumbCreator *new_creator()
KDE_EXPORT ThumbCreator *new_creator()
{
return new CursorCreator;
}
......
......@@ -39,6 +39,7 @@
#include <qfile.h>
#include <qimage.h>
#include <kdemacros.h>
#include "djvucreator.h"
......@@ -46,7 +47,7 @@
extern "C"
{
ThumbCreator *new_creator()
KDE_EXPORT ThumbCreator *new_creator()
{
return new DjVuCreator;
}
......
......@@ -32,7 +32,7 @@
extern "C"
{
ThumbCreator *new_creator()
KDE_EXPORT ThumbCreator *new_creator()
{
return new EXRCreator;
}
......
......@@ -30,7 +30,7 @@
extern "C"
{
ThumbCreator *new_creator()
KDE_EXPORT ThumbCreator *new_creator()
{
return new HTMLCreator;
}
......
......@@ -28,7 +28,7 @@
extern "C"
{
ThumbCreator *new_creator()
KDE_EXPORT ThumbCreator *new_creator()
{
KImageIO::registerFormats();
return new ImageCreator;
......
......@@ -29,7 +29,7 @@
extern "C"
{
ThumbCreator *new_creator()
KDE_EXPORT ThumbCreator *new_creator()
{
return new TextCreator;
}
......
......@@ -73,7 +73,7 @@ using namespace KIO;
extern "C"
{
int kdemain(int argc, char **argv);
KDE_EXPORT int kdemain(int argc, char **argv);
}
int kdemain(int argc, char **argv)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment