Eneboo - Documentación para desarrolladores
src/flbase/aqsobjects/AQSDomNodeList_p.h
Ir a la documentación de este archivo.
00001 /***************************************************************************
00002  AQSDomNodeList_p.h
00003  -------------------
00004  begin                : 15/02/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 AQSDOMNODELIST_P_H_
00020 #define AQSDOMNODELIST_P_H_
00021 
00022 #include "AQSDomNode_p.h"
00023 
00024 // @AQ_PTR_INDIRECTION@
00025 
00026 class AQSDomNodeList : public AQSVoidPtr
00027 {
00028   Q_OBJECT
00029 
00030   AQ_DECLARE_AQS_VOID(DomNodeList, VoidPtr);
00031 
00032 protected:
00033   void specializedInternalFinish() {
00034     if (!wrap_)
00035       delete o_;
00036   }
00037 
00038   //@AQ_BEGIN_DEF_PUB_SLOTS@
00039 public slots:
00040   virtual QDomNode *item(int) const;
00041   virtual uint length() const;
00042   uint count() const;
00043 
00044 protected:
00045   static void *construct(const QSArgumentList &args) {
00046     QMap<int, QStringList> candidates;
00047     candidates[0].append(QString::null);
00048     candidates[1].append(QString::fromLatin1("QDomNodeList*"));
00049     QString sgt(castArgsSignature(args, candidates));
00050     if (sgt.isEmpty())
00051       return new QDomNodeList;
00052     if (sgt == QString::fromLatin1("QDomNodeList*"))
00053       return new QDomNodeList(*argValue<QDomNodeList *>(args[0]));
00054     return 0;
00055   }
00056 
00057 public:
00058   static QMap<int, QStringList> candidateConstructors() {
00059     QMap<int, QStringList> candidates;
00060     candidates[0].append(QString::null);
00061     candidates[1].append(QString::fromLatin1("QDomNodeList*"));
00062     return candidates;
00063   }
00064   //@AQ_END_DEF_PUB_SLOTS@
00065 };
00066 
00067 //@AQ_BEGIN_IMP_PUB_SLOTS@
00068 inline QDomNode *AQSDomNodeList::item(int arg0) const
00069 {
00070   AQ_CALL_RET_PTR(item(arg0), QDomNode);
00071 }
00072 inline uint AQSDomNodeList::length() const
00073 {
00074   AQ_CALL_RET_V(length(), uint);
00075 }
00076 inline uint AQSDomNodeList::count() const
00077 {
00078   AQ_CALL_RET_V(count(), uint);
00079 }
00080 //@AQ_END_IMP_PUB_SLOTS@
00081 
00082 #endif /* AQSDOMNODELIST_P_H_ */
00083 // @AQSVOIDPTR@
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'