kexi
keximacropart.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef KEXIMACROPART_H
00019 #define KEXIMACROPART_H
00020
00021
00022
00023 #include <kexi.h>
00024 #include <kexipart.h>
00025 #include <kexidialogbase.h>
00026
00030 class KexiMacroPart : public KexiPart::Part
00031 {
00032 Q_OBJECT
00033
00034 public:
00035
00043 KexiMacroPart(QObject *parent, const char *name, const QStringList& args);
00044
00048 virtual ~KexiMacroPart();
00049
00054 virtual bool execute(KexiPart::Item* item, QObject* sender = 0);
00055
00059 virtual QString i18nMessage(const QCString& englishMessage) const;
00060
00061 protected:
00062
00071 virtual KexiViewBase* createView(QWidget *parent,
00072 KexiDialogBase* dialog,
00073 KexiPart::Item& item,
00074 int viewMode = Kexi::DesignViewMode,
00075 QMap<QString,QString>* staticObjectArgs = 0);
00076
00080 virtual void initPartActions();
00081
00085 virtual void initInstanceActions();
00086
00087 private:
00089 class Private;
00091 Private* const d;
00092 };
00093
00094 #endif
00095
|