Blokkal
an Extendable KDE Blogging Client
SourceForge.net Logo

Blokkal::Ui::View Class Reference

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

#include <view.h>

Inheritance diagram for Blokkal::Ui::View:

Blokkal::Ui::MainWindowView

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

static
Blokkal::Ui::HtmlEntryTextEdit
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.

Note:
Views are expected to destroy themselves!
Author:
Martin Mueller <orvio@orvio.de>

Definition at line 41 of file view.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 24 of file view.cpp.

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

Destructor

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.

Note:
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]

Returns:
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.

Returns:
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: