kexi
datatableaction.h
00001 /*************************************************************************** 00002 * This file is part of the KDE project 00003 * copyright (C) 2006 by Sebastian Sauer (mail@dipe.org) 00004 * 00005 * This program is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Library General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Library General Public License for more details. 00013 * You should have received a copy of the GNU Library General Public License 00014 * along with this program; see the file COPYING. If not, write to 00015 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00016 * Boston, MA 02110-1301, USA. 00017 ***************************************************************************/ 00018 00019 #ifndef KEXIMACRO_DATATABLEACTION_H 00020 #define KEXIMACRO_DATATABLEACTION_H 00021 00022 #include "kexiaction.h" 00023 00024 class KexiMainWindow; 00025 00026 namespace KoMacro { 00027 class Context; 00028 } 00029 00030 namespace KexiMacro { 00031 00037 class DataTableAction : public KexiAction 00038 { 00039 Q_OBJECT 00040 public: 00041 00045 DataTableAction(); 00046 00050 virtual ~DataTableAction(); 00051 00063 virtual bool notifyUpdated(KSharedPtr<KoMacro::MacroItem> macroitem, const QString& name); 00064 00065 public slots: 00066 00071 virtual void activate(KSharedPtr<KoMacro::Context> context); 00072 00073 }; 00074 } 00075 00076 #endif