libyui-mga-qt
1.0.2
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
YMGAQWidgetFactory.cc
1
/*
2
Copyright (C) 2000-2012 Novell, Inc
3
This library is free software; you can redistribute it and/or modify
4
it under the terms of the GNU Lesser General Public License as
5
published by the Free Software Foundation; either version 2.1 of the
6
License, or (at your option) version 3.0 of the License. This library
7
is distributed in the hope that it will be useful, but WITHOUT ANY
8
WARRANTY; without even the implied warranty of MERCHANTABILITY or
9
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10
License for more details. You should have received a copy of the GNU
11
Lesser General Public License along with this library; if not, write
12
to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13
Floor, Boston, MA 02110-1301 USA
14
*/
15
16
17
/*-/
18
19
File: YMGAQWidgetFactory.cc
20
21
Author: Stefan Hundhammer <sh@suse.de>
22
23
/-*/
24
25
#include <QPoint>
26
#define YUILogComponent "mga-qt"
27
#include <yui/YUILog.h>
28
29
#include "YMGAQWidgetFactory.h"
30
#include <yui/qt/YQApplication.h>
31
#include <yui/qt/YQUI.h>
32
#include <yui/YUIException.h>
33
#include <YExternalWidgets.h>
34
35
36
#include <string>
37
38
#include "YMGA_QCBTable.h"
39
40
using
std::string;
41
42
43
YMGAQWidgetFactory::YMGAQWidgetFactory
()
44
: YMGAWidgetFactory()
45
{
46
// NOP
47
}
48
49
50
YMGAQWidgetFactory::~YMGAQWidgetFactory
()
51
{
52
// NOP
53
}
54
55
56
YMGA_CBTable *
57
YMGAQWidgetFactory::createCBTable( YWidget * parent, YTableHeader * header, YCBTableMode mode )
58
{
59
YMGA_QCBTable
* table =
new
YMGA_QCBTable
( parent, header, mode );
60
YUI_CHECK_NEW( table );
61
62
return
table;
63
}
64
YMGAQWidgetFactory::YMGAQWidgetFactory
YMGAQWidgetFactory()
Constructor.
Definition:
YMGAQWidgetFactory.cc:43
YMGA_QCBTable
Definition:
YMGA_QCBTable.h:38
YMGAQWidgetFactory::~YMGAQWidgetFactory
virtual ~YMGAQWidgetFactory()
Destructor.
Definition:
YMGAQWidgetFactory.cc:50
src
YMGAQWidgetFactory.cc
Generated by
1.8.8