Commit f07651fa authored by Volker Krause's avatar Volker Krause
Browse files

Lots of stuff we don't need to export here.

Probably more that could be unexported that is only used for unit tests.
Still removes about 650 exported symbols, reducing this to just a little
over 200.
parent be5527b7
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#ifndef INCIDENCEEDITOR_ALARMDIALOG_H #ifndef INCIDENCEEDITOR_ALARMDIALOG_H
#define INCIDENCEEDITOR_ALARMDIALOG_H #define INCIDENCEEDITOR_ALARMDIALOG_H
#include "incidenceeditors_ng_export.h"
#include <KCalCore/Incidence> #include <KCalCore/Incidence>
#include <QDialog> #include <QDialog>
...@@ -35,7 +33,7 @@ class AlarmDialog; ...@@ -35,7 +33,7 @@ class AlarmDialog;
namespace IncidenceEditorNG namespace IncidenceEditorNG
{ {
class INCIDENCEEDITORS_NG_EXPORT AlarmDialog : public QDialog class AlarmDialog : public QDialog
{ {
public: public:
enum Unit { enum Unit {
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
#ifndef INCIDENCEEDITOR_ATTACHMENTEDITDIALOG_H #ifndef INCIDENCEEDITOR_ATTACHMENTEDITDIALOG_H
#define INCIDENCEEDITOR_ATTACHMENTEDITDIALOG_H #define INCIDENCEEDITOR_ATTACHMENTEDITDIALOG_H
#include "incidenceeditors_ng_export.h"
#include <KCalCore/Attachment> #include <KCalCore/Attachment>
#include <QUrl> #include <QUrl>
#include <QDialog> #include <QDialog>
...@@ -47,7 +45,7 @@ namespace IncidenceEditorNG ...@@ -47,7 +45,7 @@ namespace IncidenceEditorNG
class AttachmentIconItem; class AttachmentIconItem;
class INCIDENCEEDITORS_NG_EXPORT AttachmentEditDialog : public QDialog class AttachmentEditDialog : public QDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
namespace IncidenceEditorNG namespace IncidenceEditorNG
{ {
class INCIDENCEEDITORS_NG_EXPORT AttachmentIconView : public QListWidget class AttachmentIconView : public QListWidget
{ {
friend class EditorAttachments; friend class EditorAttachments;
public: public:
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#ifndef INCIDENCEEDITOR_ATTENDEEDATA_H #ifndef INCIDENCEEDITOR_ATTENDEEDATA_H
#define INCIDENCEEDITOR_ATTENDEEDATA_H #define INCIDENCEEDITOR_ATTENDEEDATA_H
#include "incidenceeditors_ng_export.h"
#include <libkdepim/multiplyingline/multiplyingline.h> #include <libkdepim/multiplyingline/multiplyingline.h>
#include <KCalCore/Attendee> #include <KCalCore/Attendee>
...@@ -30,7 +28,7 @@ ...@@ -30,7 +28,7 @@
namespace IncidenceEditorNG namespace IncidenceEditorNG
{ {
class INCIDENCEEDITORS_NG_EXPORT AttendeeData class AttendeeData
: public KPIM::MultiplyingLineData, public KCalCore::Attendee : public KPIM::MultiplyingLineData, public KCalCore::Attendee
{ {
public: public:
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
namespace IncidenceEditorNG namespace IncidenceEditorNG
{ {
class INCIDENCEEDITORS_NG_EXPORT AttendeeLineFactory : public KPIM::MultiplyingLineFactory class AttendeeLineFactory : public KPIM::MultiplyingLineFactory
{ {
Q_OBJECT Q_OBJECT
public: public:
...@@ -42,7 +42,7 @@ public: ...@@ -42,7 +42,7 @@ public:
} }
}; };
class INCIDENCEEDITORS_NG_EXPORT AttendeeEditor : public KPIM::MultiplyingLineEditor class AttendeeEditor : public KPIM::MultiplyingLineEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#ifndef INCIDENCEEDITOR_ATTENDEELINE_H #ifndef INCIDENCEEDITOR_ATTENDEELINE_H
#define INCIDENCEEDITOR_ATTENDEELINE_H #define INCIDENCEEDITOR_ATTENDEELINE_H
#include "incidenceeditors_ng_export.h"
#include <libkdepim/addressline/addresslineedit/addresseelineedit.h> #include <libkdepim/addressline/addresslineedit/addresseelineedit.h>
#include <libkdepim/multiplyingline/multiplyingline.h> #include <libkdepim/multiplyingline/multiplyingline.h>
...@@ -38,7 +36,7 @@ namespace IncidenceEditorNG ...@@ -38,7 +36,7 @@ namespace IncidenceEditorNG
class AttendeeData; class AttendeeData;
class INCIDENCEEDITORS_NG_EXPORT AttendeeComboBox : public QToolButton class AttendeeComboBox : public QToolButton
{ {
Q_OBJECT Q_OBJECT
public: public:
...@@ -71,7 +69,7 @@ private: ...@@ -71,7 +69,7 @@ private:
int mCurrentIndex; int mCurrentIndex;
}; };
class INCIDENCEEDITORS_NG_EXPORT AttendeeLineEdit : public KPIM::AddresseeLineEdit class AttendeeLineEdit : public KPIM::AddresseeLineEdit
{ {
Q_OBJECT Q_OBJECT
public: public:
...@@ -88,7 +86,7 @@ protected: ...@@ -88,7 +86,7 @@ protected:
void keyPressEvent(QKeyEvent *ev) Q_DECL_OVERRIDE; void keyPressEvent(QKeyEvent *ev) Q_DECL_OVERRIDE;
}; };
class INCIDENCEEDITORS_NG_EXPORT AttendeeLine : public KPIM::MultiplyingLine class AttendeeLine : public KPIM::MultiplyingLine
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -19,8 +19,6 @@ ...@@ -19,8 +19,6 @@
#ifndef INCIDENCEEDITOR_AUTOCHECKTREEWIDGET_H #ifndef INCIDENCEEDITOR_AUTOCHECKTREEWIDGET_H
#define INCIDENCEEDITOR_AUTOCHECKTREEWIDGET_H #define INCIDENCEEDITOR_AUTOCHECKTREEWIDGET_H
#include "incidenceeditors_ng_export.h"
#include <QTreeWidget> #include <QTreeWidget>
namespace IncidenceEditorNG namespace IncidenceEditorNG
...@@ -35,7 +33,7 @@ namespace IncidenceEditorNG ...@@ -35,7 +33,7 @@ namespace IncidenceEditorNG
@author Mathias Soeken <msoeken@tzi.de> @author Mathias Soeken <msoeken@tzi.de>
*/ */
class INCIDENCEEDITORS_NG_EXPORT AutoCheckTreeWidget : public QTreeWidget class AutoCheckTreeWidget : public QTreeWidget
{ {
Q_OBJECT Q_OBJECT
......
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
#ifndef INCIDENCEEDITOR_CATEGORYDIALOG_H #ifndef INCIDENCEEDITOR_CATEGORYDIALOG_H
#define INCIDENCEEDITOR_CATEGORYDIALOG_H #define INCIDENCEEDITOR_CATEGORYDIALOG_H
#include "incidenceeditors_ng_export.h"
#include <QDialog> #include <QDialog>
class CategoryWidgetBase; class CategoryWidgetBase;
...@@ -40,7 +38,7 @@ namespace IncidenceEditorNG ...@@ -40,7 +38,7 @@ namespace IncidenceEditorNG
class AutoCheckTreeWidget; class AutoCheckTreeWidget;
class INCIDENCEEDITORS_NG_EXPORT CategoryWidget : public QWidget class CategoryWidget : public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
...@@ -77,7 +75,7 @@ private: ...@@ -77,7 +75,7 @@ private:
CalendarSupport::CategoryConfig *mCategoryConfig; CalendarSupport::CategoryConfig *mCategoryConfig;
}; };
class INCIDENCEEDITORS_NG_EXPORT CategoryDialog : public QDialog class CategoryDialog : public QDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -40,7 +40,7 @@ class CategoryConfig; ...@@ -40,7 +40,7 @@ class CategoryConfig;
namespace IncidenceEditorNG namespace IncidenceEditorNG
{ {
class INCIDENCEEDITORS_NG_EXPORT CategoryEditDialog : public QDialog class CategoryEditDialog : public QDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -37,7 +37,7 @@ namespace IncidenceEditorNG ...@@ -37,7 +37,7 @@ namespace IncidenceEditorNG
class AutoCheckTreeWidget; class AutoCheckTreeWidget;
class INCIDENCEEDITORS_NG_EXPORT CategorySelectWidget : public QWidget class CategorySelectWidget : public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
...@@ -70,7 +70,7 @@ private: ...@@ -70,7 +70,7 @@ private:
CalendarSupport::CategoryConfig *mCategoryConfig; CalendarSupport::CategoryConfig *mCategoryConfig;
}; };
class INCIDENCEEDITORS_NG_EXPORT CategorySelectDialog : public QDialog class CategorySelectDialog : public QDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#ifndef COMBINEDINCIDENCEEDITOR_H #ifndef COMBINEDINCIDENCEEDITOR_H
#define COMBINEDINCIDENCEEDITOR_H #define COMBINEDINCIDENCEEDITOR_H
#include "incidenceeditors_ng_export.h"
#include "incidenceeditor-ng.h" #include "incidenceeditor-ng.h"
#include <KMessageWidget> #include <KMessageWidget>
...@@ -35,7 +34,7 @@ namespace IncidenceEditorNG ...@@ -35,7 +34,7 @@ namespace IncidenceEditorNG
* IncidenceEditors. The CombinedIncidenceEditor keeps track of the dirty state * IncidenceEditors. The CombinedIncidenceEditor keeps track of the dirty state
* of the IncidenceEditors that where combined. * of the IncidenceEditors that where combined.
*/ */
class INCIDENCEEDITORS_NG_EXPORT CombinedIncidenceEditor : public IncidenceEditor class CombinedIncidenceEditor : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#ifndef INCIDENCEEDITOR_EDITORITEMMANAGER_H #ifndef INCIDENCEEDITOR_EDITORITEMMANAGER_H
#define INCIDENCEEDITOR_EDITORITEMMANAGER_H #define INCIDENCEEDITOR_EDITORITEMMANAGER_H
#include "incidenceeditors_ng_export.h"
#include <Akonadi/Calendar/IncidenceChanger> #include <Akonadi/Calendar/IncidenceChanger>
#include <Collection> #include <Collection>
#include <QObject> #include <QObject>
...@@ -49,7 +47,7 @@ class ItemEditorPrivate; ...@@ -49,7 +47,7 @@ class ItemEditorPrivate;
* Item modifying and monitoring of changes to the item during editing. * Item modifying and monitoring of changes to the item during editing.
*/ */
// template <typename PayloadT> // template <typename PayloadT>
class INCIDENCEEDITORS_NG_EXPORT EditorItemManager : public QObject class EditorItemManager : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
...@@ -157,7 +155,7 @@ private: ...@@ -157,7 +155,7 @@ private:
Q_PRIVATE_SLOT(d_ptr, void moveJobFinished(KJob *job)) Q_PRIVATE_SLOT(d_ptr, void moveJobFinished(KJob *job))
}; };
class INCIDENCEEDITORS_NG_EXPORT ItemEditorUi class ItemEditorUi
{ {
public: public:
enum RejectReason { enum RejectReason {
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#ifndef INCIDENCEEDITOR_FREEBUSYURLDIALOG_H #ifndef INCIDENCEEDITOR_FREEBUSYURLDIALOG_H
#define INCIDENCEEDITOR_FREEBUSYURLDIALOG_H #define INCIDENCEEDITOR_FREEBUSYURLDIALOG_H
#include "incidenceeditors_ng_export.h"
#include "attendeedata.h" #include "attendeedata.h"
#include <QDialog> #include <QDialog>
...@@ -34,7 +33,7 @@ namespace IncidenceEditorNG ...@@ -34,7 +33,7 @@ namespace IncidenceEditorNG
class FreeBusyUrlWidget; class FreeBusyUrlWidget;
class INCIDENCEEDITORS_NG_EXPORT FreeBusyUrlDialog : public QDialog class FreeBusyUrlDialog : public QDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
...@@ -47,7 +46,7 @@ private: ...@@ -47,7 +46,7 @@ private:
FreeBusyUrlWidget *mWidget; FreeBusyUrlWidget *mWidget;
}; };
class INCIDENCEEDITORS_NG_EXPORT FreeBusyUrlWidget : public QWidget class FreeBusyUrlWidget : public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -33,7 +33,7 @@ namespace IncidenceEditorNG ...@@ -33,7 +33,7 @@ namespace IncidenceEditorNG
class IncidenceDateTime; class IncidenceDateTime;
class INCIDENCEEDITORS_NG_EXPORT IncidenceAlarm : public IncidenceEditor class IncidenceAlarm : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -39,7 +39,7 @@ namespace IncidenceEditorNG ...@@ -39,7 +39,7 @@ namespace IncidenceEditorNG
class AttachmentIconView; class AttachmentIconView;
class INCIDENCEEDITORS_NG_EXPORT IncidenceAttachment : public IncidenceEditor class IncidenceAttachment : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -47,7 +47,7 @@ class AttendeeTableModel; ...@@ -47,7 +47,7 @@ class AttendeeTableModel;
class ConflictResolver; class ConflictResolver;
class IncidenceDateTime; class IncidenceDateTime;
class INCIDENCEEDITORS_NG_EXPORT IncidenceAttendee : public IncidenceEditor class IncidenceAttendee : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -31,7 +31,7 @@ class EventOrTodoDesktop; ...@@ -31,7 +31,7 @@ class EventOrTodoDesktop;
namespace IncidenceEditorNG namespace IncidenceEditorNG
{ {
class INCIDENCEEDITORS_NG_EXPORT IncidenceCategories : public IncidenceEditor class IncidenceCategories : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -31,7 +31,7 @@ class EventOrTodoDesktop; ...@@ -31,7 +31,7 @@ class EventOrTodoDesktop;
namespace IncidenceEditorNG namespace IncidenceEditorNG
{ {
class INCIDENCEEDITORS_NG_EXPORT IncidenceCompletionPriority : public IncidenceEditor class IncidenceCompletionPriority : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -42,7 +42,7 @@ class ICalTimeZones; ...@@ -42,7 +42,7 @@ class ICalTimeZones;
namespace IncidenceEditorNG namespace IncidenceEditorNG
{ {
class INCIDENCEEDITORS_NG_EXPORT IncidenceDateTime : public IncidenceEditor class IncidenceDateTime : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -37,7 +37,7 @@ class IncidenceDescriptionPrivate; ...@@ -37,7 +37,7 @@ class IncidenceDescriptionPrivate;
* The IncidenceDescriptionEditor keeps track of the following Incidence parts: * The IncidenceDescriptionEditor keeps track of the following Incidence parts:
* - description * - description
*/ */
class INCIDENCEEDITORS_NG_EXPORT IncidenceDescription : public IncidenceEditor class IncidenceDescription : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -47,7 +47,7 @@ enum RecurrenceType { ...@@ -47,7 +47,7 @@ enum RecurrenceType {
RecurrenceTypeException RecurrenceTypeException
}; };
class INCIDENCEEDITORS_NG_EXPORT IncidenceRecurrence : public IncidenceEditor class IncidenceRecurrence : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -39,7 +39,7 @@ namespace IncidenceEditorNG ...@@ -39,7 +39,7 @@ namespace IncidenceEditorNG
{ {
class ResourceManagement; class ResourceManagement;
class INCIDENCEEDITORS_NG_EXPORT IncidenceResource : public IncidenceEditor class IncidenceResource : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -31,7 +31,7 @@ class EventOrTodoDesktop; ...@@ -31,7 +31,7 @@ class EventOrTodoDesktop;
namespace IncidenceEditorNG namespace IncidenceEditorNG
{ {
class INCIDENCEEDITORS_NG_EXPORT IncidenceSecrecy : public IncidenceEditor class IncidenceSecrecy : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#ifndef INCIDENCEEDITOR_INCIDENCEWHATWHERE_H #ifndef INCIDENCEEDITOR_INCIDENCEWHATWHERE_H
#define INCIDENCEEDITOR_INCIDENCEWHATWHERE_H #define INCIDENCEEDITOR_INCIDENCEWHATWHERE_H
#include "incidenceeditors_ng_export.h"
#include "incidenceeditor-ng.h" #include "incidenceeditor-ng.h"
namespace Ui namespace Ui
...@@ -38,7 +37,7 @@ namespace IncidenceEditorNG ...@@ -38,7 +37,7 @@ namespace IncidenceEditorNG
* - Location * - Location
* - Categories * - Categories
*/ */
class INCIDENCEEDITORS_NG_EXPORT IncidenceWhatWhere : public IncidenceEditor class IncidenceWhatWhere : public IncidenceEditor
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#ifndef INCIDENCEEDITOR_SCHEDULINGDIALOG_H #ifndef INCIDENCEEDITOR_SCHEDULINGDIALOG_H
#define INCIDENCEEDITOR_SCHEDULINGDIALOG_H #define INCIDENCEEDITOR_SCHEDULINGDIALOG_H
#include "incidenceeditors_ng_export.h"
#include "ui_schedulingdialog.h" #include "ui_schedulingdialog.h"
#include <QDialog> #include <QDialog>
...@@ -38,7 +37,7 @@ namespace IncidenceEditorNG ...@@ -38,7 +37,7 @@ namespace IncidenceEditorNG
class ConflictResolver; class ConflictResolver;
class VisualFreeBusyWidget; class VisualFreeBusyWidget;
class INCIDENCEEDITORS_NG_EXPORT SchedulingDialog : public QDialog, private Ui_Dialog class SchedulingDialog : public QDialog, private Ui_Dialog
{ {
Q_OBJECT Q_OBJECT
public: public:
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#ifndef INCIDENCEEDITOR_TEMPLATEMANAGEMENTDIALOG_H #ifndef INCIDENCEEDITOR_TEMPLATEMANAGEMENTDIALOG_H
#define INCIDENCEEDITOR_TEMPLATEMANAGEMENTDIALOG_H #define INCIDENCEEDITOR_TEMPLATEMANAGEMENTDIALOG_H
#include "incidenceeditors_ng_export.h"
#include "ui_template_management_dialog_base.h" #include "ui_template_management_dialog_base.h"
#include <KCalCore/IncidenceBase> #include <KCalCore/IncidenceBase>
...@@ -47,7 +46,7 @@ ...@@ -47,7 +46,7 @@
namespace IncidenceEditorNG namespace IncidenceEditorNG
{ {
class INCIDENCEEDITORS_NG_EXPORT TemplateManagementDialog: public QDialog class TemplateManagementDialog: public QDialog
{ {
Q_OBJECT Q_OBJECT