Commit c47b3db7 authored by con's avatar con

Rename header file and export statement

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