aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Mi <[email protected]>2014-01-20 02:55:32 +0100
committerGregor Mi <[email protected]>2014-01-20 02:55:32 +0100
commitb908dd9bea8952bd5e6b5bf7f0abf2bcc4fcbf6e (patch)
tree0d4e2f0f6c76733ec28dbb6129ed60a7eaf00bcc
parente5fd98c4471a8f77820964e55cf8883088715077 (diff)
class export fix
-rw-r--r--src/ksane.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ksane.h b/src/ksane.h
index dcf4d8f..0625275 100644
--- a/src/ksane.h
+++ b/src/ksane.h
@@ -30,11 +30,9 @@
#ifndef KSANE_H
#define KSANE_H
-// Qt includes
-#include <QWidget>
+#include "ksane_export.h"
-// Local includes
-#include "libksane_export.h"
+#include <QWidget>
/** This namespace collects all methods and classes in LibKSane. */
namespace KSaneIface
@@ -46,7 +44,7 @@ class KSaneWidgetPrivate;
* This class provides the widget containing the scan options and the preview.
* @author Kare Sars <[email protected]>
*/
-class LIBKSANE_EXPORT KSaneWidget : public QWidget
+class KSANE_EXPORT KSaneWidget : public QWidget
{
Q_OBJECT
friend class KSaneWidgetPrivate;
@@ -115,7 +113,7 @@ public:
* @return 'true' if all goes well and 'false' if no device is open. */
bool closeDevice();
- KDE_DEPRECATED bool makeQImage(const QByteArray &, int, int, int, ImageFormat, QImage &);
+ KSANE_DEPRECATED bool makeQImage(const QByteArray &, int, int, int, ImageFormat, QImage &);
/**
* This is a convenience method that can be used to create a QImage from the image data