Blokkal
an Extendable KDE Blogging Client
SourceForge.net Logo

Blokkal::Ui::SecondaryWindow Class Reference

Base class for mainwindows that do not quit the application. More...

#include <secondarywindow.h>

Inheritance diagram for Blokkal::Ui::SecondaryWindow:

Blokkal::Ui::MainWindowView

List of all members.


Public Member Functions

 SecondaryWindow (QWidget *parent=0, Qt::WindowFlags flags=KDE_DEFAULT_WINDOWFLAGS)
virtual ~SecondaryWindow (void)

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)

Detailed Description

Base class for mainwindows that do not quit the application.

This class has a custom implementation of closeEvent() that prevents it from quiting the host application if a Blokkal::Ui::SystemTray is present.

Author:
Martin Mueller <orvio@orvio.de>

Definition at line 38 of file secondarywindow.h.


Constructor & Destructor Documentation

Blokkal::Ui::SecondaryWindow::SecondaryWindow ( QWidget *  parent = 0,
Qt::WindowFlags  flags = KDE_DEFAULT_WINDOWFLAGS 
)

Creates a new SecondaryWindow.

Parameters:
parent parent widget
flags widget flags

Definition at line 30 of file secondarywindow.cpp.

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

Destructor

Definition at line 35 of file secondarywindow.cpp.


Member Function Documentation

void Blokkal::Ui::SecondaryWindow::closeEvent ( QCloseEvent *  event  )  [protected, virtual]

Reimplemented to keep entry windows from quiting the host application

Parameters:
event the close event

Definition at line 38 of file secondarywindow.cpp.


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