Eneboo - Documentación para desarrolladores
|
00001 /*************************************************************************** 00002 AQSActionMD_p.h 00003 ------------------- 00004 begin : 05/04/2011 00005 copyright : (C) 2003-2011 by InfoSiAL S.L. 00006 email : mail@infosial.com 00007 ***************************************************************************/ 00008 /*************************************************************************** 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; version 2 of the License. * 00012 ***************************************************************************/ 00013 /*************************************************************************** 00014 Este programa es software libre. Puede redistribuirlo y/o modificarlo 00015 bajo los términos de la Licencia Pública General de GNU en su 00016 versión 2, publicada por la Free Software Foundation. 00017 ***************************************************************************/ 00018 00019 #ifndef AQSACTIONMD_P_H_ 00020 #define AQSACTIONMD_P_H_ 00021 00022 #include "AQSVoidPtr_p.h" 00023 #include "AQObjects.h" 00024 00025 class AQSActionMD : public AQSVoidPtr 00026 { 00027 Q_OBJECT 00028 00029 AQ_DECLARE_AQS_VOID_AQOBJECT(ActionMD, VoidPtr); 00030 00031 protected: 00032 void specializedInternalFinish() { 00033 if (!wrap_) 00034 delete o_; 00035 } 00036 00037 //@AQ_BEGIN_DEF_PUB_SLOTS@ 00038 public slots: 00039 void setName(const QString &); 00040 void setScriptFormRecord(const QString &); 00041 void setScriptForm(const QString &); 00042 void setTable(const QString &); 00043 void setForm(const QString &); 00044 void setFormRecord(const QString &); 00045 void setCaption(const QString &); 00046 QString name() const; 00047 QString scriptFormRecord() const; 00048 QString scriptForm() const; 00049 QString table() const; 00050 QString caption() const; 00051 QString form() const; 00052 QString formRecord() const; 00053 00054 protected: 00055 static void *construct(const QSArgumentList &args) { 00056 QMap<int, QStringList> candidates; 00057 candidates[0].append(QString::null); 00058 QString sgt(castArgsSignature(args, candidates)); 00059 if (sgt.isEmpty()) 00060 return new AQActionMD; 00061 return 0; 00062 } 00063 00064 public: 00065 static QMap<int, QStringList> candidateConstructors() { 00066 QMap<int, QStringList> candidates; 00067 candidates[0].append(QString::null); 00068 return candidates; 00069 } 00070 //@AQ_END_DEF_PUB_SLOTS@ 00071 }; 00072 00073 //@AQ_BEGIN_IMP_PUB_SLOTS@ 00074 inline void AQSActionMD::setName(const QString &arg0) 00075 { 00076 AQ_CALL_VOID(setName(arg0)); 00077 } 00078 inline void AQSActionMD::setScriptFormRecord(const QString &arg0) 00079 { 00080 AQ_CALL_VOID(setScriptFormRecord(arg0)); 00081 } 00082 inline void AQSActionMD::setScriptForm(const QString &arg0) 00083 { 00084 AQ_CALL_VOID(setScriptForm(arg0)); 00085 } 00086 inline void AQSActionMD::setTable(const QString &arg0) 00087 { 00088 AQ_CALL_VOID(setTable(arg0)); 00089 } 00090 inline void AQSActionMD::setForm(const QString &arg0) 00091 { 00092 AQ_CALL_VOID(setForm(arg0)); 00093 } 00094 inline void AQSActionMD::setFormRecord(const QString &arg0) 00095 { 00096 AQ_CALL_VOID(setFormRecord(arg0)); 00097 } 00098 inline void AQSActionMD::setCaption(const QString &arg0) 00099 { 00100 AQ_CALL_VOID(setCaption(arg0)); 00101 } 00102 inline QString AQSActionMD::name() const 00103 { 00104 AQ_CALL_RET_V(name(), QString); 00105 } 00106 inline QString AQSActionMD::scriptFormRecord() const 00107 { 00108 AQ_CALL_RET_V(scriptFormRecord(), QString); 00109 } 00110 inline QString AQSActionMD::scriptForm() const 00111 { 00112 AQ_CALL_RET_V(scriptForm(), QString); 00113 } 00114 inline QString AQSActionMD::table() const 00115 { 00116 AQ_CALL_RET_V(table(), QString); 00117 } 00118 inline QString AQSActionMD::caption() const 00119 { 00120 AQ_CALL_RET_V(caption(), QString); 00121 } 00122 inline QString AQSActionMD::form() const 00123 { 00124 AQ_CALL_RET_V(form(), QString); 00125 } 00126 inline QString AQSActionMD::formRecord() const 00127 { 00128 AQ_CALL_RET_V(formRecord(), QString); 00129 } 00130 //@AQ_END_IMP_PUB_SLOTS@ 00131 00132 #endif /* AQSACTIONMD_P_H_ */ 00133 // @AQOBJECT_VOID@