mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 08:04:25 +02:00
Link on OS X
This commit is contained in:
@@ -20,9 +20,11 @@
|
|||||||
|
|
||||||
#include <QMacCocoaViewContainer>
|
#include <QMacCocoaViewContainer>
|
||||||
|
|
||||||
|
#include "dllmacro.h"
|
||||||
|
|
||||||
class SearchTargetWrapper;
|
class SearchTargetWrapper;
|
||||||
|
|
||||||
class LineEditInterface {
|
class DLLEXPORT LineEditInterface {
|
||||||
public:
|
public:
|
||||||
LineEditInterface(QWidget* widget) : widget_(widget) {}
|
LineEditInterface(QWidget* widget) : widget_(widget) {}
|
||||||
|
|
||||||
@@ -45,7 +47,7 @@ protected:
|
|||||||
QWidget* widget_;
|
QWidget* widget_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class MacLineEdit : public QMacCocoaViewContainer, public LineEditInterface {
|
class DLLEXPORT MacLineEdit : public QMacCocoaViewContainer, public LineEditInterface {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PROPERTY(QString hint READ hint WRITE set_hint);
|
Q_PROPERTY(QString hint READ hint WRITE set_hint);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user