kexi

kexisimpleprintingpart.h
1/* This file is part of the KDE project
2 Copyright (C) 2005 Jaroslaw Staniek <js@iidea.pl>
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this program; see the file COPYING. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18*/
19
20#ifndef KEXISIMPLEPRINTINGPART_H
21#define KEXISIMPLEPRINTINGPART_H
22
23#include <kexidialogbase.h>
24#include <kexistaticpart.h>
25#include <kexipartitem.h>
26
27class KexiMainWin;
28namespace KexiDB
29{
30 class QuerySchema;
31 class Connection;
32}
33
34class KexiProject;
35
37class KexiSimplePrintingPart : public KexiPart::StaticPart
38{
39 TQ_OBJECT
40
41
42 public:
43 KexiSimplePrintingPart();
44 virtual ~KexiSimplePrintingPart();
45
46 protected:
47 virtual KexiViewBase* createView(TQWidget *parent, KexiDialogBase* dialog,
48 KexiPart::Item &item, int viewMode, TQMap<TQString,TQString>* staticObjectArgs);
49};
50
51#endif
52
Provides database connection, allowing queries and data modification.
Definition connection.h:62
KexiDB::QuerySchema provides information about database query.
Base class for child window of Kexi's main application window.
Information about a single object that can be instantiated using Kexi Part.
Static Kexi Part (plugin).
A project's main controller.
Definition kexiproject.h:68
virtual KexiViewBase * createView(TQWidget *parent, KexiDialogBase *dialog, KexiPart::Item &item, int viewMode, TQMap< TQString, TQString > *staticObjectArgs)
Base class for single view embeddable of in KexiDialogBase.
High-level database connectivity library with database backend drivers.