Eneboo - Documentación para desarrolladores
src/flbase/aqsobjects/AQSListViewItem_p.h
Ir a la documentación de este archivo.
00001 /***************************************************************************
00002  AQSListViewItem_p.h
00003  -------------------
00004  begin                : 30/01/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 AQSLISTVIEWITEM_P_H_
00020 #define AQSLISTVIEWITEM_P_H_
00021 
00022 #include "AQSFontMetrics_p.h"
00023 #include "AQSPixmap_p.h"
00024 #include <qlistview.h>
00025 
00026 class AQSListViewItem : public AQSVoidPtr
00027 {
00028   Q_OBJECT
00029 
00030   AQ_DECLARE_AQS_VOID(ListViewItem, VoidPtr);
00031 
00032   //@AQ_BEGIN_DEF_PUB_SLOTS@
00033 public slots:
00034   int height() const;
00035   void invalidateHeight();
00036   int totalHeight() const;
00037   int width(QFontMetrics *, const QListView *, int) const;
00038   int width(AQSFontMetrics *, const QListView *, int) const;
00039   void widthChanged(int = -1) const;
00040   int depth() const;
00041   void setText(int, const QString &);
00042   QString text(int) const;
00043   void setPixmap(int, QPixmap *);
00044   void setPixmap(int, AQSPixmap *);
00045   const QPixmap *pixmap(int) const;
00046   QString key(int, bool) const;
00047   int compare(QListViewItem *, int, bool) const;
00048   int compare(AQSListViewItem *, int, bool) const;
00049   void sortChildItems(int, bool);
00050   int childCount() const;
00051   bool isOpen() const;
00052   void setOpen(bool);
00053   void setup();
00054   void setSelected(bool);
00055   bool isSelected() const;
00056   QListViewItem *firstChild() const;
00057   QListViewItem *nextSibling() const;
00058   QListViewItem *parent() const;
00059   QListViewItem *itemAbove();
00060   QListViewItem *itemBelow();
00061   int itemPos() const;
00062   QListView *listView() const;
00063   void setSelectable(bool);
00064   bool isSelectable() const;
00065   void setExpandable(bool);
00066   bool isExpandable() const;
00067   void repaint() const;
00068   void sort();
00069   void moveItem(QListViewItem *);
00070   void moveItem(AQSListViewItem *);
00071   void setDragEnabled(bool);
00072   void setDropEnabled(bool);
00073   bool dragEnabled() const;
00074   bool dropEnabled() const;
00075   void setVisible(bool);
00076   bool isVisible() const;
00077   void setRenameEnabled(int, bool);
00078   bool renameEnabled(int) const;
00079   void startRename(int);
00080   void setEnabled(bool);
00081   bool isEnabled() const;
00082   virtual void setMultiLinesEnabled(bool);
00083   bool multiLinesEnabled() const;
00084 
00085 protected:
00086   static void *construct(const QSArgumentList &args) {
00087     QMap<int, QStringList> candidates;
00088     candidates[1].append(QString::fromLatin1("QListView*"));
00089     candidates[1].append(QString::fromLatin1("QListViewItem*"));
00090     candidates[2].append(QString::fromLatin1("QListView*,QListViewItem*"));
00091     candidates[2].append(QString::fromLatin1("QListViewItem*,QListViewItem*"));
00092     candidates[2].append(QString::fromLatin1("QListView*,QString"));
00093     candidates[3].append(QString::fromLatin1("QListView*,QString,QString"));
00094     candidates[4].append(QString::fromLatin1("QListView*,QString,QString,QString"));
00095     candidates[5].append(QString::fromLatin1("QListView*,QString,QString,QString,QString"));
00096     candidates[6].append(QString::fromLatin1("QListView*,QString,QString,QString,QString,QString"));
00097     candidates[7].append(QString::fromLatin1("QListView*,QString,QString,QString,QString,QString,QString"));
00098     candidates[8].append(QString::fromLatin1("QListView*,QString,QString,QString,QString,QString,QString,QString"));
00099     candidates[9].append(QString::fromLatin1("QListView*,QString,QString,QString,QString,QString,QString,QString,QString"));
00100     candidates[2].append(QString::fromLatin1("QListViewItem*,QString"));
00101     candidates[3].append(QString::fromLatin1("QListViewItem*,QString,QString"));
00102     candidates[4].append(QString::fromLatin1("QListViewItem*,QString,QString,QString"));
00103     candidates[5].append(QString::fromLatin1("QListViewItem*,QString,QString,QString,QString"));
00104     candidates[6].append(QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString"));
00105     candidates[7].append(QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString,QString"));
00106     candidates[8].append(QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString,QString,QString"));
00107     candidates[9].append(QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString,QString,QString,QString"));
00108     candidates[3].append(QString::fromLatin1("QListView*,QListViewItem*,QString"));
00109     candidates[4].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString"));
00110     candidates[5].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString"));
00111     candidates[6].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString"));
00112     candidates[7].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString"));
00113     candidates[8].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString,QString"));
00114     candidates[9].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString"));
00115     candidates[10].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString,QString"));
00116     candidates[3].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString"));
00117     candidates[4].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString"));
00118     candidates[5].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString"));
00119     candidates[6].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString"));
00120     candidates[7].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString"));
00121     candidates[8].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString,QString"));
00122     candidates[9].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString"));
00123     candidates[10].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString,QString"));
00124     QString sgt(castArgsSignature(args, candidates));
00125     if (sgt == QString::fromLatin1("QListView*"))
00126       return new QListViewItem(argValue<QListView *>(args[0]));
00127     if (sgt == QString::fromLatin1("QListViewItem*"))
00128       return new QListViewItem(argValue<QListViewItem *>(args[0]));
00129     if (sgt == QString::fromLatin1("QListView*,QListViewItem*"))
00130       return new QListViewItem(argValue<QListView *>(args[0]),
00131                                argValue<QListViewItem *>(args[1]));
00132     if (sgt == QString::fromLatin1("QListViewItem*,QListViewItem*"))
00133       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00134                                argValue<QListViewItem *>(args[1]));
00135     if (sgt == QString::fromLatin1("QListView*,QString"))
00136       return new QListViewItem(argValue<QListView *>(args[0]),
00137                                *(argValue<QString *>(args[1])));
00138     if (sgt == QString::fromLatin1("QListView*,QString,QString"))
00139       return new QListViewItem(argValue<QListView *>(args[0]),
00140                                *(argValue<QString *>(args[1])),
00141                                *(argValue<QString *>(args[2])));
00142     if (sgt == QString::fromLatin1("QListView*,QString,QString,QString"))
00143       return new QListViewItem(argValue<QListView *>(args[0]),
00144                                *(argValue<QString *>(args[1])),
00145                                *(argValue<QString *>(args[2])),
00146                                *(argValue<QString *>(args[3])));
00147     if (sgt == QString::fromLatin1("QListView*,QString,QString,QString,QString"))
00148       return new QListViewItem(argValue<QListView *>(args[0]),
00149                                *(argValue<QString *>(args[1])),
00150                                *(argValue<QString *>(args[2])),
00151                                *(argValue<QString *>(args[3])),
00152                                *(argValue<QString *>(args[4])));
00153     if (sgt == QString::fromLatin1("QListView*,QString,QString,QString,QString,QString"))
00154       return new QListViewItem(argValue<QListView *>(args[0]),
00155                                *(argValue<QString *>(args[1])),
00156                                *(argValue<QString *>(args[2])),
00157                                *(argValue<QString *>(args[3])),
00158                                *(argValue<QString *>(args[4])),
00159                                *(argValue<QString *>(args[5])));
00160     if (sgt == QString::fromLatin1("QListView*,QString,QString,QString,QString,QString,QString"))
00161       return new QListViewItem(argValue<QListView *>(args[0]),
00162                                *(argValue<QString *>(args[1])),
00163                                *(argValue<QString *>(args[2])),
00164                                *(argValue<QString *>(args[3])),
00165                                *(argValue<QString *>(args[4])),
00166                                *(argValue<QString *>(args[5])),
00167                                *(argValue<QString *>(args[6])));
00168     if (sgt == QString::fromLatin1("QListView*,QString,QString,QString,QString,QString,QString,QString"))
00169       return new QListViewItem(argValue<QListView *>(args[0]),
00170                                *(argValue<QString *>(args[1])),
00171                                *(argValue<QString *>(args[2])),
00172                                *(argValue<QString *>(args[3])),
00173                                *(argValue<QString *>(args[4])),
00174                                *(argValue<QString *>(args[5])),
00175                                *(argValue<QString *>(args[6])),
00176                                *(argValue<QString *>(args[7])));
00177     if (sgt == QString::fromLatin1("QListView*,QString,QString,QString,QString,QString,QString,QString,QString"))
00178       return new QListViewItem(argValue<QListView *>(args[0]),
00179                                *(argValue<QString *>(args[1])),
00180                                *(argValue<QString *>(args[2])),
00181                                *(argValue<QString *>(args[3])),
00182                                *(argValue<QString *>(args[4])),
00183                                *(argValue<QString *>(args[5])),
00184                                *(argValue<QString *>(args[6])),
00185                                *(argValue<QString *>(args[7])),
00186                                *(argValue<QString *>(args[8])));
00187     if (sgt == QString::fromLatin1("QListViewItem*,QString"))
00188       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00189                                *(argValue<QString *>(args[1])));
00190     if (sgt == QString::fromLatin1("QListViewItem*,QString,QString"))
00191       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00192                                *(argValue<QString *>(args[1])),
00193                                *(argValue<QString *>(args[2])));
00194     if (sgt == QString::fromLatin1("QListViewItem*,QString,QString,QString"))
00195       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00196                                *(argValue<QString *>(args[1])),
00197                                *(argValue<QString *>(args[2])),
00198                                *(argValue<QString *>(args[3])));
00199     if (sgt == QString::fromLatin1("QListViewItem*,QString,QString,QString,QString"))
00200       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00201                                *(argValue<QString *>(args[1])),
00202                                *(argValue<QString *>(args[2])),
00203                                *(argValue<QString *>(args[3])),
00204                                *(argValue<QString *>(args[4])));
00205     if (sgt == QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString"))
00206       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00207                                *(argValue<QString *>(args[1])),
00208                                *(argValue<QString *>(args[2])),
00209                                *(argValue<QString *>(args[3])),
00210                                *(argValue<QString *>(args[4])),
00211                                *(argValue<QString *>(args[5])));
00212     if (sgt == QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString,QString"))
00213       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00214                                *(argValue<QString *>(args[1])),
00215                                *(argValue<QString *>(args[2])),
00216                                *(argValue<QString *>(args[3])),
00217                                *(argValue<QString *>(args[4])),
00218                                *(argValue<QString *>(args[5])),
00219                                *(argValue<QString *>(args[6])));
00220     if (sgt == QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString,QString,QString"))
00221       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00222                                *(argValue<QString *>(args[1])),
00223                                *(argValue<QString *>(args[2])),
00224                                *(argValue<QString *>(args[3])),
00225                                *(argValue<QString *>(args[4])),
00226                                *(argValue<QString *>(args[5])),
00227                                *(argValue<QString *>(args[6])),
00228                                *(argValue<QString *>(args[7])));
00229     if (sgt == QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString,QString,QString,QString"))
00230       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00231                                *(argValue<QString *>(args[1])),
00232                                *(argValue<QString *>(args[2])),
00233                                *(argValue<QString *>(args[3])),
00234                                *(argValue<QString *>(args[4])),
00235                                *(argValue<QString *>(args[5])),
00236                                *(argValue<QString *>(args[6])),
00237                                *(argValue<QString *>(args[7])),
00238                                *(argValue<QString *>(args[8])));
00239     if (sgt == QString::fromLatin1("QListView*,QListViewItem*,QString"))
00240       return new QListViewItem(argValue<QListView *>(args[0]),
00241                                argValue<QListViewItem *>(args[1]),
00242                                *(argValue<QString *>(args[2])));
00243     if (sgt == QString::fromLatin1("QListView*,QListViewItem*,QString,QString"))
00244       return new QListViewItem(argValue<QListView *>(args[0]),
00245                                argValue<QListViewItem *>(args[1]),
00246                                *(argValue<QString *>(args[2])),
00247                                *(argValue<QString *>(args[3])));
00248     if (sgt == QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString"))
00249       return new QListViewItem(argValue<QListView *>(args[0]),
00250                                argValue<QListViewItem *>(args[1]),
00251                                *(argValue<QString *>(args[2])),
00252                                *(argValue<QString *>(args[3])),
00253                                *(argValue<QString *>(args[4])));
00254     if (sgt == QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString"))
00255       return new QListViewItem(argValue<QListView *>(args[0]),
00256                                argValue<QListViewItem *>(args[1]),
00257                                *(argValue<QString *>(args[2])),
00258                                *(argValue<QString *>(args[3])),
00259                                *(argValue<QString *>(args[4])),
00260                                *(argValue<QString *>(args[5])));
00261     if (sgt == QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString"))
00262       return new QListViewItem(argValue<QListView *>(args[0]),
00263                                argValue<QListViewItem *>(args[1]),
00264                                *(argValue<QString *>(args[2])),
00265                                *(argValue<QString *>(args[3])),
00266                                *(argValue<QString *>(args[4])),
00267                                *(argValue<QString *>(args[5])),
00268                                *(argValue<QString *>(args[6])));
00269     if (sgt == QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString,QString"))
00270       return new QListViewItem(argValue<QListView *>(args[0]),
00271                                argValue<QListViewItem *>(args[1]),
00272                                *(argValue<QString *>(args[2])),
00273                                *(argValue<QString *>(args[3])),
00274                                *(argValue<QString *>(args[4])),
00275                                *(argValue<QString *>(args[5])),
00276                                *(argValue<QString *>(args[6])),
00277                                *(argValue<QString *>(args[7])));
00278     if (sgt == QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString"))
00279       return new QListViewItem(argValue<QListView *>(args[0]),
00280                                argValue<QListViewItem *>(args[1]),
00281                                *(argValue<QString *>(args[2])),
00282                                *(argValue<QString *>(args[3])),
00283                                *(argValue<QString *>(args[4])),
00284                                *(argValue<QString *>(args[5])),
00285                                *(argValue<QString *>(args[6])),
00286                                *(argValue<QString *>(args[7])),
00287                                *(argValue<QString *>(args[8])));
00288     if (sgt == QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString,QString"))
00289       return new QListViewItem(argValue<QListView *>(args[0]),
00290                                argValue<QListViewItem *>(args[1]),
00291                                *(argValue<QString *>(args[2])),
00292                                *(argValue<QString *>(args[3])),
00293                                *(argValue<QString *>(args[4])),
00294                                *(argValue<QString *>(args[5])),
00295                                *(argValue<QString *>(args[6])),
00296                                *(argValue<QString *>(args[7])),
00297                                *(argValue<QString *>(args[8])),
00298                                *(argValue<QString *>(args[9])));
00299     if (sgt == QString::fromLatin1("QListViewItem*,QListViewItem*,QString"))
00300       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00301                                argValue<QListViewItem *>(args[1]),
00302                                *(argValue<QString *>(args[2])));
00303     if (sgt == QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString"))
00304       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00305                                argValue<QListViewItem *>(args[1]),
00306                                *(argValue<QString *>(args[2])),
00307                                *(argValue<QString *>(args[3])));
00308     if (sgt == QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString"))
00309       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00310                                argValue<QListViewItem *>(args[1]),
00311                                *(argValue<QString *>(args[2])),
00312                                *(argValue<QString *>(args[3])),
00313                                *(argValue<QString *>(args[4])));
00314     if (sgt == QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString"))
00315       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00316                                argValue<QListViewItem *>(args[1]),
00317                                *(argValue<QString *>(args[2])),
00318                                *(argValue<QString *>(args[3])),
00319                                *(argValue<QString *>(args[4])),
00320                                *(argValue<QString *>(args[5])));
00321     if (sgt == QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString"))
00322       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00323                                argValue<QListViewItem *>(args[1]),
00324                                *(argValue<QString *>(args[2])),
00325                                *(argValue<QString *>(args[3])),
00326                                *(argValue<QString *>(args[4])),
00327                                *(argValue<QString *>(args[5])),
00328                                *(argValue<QString *>(args[6])));
00329     if (sgt == QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString,QString"))
00330       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00331                                argValue<QListViewItem *>(args[1]),
00332                                *(argValue<QString *>(args[2])),
00333                                *(argValue<QString *>(args[3])),
00334                                *(argValue<QString *>(args[4])),
00335                                *(argValue<QString *>(args[5])),
00336                                *(argValue<QString *>(args[6])),
00337                                *(argValue<QString *>(args[7])));
00338     if (sgt == QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString"))
00339       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00340                                argValue<QListViewItem *>(args[1]),
00341                                *(argValue<QString *>(args[2])),
00342                                *(argValue<QString *>(args[3])),
00343                                *(argValue<QString *>(args[4])),
00344                                *(argValue<QString *>(args[5])),
00345                                *(argValue<QString *>(args[6])),
00346                                *(argValue<QString *>(args[7])),
00347                                *(argValue<QString *>(args[8])));
00348     if (sgt == QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString,QString"))
00349       return new QListViewItem(argValue<QListViewItem *>(args[0]),
00350                                argValue<QListViewItem *>(args[1]),
00351                                *(argValue<QString *>(args[2])),
00352                                *(argValue<QString *>(args[3])),
00353                                *(argValue<QString *>(args[4])),
00354                                *(argValue<QString *>(args[5])),
00355                                *(argValue<QString *>(args[6])),
00356                                *(argValue<QString *>(args[7])),
00357                                *(argValue<QString *>(args[8])),
00358                                *(argValue<QString *>(args[9])));
00359     return 0;
00360   }
00361 
00362 public:
00363   static QMap<int, QStringList> candidateConstructors() {
00364     QMap<int, QStringList> candidates;
00365     candidates[1].append(QString::fromLatin1("QListView*"));
00366     candidates[1].append(QString::fromLatin1("QListViewItem*"));
00367     candidates[2].append(QString::fromLatin1("QListView*,QListViewItem*"));
00368     candidates[2].append(QString::fromLatin1("QListViewItem*,QListViewItem*"));
00369     candidates[2].append(QString::fromLatin1("QListView*,QString"));
00370     candidates[3].append(QString::fromLatin1("QListView*,QString,QString"));
00371     candidates[4].append(QString::fromLatin1("QListView*,QString,QString,QString"));
00372     candidates[5].append(QString::fromLatin1("QListView*,QString,QString,QString,QString"));
00373     candidates[6].append(QString::fromLatin1("QListView*,QString,QString,QString,QString,QString"));
00374     candidates[7].append(QString::fromLatin1("QListView*,QString,QString,QString,QString,QString,QString"));
00375     candidates[8].append(QString::fromLatin1("QListView*,QString,QString,QString,QString,QString,QString,QString"));
00376     candidates[9].append(QString::fromLatin1("QListView*,QString,QString,QString,QString,QString,QString,QString,QString"));
00377     candidates[2].append(QString::fromLatin1("QListViewItem*,QString"));
00378     candidates[3].append(QString::fromLatin1("QListViewItem*,QString,QString"));
00379     candidates[4].append(QString::fromLatin1("QListViewItem*,QString,QString,QString"));
00380     candidates[5].append(QString::fromLatin1("QListViewItem*,QString,QString,QString,QString"));
00381     candidates[6].append(QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString"));
00382     candidates[7].append(QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString,QString"));
00383     candidates[8].append(QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString,QString,QString"));
00384     candidates[9].append(QString::fromLatin1("QListViewItem*,QString,QString,QString,QString,QString,QString,QString,QString"));
00385     candidates[3].append(QString::fromLatin1("QListView*,QListViewItem*,QString"));
00386     candidates[4].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString"));
00387     candidates[5].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString"));
00388     candidates[6].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString"));
00389     candidates[7].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString"));
00390     candidates[8].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString,QString"));
00391     candidates[9].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString"));
00392     candidates[10].append(QString::fromLatin1("QListView*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString,QString"));
00393     candidates[3].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString"));
00394     candidates[4].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString"));
00395     candidates[5].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString"));
00396     candidates[6].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString"));
00397     candidates[7].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString"));
00398     candidates[8].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString,QString"));
00399     candidates[9].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString"));
00400     candidates[10].append(QString::fromLatin1("QListViewItem*,QListViewItem*,QString,QString,QString,QString,QString,QString,QString,QString"));
00401     return candidates;
00402   }
00403   //@AQ_END_DEF_PUB_SLOTS@
00404 };
00405 
00406 //@AQ_BEGIN_IMP_PUB_SLOTS@
00407 inline int AQSListViewItem::height() const
00408 {
00409   AQ_CALL_RET_V(height(), int);
00410 }
00411 inline void AQSListViewItem::invalidateHeight()
00412 {
00413   AQ_CALL_VOID(invalidateHeight());
00414 }
00415 inline int AQSListViewItem::totalHeight() const
00416 {
00417   AQ_CALL_RET_V(totalHeight(), int);
00418 }
00419 inline int AQSListViewItem::width(QFontMetrics *arg0,  const QListView *arg1,  int arg2) const
00420 {
00421   AQ_CALL_RET_V(width(*arg0, arg1, arg2), int);
00422 }
00423 inline int AQSListViewItem::width(AQSFontMetrics *arg0,  const QListView *arg1,  int arg2) const
00424 {
00425   AQ_CALL_RET_V(width(*arg0, arg1, arg2), int);
00426 }
00427 inline void AQSListViewItem::widthChanged(int arg0) const
00428 {
00429   AQ_CALL_VOID(widthChanged(arg0));
00430 }
00431 inline int AQSListViewItem::depth() const
00432 {
00433   AQ_CALL_RET_V(depth(), int);
00434 }
00435 inline void AQSListViewItem::setText(int arg0,  const QString &arg1)
00436 {
00437   AQ_CALL_VOID(setText(arg0, arg1));
00438 }
00439 inline QString AQSListViewItem::text(int arg0) const
00440 {
00441   AQ_CALL_RET_V(text(arg0), QString);
00442 }
00443 inline void AQSListViewItem::setPixmap(int arg0,  QPixmap *arg1)
00444 {
00445   AQ_CALL_VOID(setPixmap(arg0, *arg1));
00446 }
00447 inline void AQSListViewItem::setPixmap(int arg0, AQSPixmap *arg1)
00448 {
00449   AQ_CALL_VOID(setPixmap(arg0, *arg1));
00450 }
00451 inline const QPixmap *AQSListViewItem::pixmap(int arg0) const
00452 {
00453   AQ_CALL_RET(pixmap(arg0));
00454 }
00455 inline QString AQSListViewItem::key(int arg0,  bool arg1) const
00456 {
00457   AQ_CALL_RET_V(key(arg0, arg1), QString);
00458 }
00459 inline int AQSListViewItem::compare(QListViewItem *arg0,  int arg1,  bool arg2) const
00460 {
00461   AQ_CALL_RET_V(compare(arg0, arg1, arg2), int);
00462 }
00463 inline int AQSListViewItem::compare(AQSListViewItem *arg0,  int arg1,  bool arg2) const
00464 {
00465   AQ_CALL_RET_V(compare(*arg0, arg1, arg2), int);
00466 }
00467 inline void AQSListViewItem::sortChildItems(int arg0,  bool arg1)
00468 {
00469   AQ_CALL_VOID(sortChildItems(arg0, arg1));
00470 }
00471 inline int AQSListViewItem::childCount() const
00472 {
00473   AQ_CALL_RET_V(childCount(), int);
00474 }
00475 inline bool AQSListViewItem::isOpen() const
00476 {
00477   AQ_CALL_RET_V(isOpen(), bool);
00478 }
00479 inline void AQSListViewItem::setOpen(bool arg0)
00480 {
00481   AQ_CALL_VOID(setOpen(arg0));
00482 }
00483 inline void AQSListViewItem::setup()
00484 {
00485   AQ_CALL_VOID(setup());
00486 }
00487 inline void AQSListViewItem::setSelected(bool arg0)
00488 {
00489   AQ_CALL_VOID(setSelected(arg0));
00490 }
00491 inline bool AQSListViewItem::isSelected() const
00492 {
00493   AQ_CALL_RET_V(isSelected(), bool);
00494 }
00495 inline QListViewItem *AQSListViewItem::firstChild() const
00496 {
00497   AQ_CALL_RET(firstChild());
00498 }
00499 inline QListViewItem *AQSListViewItem::nextSibling() const
00500 {
00501   AQ_CALL_RET(nextSibling());
00502 }
00503 inline QListViewItem *AQSListViewItem::parent() const
00504 {
00505   AQ_CALL_RET(parent());
00506 }
00507 inline QListViewItem *AQSListViewItem::itemAbove()
00508 {
00509   AQ_CALL_RET(itemAbove());
00510 }
00511 inline QListViewItem *AQSListViewItem::itemBelow()
00512 {
00513   AQ_CALL_RET(itemBelow());
00514 }
00515 inline int AQSListViewItem::itemPos() const
00516 {
00517   AQ_CALL_RET_V(itemPos(), int);
00518 }
00519 inline QListView *AQSListViewItem::listView() const
00520 {
00521   AQ_CALL_RET(listView());
00522 }
00523 inline void AQSListViewItem::setSelectable(bool arg0)
00524 {
00525   AQ_CALL_VOID(setSelectable(arg0));
00526 }
00527 inline bool AQSListViewItem::isSelectable() const
00528 {
00529   AQ_CALL_RET_V(isSelectable(), bool);
00530 }
00531 inline void AQSListViewItem::setExpandable(bool arg0)
00532 {
00533   AQ_CALL_VOID(setExpandable(arg0));
00534 }
00535 inline bool AQSListViewItem::isExpandable() const
00536 {
00537   AQ_CALL_RET_V(isExpandable(), bool);
00538 }
00539 inline void AQSListViewItem::repaint() const
00540 {
00541   AQ_CALL_VOID(repaint());
00542 }
00543 inline void AQSListViewItem::sort()
00544 {
00545   AQ_CALL_VOID(sort());
00546 }
00547 inline void AQSListViewItem::moveItem(QListViewItem *arg0)
00548 {
00549   AQ_CALL_VOID(moveItem(arg0));
00550 }
00551 inline void AQSListViewItem::moveItem(AQSListViewItem *arg0)
00552 {
00553   AQ_CALL_VOID(moveItem(*arg0));
00554 }
00555 inline void AQSListViewItem::setDragEnabled(bool arg0)
00556 {
00557   AQ_CALL_VOID(setDragEnabled(arg0));
00558 }
00559 inline void AQSListViewItem::setDropEnabled(bool arg0)
00560 {
00561   AQ_CALL_VOID(setDropEnabled(arg0));
00562 }
00563 inline bool AQSListViewItem::dragEnabled() const
00564 {
00565   AQ_CALL_RET_V(dragEnabled(), bool);
00566 }
00567 inline bool AQSListViewItem::dropEnabled() const
00568 {
00569   AQ_CALL_RET_V(dropEnabled(), bool);
00570 }
00571 inline void AQSListViewItem::setVisible(bool arg0)
00572 {
00573   AQ_CALL_VOID(setVisible(arg0));
00574 }
00575 inline bool AQSListViewItem::isVisible() const
00576 {
00577   AQ_CALL_RET_V(isVisible(), bool);
00578 }
00579 inline void AQSListViewItem::setRenameEnabled(int arg0,  bool arg1)
00580 {
00581   AQ_CALL_VOID(setRenameEnabled(arg0, arg1));
00582 }
00583 inline bool AQSListViewItem::renameEnabled(int arg0) const
00584 {
00585   AQ_CALL_RET_V(renameEnabled(arg0), bool);
00586 }
00587 inline void AQSListViewItem::startRename(int arg0)
00588 {
00589   AQ_CALL_VOID(startRename(arg0));
00590 }
00591 inline void AQSListViewItem::setEnabled(bool arg0)
00592 {
00593   AQ_CALL_VOID(setEnabled(arg0));
00594 }
00595 inline bool AQSListViewItem::isEnabled() const
00596 {
00597   AQ_CALL_RET_V(isEnabled(), bool);
00598 }
00599 inline void AQSListViewItem::setMultiLinesEnabled(bool arg0)
00600 {
00601   AQ_CALL_VOID(setMultiLinesEnabled(arg0));
00602 }
00603 inline bool AQSListViewItem::multiLinesEnabled() const
00604 {
00605   AQ_CALL_RET_V(multiLinesEnabled(), bool);
00606 }
00607 //@AQ_END_IMP_PUB_SLOTS@
00608 
00609 #endif /* AQSLISTVIEWITEM_P_H_ */
00610 // @AQSVOIDPTR@
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'