gui::SelfDestructiveWidget Class Reference

Widget destroying itself on certain signal. More...

#include <selfdestructivewidget.h>

Inheritance diagram for gui::SelfDestructiveWidget:
gui::AddItemDialog

List of all members.

Public Member Functions

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

Detailed Description

Widget destroying itself on certain signal.

Widget class that will destruct when appropriate signal from killer window is sent
Killer window can be any window, but must emit signal "selfDestruct()" for this widget to work
Used for helper dialogs that should close themselves when file/item they are editing is also closed


Constructor & Destructor Documentation

gui::SelfDestructiveWidget::SelfDestructiveWidget ( QWidget *  killer,
QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0 
)

Default constructor of Self destructive widget

Parameters:
killer Window that will destruct this widget
parent parent widget (passed to QWidget)
name name of this widget (passed to QWidget)
f Widget flags (passed to QWidget)
gui::SelfDestructiveWidget::~SelfDestructiveWidget (  ) 

default destructor


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