• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kalarm

Classes | Public Types | Signals | Static Public Member Functions | Static Protected Member Functions | List of all members
Undo Class Reference

#include <undo.h>

Inheritance diagram for Undo:
Inheritance graph
[legend]

Classes

struct  Event
 
class  EventList
 

Public Types

typedef AutoDeleteList< UndoItem > List
 
enum  Type { NONE, UNDO, REDO }
 

Signals

void changed (const QString &undo, const QString &redo)
 

Static Public Member Functions

static QString actionText (Type)
 
static QString actionText (Type, int id)
 
static void clear ()
 
static QString description (Type, int id)
 
static void emitChanged ()
 
static bool haveRedo ()
 
static bool haveUndo ()
 
static QList< int > ids (Type)
 
static Undo * instance ()
 
static bool redo (QWidget *parent, const QString &action)
 
static bool redo (int id, QWidget *parent, const QString &action)
 
static void saveAdd (const KAEvent &, AlarmResource *, const QString &name=QString())
 
static void saveAdds (const EventList &, const QString &name=QString())
 
static void saveDelete (const Event &, const QString &name=QString())
 
static void saveDeletes (const EventList &, const QString &name=QString())
 
static void saveEdit (const Event &oldEvent, const KAEvent &newEvent)
 
static void saveReactivate (const KAEvent &, AlarmResource *, const QString &name=QString())
 
static void saveReactivates (const EventList &, const QString &name=QString())
 
static bool undo (QWidget *parent, const QString &action)
 
static bool undo (int id, QWidget *parent, const QString &action)
 
- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Static Protected Member Functions

static void add (UndoItem *, bool undo)
 
static void remove (UndoItem *, bool undo)
 
static void replace (UndoItem *old, UndoItem *New)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 

Additional Inherited Members

- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

Definition at line 43 of file undo.h.

Member Typedef Documentation

typedef AutoDeleteList<UndoItem> Undo::List

Definition at line 111 of file undo.h.

Member Enumeration Documentation

enum Undo::Type
Enumerator
NONE 
UNDO 
REDO 

Definition at line 47 of file undo.h.

Member Function Documentation

QString Undo::actionText ( Undo::Type  type)
static

Definition at line 504 of file undo.cpp.

QString Undo::actionText ( Undo::Type  type,
int  id 
)
static

Definition at line 513 of file undo.cpp.

void Undo::add ( UndoItem *  item,
bool  undo 
)
staticprotected

Definition at line 452 of file undo.cpp.

void Undo::changed ( const QString &  undo,
const QString &  redo 
)
signal
void Undo::clear ( )
static

Definition at line 291 of file undo.cpp.

QString Undo::description ( Undo::Type  type,
int  id 
)
static

Definition at line 522 of file undo.cpp.

void Undo::emitChanged ( )
static

Definition at line 588 of file undo.cpp.

static bool Undo::haveRedo ( )
inlinestatic

Definition at line 103 of file undo.h.

static bool Undo::haveUndo ( )
inlinestatic

Definition at line 102 of file undo.h.

QList< int > Undo::ids ( Undo::Type  type)
static

Definition at line 534 of file undo.cpp.

Undo * Undo::instance ( )
static

Definition at line 281 of file undo.cpp.

static bool Undo::redo ( QWidget *  parent,
const QString &  action 
)
inlinestatic

Definition at line 97 of file undo.h.

static bool Undo::redo ( int  id,
QWidget *  parent,
const QString &  action 
)
inlinestatic

Definition at line 99 of file undo.h.

void Undo::remove ( UndoItem *  item,
bool  undo 
)
staticprotected

Definition at line 476 of file undo.cpp.

void Undo::replace ( UndoItem *  old,
UndoItem *  New 
)
staticprotected

Definition at line 486 of file undo.cpp.

void Undo::saveAdd ( const KAEvent &  ,
AlarmResource *  ,
const QString &  name = QString() 
)
static

Definition at line 309 of file undo.cpp.

void Undo::saveAdds ( const EventList &  events,
const QString &  name = QString() 
)
static

Definition at line 315 of file undo.cpp.

void Undo::saveDelete ( const Event &  event,
const QString &  name = QString() 
)
static

Definition at line 334 of file undo.cpp.

void Undo::saveDeletes ( const EventList &  events,
const QString &  name = QString() 
)
static

Definition at line 341 of file undo.cpp.

void Undo::saveEdit ( const Event &  oldEvent,
const KAEvent &  newEvent 
)
static

Definition at line 327 of file undo.cpp.

void Undo::saveReactivate ( const KAEvent &  ,
AlarmResource *  ,
const QString &  name = QString() 
)
static

Definition at line 355 of file undo.cpp.

void Undo::saveReactivates ( const EventList &  events,
const QString &  name = QString() 
)
static

Definition at line 361 of file undo.cpp.

static bool Undo::undo ( QWidget *  parent,
const QString &  action 
)
inlinestatic

Definition at line 93 of file undo.h.

static bool Undo::undo ( int  id,
QWidget *  parent,
const QString &  action 
)
inlinestatic

Definition at line 95 of file undo.h.


The documentation for this class was generated from the following files:
  • undo.h
  • undo.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalarm

Skip menu "kalarm"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal