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

TinyKate Class Reference

#include </home/clem/local/src/opie/noncore/apps/tinykate/mainwindow/tinykate.h>

Collaboration diagram for TinyKate:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotNew ()
void setDocument (const QString &fileref)

Public Member Functions

 TinyKate (QWidget *parent=0, const char *name=0, WFlags f=0)
 ~TinyKate ()

Static Public Member Functions

static QString appName ()

Protected Slots

void slotOpen ()
void slotClose ()
void slotCurrentChanged (QWidget *)
void slotSave ()
void slotSaveAs ()

Protected Member Functions

void open (const QString &)

Private Attributes

QString currentFileName
Opie::Ui::OTabWidgettabwidget
KTextEditor::ViewcurrentView
bool shutDown
QToolButton * editCopy
QToolButton * editCut
QToolButton * editPaste
QToolButton * editUndo
QToolButton * editRedo
QToolButton * editFindReplace
QAction * viewIncFontSizes
QAction * viewDecFontSizes
QAction * utilSettings
QPopupMenu * hlmenu
uint nextUnnamed
uint viewCount

Constructor & Destructor Documentation

TinyKate::TinyKate QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0
 

Definition at line 37 of file tinykate.cpp.

References currentView, editCopy, editCut, editFindReplace, editPaste, editRedo, editUndo, hlmenu, HlManager::hlName(), i, Opie::Core::OResource::loadPixmap(), nextUnnamed, QString::null, open(), qApp, HlManager::self(), KGlobal::setAppName(), shutDown, slotClose(), slotCurrentChanged(), slotNew(), slotOpen(), slotSave(), slotSaveAs(), Opie::Core::OResource::SmallIcon, tabwidget, tr, utilSettings, viewCount, viewDecFontSizes, and viewIncFontSizes.

TinyKate::~TinyKate  ) 
 

Definition at line 173 of file tinykate.cpp.

References KGlobal::config(), currentView, oendl, owarn, shutDown, and slotClose().


Member Function Documentation

static QString TinyKate::appName  )  [inline, static]
 

Definition at line 36 of file tinykate.h.

References QString::fromLatin1().

void TinyKate::open const QString  )  [protected]
 

Definition at line 200 of file tinykate.cpp.

References Opie::Ui::OTabWidget::addTab(), KateDocument::createView(), AppLnk::file(), QFileInfo::fileName(), QString::find(), odebug, oendl, KateDocument::open(), KateDocument::setDocName(), tabwidget, tr, viewCount, and warning().

Referenced by setDocument(), slotOpen(), and TinyKate().

void TinyKate::setDocument const QString fileref  )  [slot]
 

Definition at line 234 of file tinykate.cpp.

References open().

void TinyKate::slotClose  )  [protected, slot]
 

Definition at line 279 of file tinykate.cpp.

References currentView, KTextEditor::View::document(), Opie::Ui::OTabWidget::removePage(), shutDown, slotNew(), tabwidget, and viewCount.

Referenced by TinyKate(), and ~TinyKate().

void TinyKate::slotCurrentChanged QWidget *   )  [protected, slot]
 

Definition at line 239 of file tinykate.cpp.

References currentView, editCopy, editCut, editPaste, editRedo, editUndo, hlmenu, utilSettings, viewDecFontSizes, and viewIncFontSizes.

Referenced by TinyKate().

void TinyKate::slotNew  )  [slot]
 

Definition at line 269 of file tinykate.cpp.

References Opie::Ui::OTabWidget::addTab(), KateDocument::createView(), nextUnnamed, tabwidget, tr, and viewCount.

Referenced by slotClose(), and TinyKate().

void TinyKate::slotOpen  )  [protected, slot]
 

Definition at line 190 of file tinykate.cpp.

References OFileSelector::EXTENDED_ALL, OFileDialog::getOpenFileName(), QString::isEmpty(), QString::null, and open().

Referenced by TinyKate().

void TinyKate::slotSave  )  [protected, slot]
 

Definition at line 290 of file tinykate.cpp.

References currentView, KateDocument::docName(), KTextEditor::View::document(), KateDocument::saveFile(), and slotSaveAs().

Referenced by TinyKate().

void TinyKate::slotSaveAs  )  [protected, slot]
 

Definition at line 306 of file tinykate.cpp.

References currentView, KTextEditor::View::document(), OFileSelector::EXTENDED_ALL, QFileInfo::fileName(), OFileDialog::getSaveFileName(), QString::isEmpty(), QString::null, odebug, oendl, KateDocument::saveFile(), KateDocument::setDocFile(), and KateDocument::setDocName().

Referenced by slotSave(), and TinyKate().


Member Data Documentation

QString TinyKate::currentFileName [private]
 

Definition at line 52 of file tinykate.h.

KTextEditor::View* TinyKate::currentView [private]
 

Definition at line 54 of file tinykate.h.

Referenced by slotClose(), slotCurrentChanged(), slotSave(), slotSaveAs(), TinyKate(), and ~TinyKate().

QToolButton* TinyKate::editCopy [private]
 

Definition at line 57 of file tinykate.h.

Referenced by slotCurrentChanged(), and TinyKate().

QToolButton * TinyKate::editCut [private]
 

Definition at line 57 of file tinykate.h.

Referenced by slotCurrentChanged(), and TinyKate().

QToolButton * TinyKate::editFindReplace [private]
 

Definition at line 57 of file tinykate.h.

Referenced by TinyKate().

QToolButton * TinyKate::editPaste [private]
 

Definition at line 57 of file tinykate.h.

Referenced by slotCurrentChanged(), and TinyKate().

QToolButton * TinyKate::editRedo [private]
 

Definition at line 57 of file tinykate.h.

Referenced by slotCurrentChanged(), and TinyKate().

QToolButton * TinyKate::editUndo [private]
 

Definition at line 57 of file tinykate.h.

Referenced by slotCurrentChanged(), and TinyKate().

QPopupMenu* TinyKate::hlmenu [private]
 

Definition at line 60 of file tinykate.h.

Referenced by slotCurrentChanged(), and TinyKate().

uint TinyKate::nextUnnamed [private]
 

Definition at line 61 of file tinykate.h.

Referenced by slotNew(), and TinyKate().

bool TinyKate::shutDown [private]
 

Definition at line 55 of file tinykate.h.

Referenced by slotClose(), TinyKate(), and ~TinyKate().

Opie::Ui::OTabWidget* TinyKate::tabwidget [private]
 

Definition at line 53 of file tinykate.h.

Referenced by open(), slotClose(), slotNew(), and TinyKate().

QAction * TinyKate::utilSettings [private]
 

Definition at line 58 of file tinykate.h.

Referenced by slotCurrentChanged(), and TinyKate().

uint TinyKate::viewCount [private]
 

Definition at line 62 of file tinykate.h.

Referenced by open(), slotClose(), slotNew(), and TinyKate().

QAction * TinyKate::viewDecFontSizes [private]
 

Definition at line 58 of file tinykate.h.

Referenced by slotCurrentChanged(), and TinyKate().

QAction* TinyKate::viewIncFontSizes [private]
 

Definition at line 58 of file tinykate.h.

Referenced by slotCurrentChanged(), and TinyKate().


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