kexi
keximacroerror.h
00001 /*************************************************************************** 00002 * This file is part of the KDE project 00003 * copyright (C) 2006 by Tobi Krebs (tobi.krebs@gmail.com) 00004 * copyright (C) 2006 by Bernd Steindorff (bernd@itii.de) 00005 * copyright (C) 2006 by Sascha Kupper (kusato@kfnv.de) 00006 * copyright (C) 2006 by Sebastian Sauer (mail@dipe.org) 00007 * 00008 * This program is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Library General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2 of the License, or (at your option) any later version. 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Library General Public License for more details. 00016 * You should have received a copy of the GNU Library General Public License 00017 * along with this program; see the file COPYING. If not, write to 00018 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 * Boston, MA 02110-1301, USA. 00020 ***************************************************************************/ 00021 00022 #ifndef KEXIMACROERROR_H 00023 #define KEXIMACROERROR_H 00024 00025 #include <qwidget.h> 00026 #include <qlabel.h> 00027 #include <qpushbutton.h> 00028 00029 #include <klistview.h> 00030 #include <klocale.h> 00031 #include <kiconloader.h> 00032 #include <kglobal.h> 00033 #include <kdebug.h> 00034 00035 #include "../lib/context.h" 00036 #include "../lib/exception.h" 00037 #include "../lib/macro.h" 00038 #include "../lib/macroitem.h" 00039 00040 #include "keximacroerrorbase.h" 00041 00042 // Forward-declarations. 00043 class KexiMainWindow; 00044 00050 class KexiMacroError : public KexiMacroErrorBase 00051 { 00052 Q_OBJECT 00053 00054 public: 00055 00062 KexiMacroError(KexiMainWindow* mainwin, KSharedPtr<KoMacro::Context> context); 00063 00067 virtual ~KexiMacroError(); 00068 00069 private slots: 00070 00074 void designbtnClicked(); 00075 00079 void continuebtnClicked(); 00080 00081 private: 00083 class Private; 00085 Private* const d; 00086 00087 }; 00088 00089 #endif