Fixes: coreplugin: remove 'fat' BaseView constructor

Details:  failed trial before the committee on un-qtish behaviour
This commit is contained in:
hjk
2009-01-26 14:49:26 +01:00
parent 62d78bb062
commit f4721eaae2
4 changed files with 14 additions and 30 deletions

View File

@@ -82,29 +82,10 @@ BaseView::BaseView(QObject *parent)
{
}
/*!
\fn BaseView::BaseView(const char *name, QWidget *widget, const QList<int> &context, Qt::DockWidgetArea position, QObject *parent)
Creates a view with the given properties.
\a name
\a widget
\a context
\a position
\a parent
*/
BaseView::BaseView(const char *name, QWidget *widget, const QList<int> &context, IView::ViewPosition position, QObject *parent)
: IView(parent),
m_viewName(name),
m_widget(widget),
m_context(context),
m_defaultPosition(position)
{
}
/*!
\fn BaseView::~BaseView()
Destructor also destroys the widget.
*/
BaseView::~BaseView()
{