kalarm
Go to the documentation of this file.
   32 #include <kalarmcal/kaevent.h> 
   35 #include <akonadi/collection.h> 
   36 #include <akonadi/item.h> 
   56 using namespace KAlarmCal;
 
   73         MessageWin(
const KAEvent*, 
const KAAlarm&, 
int flags);
 
   75         void                repeat(
const KAAlarm&);
 
   77         const DateTime&     
dateTime()         { 
return mDateTime; }
 
   78         KAAlarm::Type       
alarmType()
 const      { 
return mAlarmType; }
 
   79         bool                hasDefer() 
const;
 
   81         void                cancelReminder(
const KAEvent&, 
const KAAlarm&);
 
   82         void                showDateTime(
const KAEvent&, 
const KAAlarm&);
 
   83         bool                isValid()
 const        { 
return !mInvalid; }
 
   86         virtual QSize       sizeHint() 
const;
 
   87         static int          instanceCount(
bool excludeAlwaysHidden = 
false);
 
   93         static void         redisplayAlarms();
 
   94         static void         stopAudio(
bool wait = 
false);
 
   95         static bool         isAudioPlaying();
 
   96         static void         showError(
const KAEvent&, 
const DateTime& alarmDateTime, 
const QStringList& errmsgs,
 
   98         static bool         spread(
bool scatter);
 
  105         virtual void        saveProperties(KConfigGroup&);
 
  106         virtual void        readProperties(
const KConfigGroup&);
 
  113         void                editCloseCancel();
 
  114         void                activeWindowChanged(WId);
 
  115         void                checkDeferralLimit();
 
  116         void                displayMainWindow();
 
  118         void                showRestoredAlarm();
 
  120 #ifdef KMAIL_SUPPORTED 
  121         void                slotShowKMailMessage();
 
  124         void                audioTerminating();
 
  128         void                enableButtons();
 
  129         void                setRemainingTextDay();
 
  130         void                setRemainingTextMinute();
 
  139         void                displayComplete();
 
  140         void                setButtonsReadOnly(
bool);
 
  141         bool                getWorkAreaAndModal();
 
  143         void                setDeferralLimit(
const KAEvent&);
 
  144         void                alarmShowing(KAEvent&);
 
  146         bool                retrieveEvent(KAEvent&, Akonadi::Collection&, 
bool& showEdit, 
bool& showDefer);
 
  148         bool                retrieveEvent(KAEvent&, AlarmResource*&, 
bool& showEdit, 
bool& showDefer);
 
  150         bool                haveErrorMessage(
unsigned msg) 
const;
 
  151         void                clearErrorMessage(
unsigned msg) 
const;
 
  152         void                redisplayAlarm();
 
  154         static bool         reinstateFromDisplaying(
const KCalCore::Event::Ptr&, KAEvent&, Akonadi::Collection&, 
bool& showEdit, 
bool& showDefer);
 
  156         static bool         reinstateFromDisplaying(
const KCal::Event*, KAEvent&, AlarmResource*&, 
bool& showEdit, 
bool& showDefer);
 
  158         static bool         isSpread(
const QPoint& topLeft);
 
  166         static bool         mRedisplayed;     
 
  172         QColor              mBgColour, mFgColour;
 
  176         Akonadi::Item::Id   mEventItemId;
 
  185         int                 mDefaultDeferMinutes;
 
  186         KAAlarm::Type       mAlarmType;
 
  187         KAEvent::SubAction  mAction;
 
  188         unsigned long       mKMailSerialNumber; 
 
  189         KAEvent::CmdErrType mCommandError;
 
  193         int                 mAudioRepeatPause;
 
  200         KAEvent             mOriginalEvent;   
 
  202         Akonadi::Collection mCollection;      
 
  204         AlarmResource*      mResource;        
 
  214         MessageText*        mCommandText;     
 
  228         bool                mRescheduleEvent; 
 
  231         bool                mNoCloseConfirm;  
 
  232         bool                mDisableDeferral; 
 
  235 #endif // MESSAGEWIN_H 
The MainWindowBase class is a base class for KAlarm's main window and message window. 
MessageWin: A window to display an alarm or error message. 
const DateTime & dateTime()
KAAlarm::Type alarmType() const 
Unique event identifier for Akonadi. 
bool alwaysHidden() 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.