kexi

kexiapppart.h
1/***************************************************************************
2 * kexiapppart.h
3 * This file is part of the KDE project
4 * copyright (C)2006 by Sebastian Sauer (mail@dipe.org)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
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 KROSS_KEXIAPP_KEXIAPPPART_H
21#define KROSS_KEXIAPP_KEXIAPPPART_H
22
23#include <tqstring.h>
24#include <tqvariant.h>
25
26#include <api/object.h>
27#include <api/variant.h>
28#include <api/class.h>
29
30// Forward declarations.
31namespace KexiPart {
32 class Item;
33 class Part;
34}
35
36namespace Kross { namespace KexiApp {
37
41 class KexiAppPartItem : public Kross::Api::Class<KexiAppPartItem>
42 {
43 public:
44 KexiAppPartItem(KexiPart::Item*);
45 virtual ~KexiAppPartItem() {}
46 virtual const TQString getClassName() const { return "Kross::KexiApp::KexiAppPartItem"; }
47
48 KexiPart::Item* item() { return m_item; }
49 private:
50 KexiPart::Item* m_item;
51 };
52
53}}
54
55#endif
56
Information about a single object that can be instantiated using Kexi Part.
The main class for kexi frontend parts like tables, queries, forms and reports.
Definition kexipart.h:66
Wrapper around the Kexi-application to access runtime information a running Kexi-application likes to...