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"
44 using namespace KAlarmCal;
49 class KActionCollection;
60 using KCal::ResourceCalendar;
75 AlarmResources*
calendar()
const {
return mCalendar; }
77 void initActions(KActionCollection*);
78 void setContextMenu(KMenu*);
81 void resized(
const QSize& oldSize,
const QSize& newSize);
87 void alarmTypeSelected();
91 void updateResource();
93 void removeResource();
94 void selectionChanged();
95 void contextMenuRequested(
const QPoint&);
96 void reloadResource();
101 void importCalendar();
102 void exportCalendar();
104 void archiveDaysChanged(
int days);
107 void slotCollectionAdded(
const Akonadi::Collection&);
109 void slotStatusChanged(AlarmResource*, AlarmResources::Change);
111 void reinstateAlarmTypeScrollBars();
114 CalEvent::Type currentResourceType()
const;
116 Akonadi::Collection currentResource()
const;
121 AlarmResource* currentResource()
const;
123 AlarmResources* mCalendar;
130 CalEvent::Type mCurrentAlarmType;
132 KAction* mActionReload;
133 KAction* mActionShowDetails;
134 KAction* mActionSetColour;
135 KAction* mActionClearColour;
136 KAction* mActionEdit;
138 KAction* mActionUpdate;
140 KAction* mActionSave;
142 KAction* mActionRemove;
143 KAction* mActionImport;
144 KAction* mActionExport;
145 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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:51 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.