kexi

keximacroerror.h
1/***************************************************************************
2 * This file is part of the KDE project
3 * copyright (C) 2006 by Tobi Krebs (tobi.krebs@gmail.com)
4 * copyright (C) 2006 by Bernd Steindorff (bernd@itii.de)
5 * copyright (C) 2006 by Sascha Kupper (kusato@kfnv.de)
6 * copyright (C) 2006 by Sebastian Sauer (mail@dipe.org)
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public License
17 * along with this program; see the file COPYING. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 ***************************************************************************/
21
22#ifndef KEXIMACROERROR_H
23#define KEXIMACROERROR_H
24
25#include <tqwidget.h>
26#include <tqlabel.h>
27#include <tqpushbutton.h>
28
29#include <tdelistview.h>
30#include <tdelocale.h>
31#include <kiconloader.h>
32#include <tdeglobal.h>
33#include <kdebug.h>
34
35#include "../lib/context.h"
36#include "../lib/exception.h"
37#include "../lib/macro.h"
38#include "../lib/macroitem.h"
39
40#include "keximacroerrorbase.h"
41
42// Forward-declarations.
43class KexiMainWindow;
44
50class KexiMacroError : public KexiMacroErrorBase
51{
52 TQ_OBJECT
53
54
55 public:
56
63 KexiMacroError(KexiMainWindow* mainwin, TDESharedPtr<KoMacro::Context> context);
64
68 virtual ~KexiMacroError();
69
70 private slots:
71
75 void designbtnClicked();
76
80 void continuebtnClicked();
81
82 private:
84 class Private;
86 Private* const d;
87
88};
89
90#endif
KexiMacroError(KexiMainWindow *mainwin, TDESharedPtr< KoMacro::Context > context)
Constructor.
virtual ~KexiMacroError()
Destructor.
Kexi's main window interface This interface is implemented by KexiMainWindowImpl class.