Files
storyWriter/cwidget.cpp
T
Herwig Birke 41e0ac94cf .
2018-04-24 11:58:47 +02:00

39 lines
496 B
C++

#include "cwidget.h"
cWidget::cWidget(cPartWindow* parent) :
QWidget(parent),
m_type(TYPE_part),
m_lpWidget(parent),
m_lpWindow(0)
{
}
cWidget::cWidget(QWidget* parent) :
QWidget(parent),
m_type(TYPE_unknown),
m_lpWidget(0),
m_lpWindow(0)
{
}
void cWidget::setWindow(QMdiSubWindow* lpWindow)
{
m_lpWindow = lpWindow;
}
QMdiSubWindow* cWidget::window()
{
return(m_lpWindow);
}
QWidget* cWidget::widget()
{
return(m_lpWidget);
}
cWidget::TYPE cWidget::type()
{
return(m_type);
}