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