kalarm
Go to the documentation of this file.
25 #ifndef RESOURCESELECTOR_H
26 #define RESOURCESELECTOR_H
32 #include <akonadi/agentinstance.h>
34 #include "alarmresource.h"
35 #include "alarmresources.h"
38 #include <QModelIndex>
45 using namespace KAlarmCal;
50 class KActionCollection;
63 using KCal::ResourceCalendar;
78 AlarmResources*
calendar()
const {
return mCalendar; }
80 void initActions(KActionCollection*);
81 void setContextMenu(KMenu*);
84 void resized(
const QSize& oldSize,
const QSize& newSize);
87 virtual void resizeEvent(QResizeEvent*);
90 void alarmTypeSelected();
94 void updateResource();
96 void removeResource();
97 void selectionChanged();
98 void contextMenuRequested(
const QPoint&);
99 void reloadResource();
104 void importCalendar();
105 void exportCalendar();
107 void archiveDaysChanged(
int days);
110 void slotCollectionAdded(
const Akonadi::Collection&);
112 void slotStatusChanged(AlarmResource*, AlarmResources::Change);
114 void reinstateAlarmTypeScrollBars();
117 CalEvent::Type currentResourceType()
const;
119 Akonadi::Collection currentResource()
const;
124 AlarmResource* currentResource()
const;
126 AlarmResources* mCalendar;
133 CalEvent::Type mCurrentAlarmType;
135 KAction* mActionReload;
136 KAction* mActionShowDetails;
137 KAction* mActionSetColour;
138 KAction* mActionClearColour;
139 KAction* mActionEdit;
141 KAction* mActionUpdate;
143 KAction* mActionSave;
145 KAction* mActionRemove;
146 KAction* mActionImport;
147 KAction* mActionExport;
148 KToggleAction* mActionSetDefault;
This class provides a view of alarm calendar resources.
AlarmResources * calendar() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:10 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.