Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

UndoHistory Class Reference

#include </home/clem/local/src/opie/noncore/apps/tinykate/libkate/view/kateundohistory.h>

Collaboration diagram for UndoHistory:

Collaboration graph
[legend]
List of all members.

Public Slots

void newUndo ()

Signals

void undo (int)
void redo (int)

Public Member Functions

 UndoHistory (KateView *, QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags f=0)
virtual ~UndoHistory ()

Protected Slots

void slotUndo ()
void slotRedo ()
void slotUndoSelChanged (int)
void slotRedoSelChanged (int)

Protected Attributes

KateViewkWrite
UndoListBoxlbUndo
UndoListBoxlbRedo
QPushButton * btnUndo
QPushButton * btnRedo

Constructor & Destructor Documentation

UndoHistory::UndoHistory KateView ,
QWidget *  parent = 0,
const char *  name = 0,
bool  modal = FALSE,
WFlags  f = 0
 

Constructed just like a regular QDialog

Definition at line 47 of file kateundohistory.cpp.

References btnRedo, btnUndo, i18n, lbRedo, lbUndo, newUndo(), slotRedo(), slotRedoSelChanged(), slotUndo(), and slotUndoSelChanged().

UndoHistory::~UndoHistory  )  [virtual]
 

Definition at line 105 of file kateundohistory.cpp.


Member Function Documentation

void UndoHistory::newUndo  )  [slot]
 

This should be called whenever a change occurs in the undo/redo list. Causes the dialog to update its interface.

Definition at line 108 of file kateundohistory.cpp.

References QValueList< T >::begin(), UndoListBox::clear(), QValueList< T >::end(), i18n, UndoListBox::insertItem(), kWrite, lbRedo, lbUndo, KateView::redoTypeList(), UndoListBox::selCount(), slotRedoSelChanged(), slotUndoSelChanged(), KateView::undoTypeList(), and KateView::undoTypeName().

Referenced by UndoHistory().

void UndoHistory::redo int   )  [signal]
 

Emitted when the user hits the Redo button. Specifies the number of undone operations to redo.

Referenced by slotRedo().

void UndoHistory::slotRedo  )  [protected, slot]
 

Definition at line 145 of file kateundohistory.cpp.

References lbRedo, lbUndo, redo(), UndoListBox::selCount(), and UndoListBox::setSelCount().

Referenced by UndoHistory().

void UndoHistory::slotRedoSelChanged int   )  [protected, slot]
 

Definition at line 157 of file kateundohistory.cpp.

References btnRedo.

Referenced by newUndo(), and UndoHistory().

void UndoHistory::slotUndo  )  [protected, slot]
 

Definition at line 139 of file kateundohistory.cpp.

References lbRedo, lbUndo, UndoListBox::selCount(), UndoListBox::setSelCount(), and undo().

Referenced by UndoHistory().

void UndoHistory::slotUndoSelChanged int   )  [protected, slot]
 

Definition at line 152 of file kateundohistory.cpp.

References btnUndo.

Referenced by newUndo(), and UndoHistory().

void UndoHistory::undo int   )  [signal]
 

Emitted when the user hits the Undo button. Specifies the number of operations to undo.

Referenced by slotUndo().


Member Data Documentation

QPushButton * UndoHistory::btnRedo [protected]
 

Definition at line 75 of file kateundohistory.h.

Referenced by slotRedoSelChanged(), and UndoHistory().

QPushButton* UndoHistory::btnUndo [protected]
 

Definition at line 75 of file kateundohistory.h.

Referenced by slotUndoSelChanged(), and UndoHistory().

KateView* UndoHistory::kWrite [protected]
 

Definition at line 71 of file kateundohistory.h.

Referenced by newUndo().

UndoListBox * UndoHistory::lbRedo [protected]
 

Definition at line 73 of file kateundohistory.h.

Referenced by newUndo(), slotRedo(), slotUndo(), and UndoHistory().

UndoListBox* UndoHistory::lbUndo [protected]
 

Definition at line 73 of file kateundohistory.h.

Referenced by newUndo(), slotRedo(), slotUndo(), and UndoHistory().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:54:38 2005 for OPIE by  doxygen 1.4.2