From 8dda858403d283f1850c0298aac0fb5212a27952 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 26 Feb 2010 11:37:11 +0100 Subject: tests support for every Qt derived rekonq class --- src/history/autosaver.h | 5 ++++- src/history/historymanager.h | 5 ++++- src/history/historymodels.h | 5 +++-- src/history/historypanel.h | 5 ++++- 4 files changed, 15 insertions(+), 5 deletions(-) (limited to 'src/history') diff --git a/src/history/autosaver.h b/src/history/autosaver.h index 4a307a16..c4c9045b 100644 --- a/src/history/autosaver.h +++ b/src/history/autosaver.h @@ -29,6 +29,9 @@ #define AUTOSAVER_H +// Local Includes +#include "rekonqprivate_export.h" + // Qt Includes #include #include @@ -43,7 +46,7 @@ * */ -class AutoSaver : public QObject +class REKONQ_TESTS_EXPORT AutoSaver : public QObject { Q_OBJECT diff --git a/src/history/historymanager.h b/src/history/historymanager.h index 0df1467f..e744ca4b 100644 --- a/src/history/historymanager.h +++ b/src/history/historymanager.h @@ -30,6 +30,9 @@ #define HISTORY_H +// Local Includes +#include "rekonqprivate_export.h" + // KDE Includes #include @@ -92,7 +95,7 @@ class KCompletion; * It manages rekonq history * */ -class HistoryManager : public QWebHistoryInterface +class REKONQ_TESTS_EXPORT HistoryManager : public QWebHistoryInterface { Q_OBJECT Q_PROPERTY(int historyLimit READ historyLimit WRITE setHistoryLimit) diff --git a/src/history/historymodels.h b/src/history/historymodels.h index a8cd7a8c..c2b1ede1 100644 --- a/src/history/historymodels.h +++ b/src/history/historymodels.h @@ -31,6 +31,7 @@ // Local Includes +#include "rekonqprivate_export.h" #include "historymanager.h" // KDE Includes @@ -45,7 +46,7 @@ #include -class HistoryModel : public QAbstractTableModel +class REKONQ_TESTS_EXPORT HistoryModel : public QAbstractTableModel { Q_OBJECT @@ -85,7 +86,7 @@ private: * */ -class HistoryFilterModel : public QAbstractProxyModel +class REKONQ_TESTS_EXPORT HistoryFilterModel : public QAbstractProxyModel { Q_OBJECT diff --git a/src/history/historypanel.h b/src/history/historypanel.h index 67284c0e..6e6a9162 100644 --- a/src/history/historypanel.h +++ b/src/history/historypanel.h @@ -29,6 +29,9 @@ #define HISTORYPANEL_H +// Local Includes +#include "rekonqprivate_export.h" + // Qt Includes #include @@ -38,7 +41,7 @@ class QWidget; class QModelIndex; -class HistoryPanel : public QDockWidget +class REKONQ_TESTS_EXPORT HistoryPanel : public QDockWidget { Q_OBJECT -- cgit v1.2.1