an Extendable KDE Blogging Client Logo

Blokkal::Ui::View Class Reference

This class is the base for all views. More...

#include <view.h>

Inheritance diagram for Blokkal::Ui::View:


List of all members.

Public Member Functions

virtual bool closeView (void)=0
virtual void hideView (void)=0
virtual QWidget * mainWidget (void)=0
virtual void showView (void)=0
 View (void)
virtual ~View (void)

Static Protected Member Functions

entryTextEdit (Blokkal::Ui::EditEntryWidget *widget)

Detailed Description

This class is the base for all views.

Views are containers used to display widgets like EditEntryWidget or may build all widgets on their own. In most cases implementations of this interface will be subclasses of KMainWindow or KDialogBase.

Views are expected to destroy themselves!
Martin Mueller <>

Definition at line 41 of file view.h.

Constructor & Destructor Documentation

Blokkal::Ui::View::View ( void   ) 


Definition at line 24 of file view.cpp.

Blokkal::Ui::View::~View ( void   )  [virtual]


Definition at line 27 of file view.cpp.

Member Function Documentation

virtual bool Blokkal::Ui::View::closeView ( void   )  [pure virtual]

Closes the view. If this method returns TRUE the view has been closed.

In this case the view must destroy itself.

Implemented in Blokkal::Ui::MainWindowView.

Blokkal::Ui::HtmlEntryTextEdit * Blokkal::Ui::View::entryTextEdit ( Blokkal::Ui::EditEntryWidget widget  )  [static, protected]

the HtmlEntryTextEdit of widget

Definition at line 30 of file view.cpp.

virtual void Blokkal::Ui::View::hideView ( void   )  [pure virtual]

Hides the view

Implemented in Blokkal::Ui::MainWindowView.

virtual QWidget* Blokkal::Ui::View::mainWidget ( void   )  [pure virtual]

Returns the main widget of this view.

the main widget

Implemented in Blokkal::Ui::MainWindowView.

virtual void Blokkal::Ui::View::showView ( void   )  [pure virtual]

Makes the view visible.

Implemented in Blokkal::Ui::MainWindowView.

The documentation for this class was generated from the following files: