Commit c47b3db7 authored by con's avatar con
Browse files

Rename header file and export statement

parent 5d74b927
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#ifndef BASEFILEFILTER_H #ifndef BASEFILEFILTER_H
#define BASEFILEFILTER_H #define BASEFILEFILTER_H
#include "quickopen_global.h" #include "locator_global.h"
#include "ilocatorfilter.h" #include "ilocatorfilter.h"
#include <QtCore/QString> #include <QtCore/QString>
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
namespace QuickOpen { namespace QuickOpen {
class QUICKOPEN_EXPORT BaseFileFilter : public QuickOpen::ILocatorFilter class LOCATOR_EXPORT BaseFileFilter : public QuickOpen::ILocatorFilter
{ {
Q_OBJECT Q_OBJECT
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#ifndef ILOCATORFILTER_H #ifndef ILOCATORFILTER_H
#define ILOCATORFILTER_H #define ILOCATORFILTER_H
#include "quickopen_global.h" #include "locator_global.h"
#include <QtCore/QDir> #include <QtCore/QDir>
#include <QtCore/QVariant> #include <QtCore/QVariant>
...@@ -73,7 +73,7 @@ struct FilterEntry ...@@ -73,7 +73,7 @@ struct FilterEntry
bool resolveFileIcon; bool resolveFileIcon;
}; };
class QUICKOPEN_EXPORT ILocatorFilter : public QObject class LOCATOR_EXPORT ILocatorFilter : public QObject
{ {
Q_OBJECT Q_OBJECT
......
...@@ -27,15 +27,15 @@ ...@@ -27,15 +27,15 @@
** **
**************************************************************************/ **************************************************************************/
#ifndef QUICKOPEN_GLOBAL_H #ifndef LOCATOR_GLOBAL_H
#define QUICKOPEN_GLOBAL_H #define LOCATOR_GLOBAL_H
#include <QtCore/qglobal.h> #include <QtCore/qglobal.h>
#if defined(QUICKOPEN_LIBRARY) #if defined(LOCATOR_LIBRARY)
# define QUICKOPEN_EXPORT Q_DECL_EXPORT # define LOCATOR_EXPORT Q_DECL_EXPORT
#else #else
# define QUICKOPEN_EXPORT Q_DECL_IMPORT # define LOCATOR_EXPORT Q_DECL_IMPORT
#endif #endif
#endif // QUICKOPEN_GLOBAL_H #endif // LOCATOR_GLOBAL_H
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#ifndef LOCATORMANAGER_H #ifndef LOCATORMANAGER_H
#define LOCATORMANAGER_H #define LOCATORMANAGER_H
#include "quickopen_global.h" #include "locator_global.h"
#include <QtCore/QObject> #include <QtCore/QObject>
...@@ -40,7 +40,7 @@ namespace Internal { ...@@ -40,7 +40,7 @@ namespace Internal {
class LocatorWidget; class LocatorWidget;
} }
class QUICKOPEN_EXPORT LocatorManager : public QObject class LOCATOR_EXPORT LocatorManager : public QObject
{ {
Q_OBJECT Q_OBJECT
......
TEMPLATE = lib TEMPLATE = lib
TARGET = QuickOpen TARGET = QuickOpen
DEFINES += QUICKOPEN_LIBRARY DEFINES += LOCATOR_LIBRARY
include(../../qtcreatorplugin.pri) include(../../qtcreatorplugin.pri)
include(quickopen_dependencies.pri) include(quickopen_dependencies.pri)
HEADERS += locatorplugin.h \ HEADERS += locatorplugin.h \
...@@ -14,7 +14,7 @@ HEADERS += locatorplugin.h \ ...@@ -14,7 +14,7 @@ HEADERS += locatorplugin.h \
directoryfilter.h \ directoryfilter.h \
locatormanager.h \ locatormanager.h \
basefilefilter.h \ basefilefilter.h \
quickopen_global.h locator_global.h
SOURCES += locatorplugin.cpp \ SOURCES += locatorplugin.cpp \
locatorwidget.cpp \ locatorwidget.cpp \
locatorfiltersfilter.cpp \ locatorfiltersfilter.cpp \
......
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