summaryrefslogtreecommitdiffstats
path: root/sip/qt/qlistview.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qlistview.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qlistview.sip')
-rw-r--r--sip/qt/qlistview.sip590
1 files changed, 295 insertions, 295 deletions
diff --git a/sip/qt/qlistview.sip b/sip/qt/qlistview.sip
index 2028d1e..d4e1698 100644
--- a/sip/qt/qlistview.sip
+++ b/sip/qt/qlistview.sip
@@ -1,111 +1,111 @@
-// This is the SIP interface definition for QListView, QListViewItem,
-// QCheckListItem and QListViewItemIterator.
+// This is the SIP interface definition for TQListView, TQListViewItem,
+// TQCheckListItem and TQListViewItemIterator.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// This file is part of PyQt.
+// This file is part of PyTQt.
//
-// This copy of PyQt is free software; you can redistribute it and/or modify it
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
//
-// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
// details.
//
// You should have received a copy of the GNU General Public License along with
-// PyQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
%ExportedDoc
-<Sect2><Title>QListView</Title>
+<Sect2><Title>TQListView</Title>
<Para>
-<Literal>QListView</Literal> is fully implemented.
+<Literal>TQListView</Literal> is fully implemented.
</Para>
<Para>
-Note that to remove a child <Literal>QListViewItem</Literal> you must first
+Note that to remove a child <Literal>TQListViewItem</Literal> you must first
call <Literal>takeItem()</Literal> and then <Literal>del()</Literal>.
</Para>
</Sect2>
-<Sect2><Title>QListViewItem</Title>
+<Sect2><Title>TQListViewItem</Title>
<Para>
-<Literal>QListViewItem</Literal> is fully implemented.
+<Literal>TQListViewItem</Literal> is fully implemented.
</Para>
<Para>
-Note that to remove a child <Literal>QListViewItem</Literal> you must first
+Note that to remove a child <Literal>TQListViewItem</Literal> you must first
call <Literal>takeItem()</Literal> and then <Literal>del()</Literal>.
</Para>
</Sect2>
-<Sect2><Title>QCheckListItem</Title>
+<Sect2><Title>TQCheckListItem</Title>
<Para>
-<Literal>QCheckListItem</Literal> is fully implemented.
+<Literal>TQCheckListItem</Literal> is fully implemented.
</Para>
</Sect2>
-<Sect2><Title>QListViewItemIterator (Qt v2+)</Title>
+<Sect2><Title>TQListViewItemIterator (TQt v2+)</Title>
<Para>
-<Literal>QListViewItemIterator</Literal> is fully implemented.
+<Literal>TQListViewItemIterator</Literal> is fully implemented.
</Para>
</Sect2>
%End
-%If (- Qt_2_00)
+%If (- TQt_2_00)
-class QListViewItem
+class TQListViewItem
{
%TypeHeaderCode
#include <qlistview.h>
%End
public:
- QListViewItem(QListView * /TransferThis/);
- QListViewItem(QListViewItem * /TransferThis/);
- QListViewItem(QListView * /TransferThis/,QListViewItem *);
- QListViewItem(QListViewItem * /TransferThis/,QListViewItem *);
+ TQListViewItem(TQListView * /TransferThis/);
+ TQListViewItem(TQListViewItem * /TransferThis/);
+ TQListViewItem(TQListView * /TransferThis/,TQListViewItem *);
+ TQListViewItem(TQListViewItem * /TransferThis/,TQListViewItem *);
- QListViewItem(QListView * /TransferThis/,
+ TQListViewItem(TQListView * /TransferThis/,
const char *,const char * = 0,
const char * = 0,const char * = 0,
const char * = 0,const char * = 0,
const char * = 0,const char * = 0);
- QListViewItem(QListViewItem * /TransferThis/,
+ TQListViewItem(TQListViewItem * /TransferThis/,
const char *,const char * = 0,
const char * = 0,const char * = 0,
const char * = 0,const char * = 0,
const char * = 0,const char * = 0);
- QListViewItem(QListView * /TransferThis/,QListViewItem *,
+ TQListViewItem(TQListView * /TransferThis/,TQListViewItem *,
const char *,const char * = 0,
const char * = 0,const char * = 0,
const char * = 0,const char * = 0,
const char * = 0,const char * = 0);
- QListViewItem(QListViewItem * /TransferThis/,QListViewItem *,
+ TQListViewItem(TQListViewItem * /TransferThis/,TQListViewItem *,
const char *,const char * = 0,
const char * = 0,const char * = 0,
const char * = 0,const char * = 0,
const char * = 0,const char * = 0);
- virtual void insertItem(QListViewItem * /Transfer/);
- virtual void removeItem(QListViewItem * /TransferBack/);
+ virtual void insertItem(TQListViewItem * /Transfer/);
+ virtual void removeItem(TQListViewItem * /TransferBack/);
int height() const;
virtual void invalidateHeight();
int totalHeight() const;
- virtual int width(const QFontMetrics &,const QListView *,int) const;
+ virtual int width(const TQFontMetrics &,const TQListView *,int) const;
void widthChanged(int = -1) const;
int depth() const;
virtual void setText(int,const char *);
virtual const char *text(int) const;
- virtual void setPixmap(int,const QPixmap &);
- virtual const QPixmap *pixmap(int) const;
+ virtual void setPixmap(int,const TQPixmap &);
+ virtual const TQPixmap *pixmap(int) const;
virtual const char *key(int,bool) const;
virtual void sortChildItems(int,bool);
int childCount() const;
@@ -114,17 +114,17 @@ public:
virtual void setup();
virtual void setSelected(bool);
bool isSelected() const;
- virtual void paintCell(QPainter *,const QColorGroup &,int,int,int);
- virtual void paintBranches(QPainter *,const QColorGroup &,int,int,int,
+ virtual void paintCell(TQPainter *,const TQColorGroup &,int,int,int);
+ virtual void paintBranches(TQPainter *,const TQColorGroup &,int,int,int,
GUIStyle);
- virtual void paintFocus(QPainter *,const QColorGroup &,const QRect &);
- QListViewItem *firstChild() const;
- QListViewItem *nextSibling() const;
- QListViewItem *parent() const;
- QListViewItem *itemAbove();
- QListViewItem *itemBelow();
+ virtual void paintFocus(TQPainter *,const TQColorGroup &,const TQRect &);
+ TQListViewItem *firstChild() const;
+ TQListViewItem *nextSibling() const;
+ TQListViewItem *parent() const;
+ TQListViewItem *itemAbove();
+ TQListViewItem *itemBelow();
int itemPos() const;
- QListView *listView() const;
+ TQListView *listView() const;
virtual void setSelectable(bool);
bool isSelectable() const;
virtual void setExpandable(bool);
@@ -139,63 +139,63 @@ protected:
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
-class QListViewItem : Qt
+class TQListViewItem : TQt
{
%TypeHeaderCode
#include <qlistview.h>
%End
public:
- QListViewItem(QListView * /TransferThis/);
- QListViewItem(QListViewItem * /TransferThis/);
- QListViewItem(QListView * /TransferThis/,QListViewItem *);
- QListViewItem(QListViewItem * /TransferThis/,QListViewItem *);
-
- QListViewItem(QListView * /TransferThis/,
- QString,QString = QString::null,
- QString = QString::null,QString = QString::null,
- QString = QString::null,QString = QString::null,
- QString = QString::null,QString = QString::null);
-
- QListViewItem(QListViewItem * /TransferThis/,
- QString,QString = QString::null,
- QString = QString::null,QString = QString::null,
- QString = QString::null,QString = QString::null,
- QString = QString::null,QString = QString::null);
-
- QListViewItem(QListView * /TransferThis/,QListViewItem *,
- QString,QString = QString::null,
- QString = QString::null,QString = QString::null,
- QString = QString::null,QString = QString::null,
- QString = QString::null,QString = QString::null);
-
- QListViewItem(QListViewItem * /TransferThis/,QListViewItem *,
- QString,QString = QString::null,
- QString = QString::null,QString = QString::null,
- QString = QString::null,QString = QString::null,
- QString = QString::null,QString = QString::null);
-
- virtual void insertItem(QListViewItem * /Transfer/);
- virtual void takeItem(QListViewItem * /TransferBack/);
+ TQListViewItem(TQListView * /TransferThis/);
+ TQListViewItem(TQListViewItem * /TransferThis/);
+ TQListViewItem(TQListView * /TransferThis/,TQListViewItem *);
+ TQListViewItem(TQListViewItem * /TransferThis/,TQListViewItem *);
+
+ TQListViewItem(TQListView * /TransferThis/,
+ TQString,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null);
+
+ TQListViewItem(TQListViewItem * /TransferThis/,
+ TQString,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null);
+
+ TQListViewItem(TQListView * /TransferThis/,TQListViewItem *,
+ TQString,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null);
+
+ TQListViewItem(TQListViewItem * /TransferThis/,TQListViewItem *,
+ TQString,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null,
+ TQString = TQString::null,TQString = TQString::null);
+
+ virtual void insertItem(TQListViewItem * /Transfer/);
+ virtual void takeItem(TQListViewItem * /TransferBack/);
int height() const;
virtual void invalidateHeight();
int totalHeight() const;
- virtual int width(const QFontMetrics &,const QListView *,int) const;
+ virtual int width(const TQFontMetrics &,const TQListView *,int) const;
void widthChanged(int = -1) const;
int depth() const;
- virtual void setText(int,const QString &);
- virtual QString text(int) const;
+ virtual void setText(int,const TQString &);
+ virtual TQString text(int) const;
- virtual void setPixmap(int,const QPixmap &);
- virtual const QPixmap *pixmap(int) const;
+ virtual void setPixmap(int,const TQPixmap &);
+ virtual const TQPixmap *pixmap(int) const;
- virtual QString key(int,bool) const;
-%If (Qt_3_0_0 -)
- virtual int compare(QListViewItem *,int,bool) const;
+ virtual TQString key(int,bool) const;
+%If (TQt_3_0_0 -)
+ virtual int compare(TQListViewItem *,int,bool) const;
%End
virtual void sortChildItems(int,bool);
@@ -208,26 +208,26 @@ public:
virtual void setSelected(bool);
bool isSelected() const;
- virtual void paintCell(QPainter *,const QColorGroup &,int,int,int);
-%If (- Qt_3_0_0)
- virtual void paintBranches(QPainter *,const QColorGroup &,int,int,int,
+ virtual void paintCell(TQPainter *,const TQColorGroup &,int,int,int);
+%If (- TQt_3_0_0)
+ virtual void paintBranches(TQPainter *,const TQColorGroup &,int,int,int,
GUIStyle);
%End
-%If (Qt_3_0_0 -)
- virtual void paintBranches(QPainter *,const QColorGroup &,int,int,int);
+%If (TQt_3_0_0 -)
+ virtual void paintBranches(TQPainter *,const TQColorGroup &,int,int,int);
%End
- virtual void paintFocus(QPainter *,const QColorGroup &,const QRect &);
+ virtual void paintFocus(TQPainter *,const TQColorGroup &,const TQRect &);
- QListViewItem *firstChild() const;
- QListViewItem *nextSibling() const;
- QListViewItem *parent() const;
+ TQListViewItem *firstChild() const;
+ TQListViewItem *nextSibling() const;
+ TQListViewItem *parent() const;
- QListViewItem *itemAbove();
- QListViewItem *itemBelow();
+ TQListViewItem *itemAbove();
+ TQListViewItem *itemBelow();
int itemPos() const;
- QListView *listView() const;
+ TQListView *listView() const;
virtual void setSelectable(bool);
bool isSelectable() const;
@@ -237,22 +237,22 @@ public:
void repaint() const;
-%If (Qt_2_1_0 - Qt_3_0_0)
+%If (TQt_2_1_0 - TQt_3_0_0)
void sort();
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
virtual void sort();
%End
-%If (Qt_2_2_0 -)
- void moveItem(QListViewItem *);
+%If (TQt_2_2_0 -)
+ void moveItem(TQListViewItem *);
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
virtual void setDragEnabled(bool);
virtual void setDropEnabled(bool);
bool dragEnabled() const;
bool dropEnabled() const;
- virtual bool acceptDrop(const QMimeSource *) const;
+ virtual bool acceptDrop(const TQMimeSource *) const;
void setVisible(bool);
bool isVisible() const;
@@ -275,11 +275,11 @@ protected:
virtual void setHeight(int);
virtual void activate();
-%If (Qt_2_1_0 -)
- bool activatedPos(QPoint &);
+%If (TQt_2_1_0 -)
+ bool activatedPos(TQPoint &);
%End
-%If (Qt_3_0_0 -)
- virtual void dropped(QDropEvent *);
+%If (TQt_3_0_0 -)
+ virtual void dropped(TQDropEvent *);
virtual void dragEntered();
virtual void dragLeft();
virtual void okRename(int);
@@ -292,50 +292,50 @@ protected:
%End
-class QListView : QScrollView
+class TQListView : TQScrollView
{
%TypeHeaderCode
#include <qlistview.h>
%End
public:
-%If (Qt_2_2_0 - Qt_3_0_0)
- QListView(QWidget * /TransferThis/,const char *,WFlags);
+%If (TQt_2_2_0 - TQt_3_0_0)
+ TQListView(TQWidget * /TransferThis/,const char *,WFlags);
%End
-%If (- Qt_3_0_0)
- QListView(QWidget * /TransferThis/ = 0,const char * = 0);
+%If (- TQt_3_0_0)
+ TQListView(TQWidget * /TransferThis/ = 0,const char * = 0);
%End
-%If (Qt_3_0_0 -)
- QListView(QWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0);
+%If (TQt_3_0_0 -)
+ TQListView(TQWidget * /TransferThis/ = 0,const char * = 0,WFlags = 0);
%End
int treeStepSize() const;
virtual void setTreeStepSize(int);
- virtual void insertItem(QListViewItem * /Transfer/);
-%If (Qt_2_00 -)
- virtual void takeItem(QListViewItem * /TransferBack/);
+ virtual void insertItem(TQListViewItem * /Transfer/);
+%If (TQt_2_00 -)
+ virtual void takeItem(TQListViewItem * /TransferBack/);
%End
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
virtual void clear();
%End
- QHeader *header() const;
+ TQHeader *header() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
virtual int addColumn(const char *,int = -1);
virtual void setColumnText(int,const char *);
const char *columnText(int) const;
%End
-%If (Qt_2_00 -)
- virtual int addColumn(const QString &,int = -1);
- virtual int addColumn(const QIconSet &,const QString &,int = -1);
-%If (Qt_2_1_0 -)
+%If (TQt_2_00 -)
+ virtual int addColumn(const TQString &,int = -1);
+ virtual int addColumn(const TQIconSet &,const TQString &,int = -1);
+%If (TQt_2_1_0 -)
void removeColumn(int);
%End
- virtual void setColumnText(int,const QString &);
- virtual void setColumnText(int,const QIconSet &,const QString &);
- QString columnText(int) const;
+ virtual void setColumnText(int,const TQString &);
+ virtual void setColumnText(int,const TQIconSet &,const TQString &);
+ TQString columnText(int) const;
%End
virtual void setColumnWidth(int,int);
int columnWidth(int) const;
@@ -348,7 +348,7 @@ public:
virtual void setColumnWidthMode(int,WidthMode);
WidthMode columnWidthMode(int) const;
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
int columns() const;
%End
@@ -357,18 +357,18 @@ public:
void show();
- QListViewItem *itemAt(const QPoint &) const;
- QRect itemRect(const QListViewItem *) const;
- int itemPos(const QListViewItem *);
+ TQListViewItem *itemAt(const TQPoint &) const;
+ TQRect itemRect(const TQListViewItem *) const;
+ int itemPos(const TQListViewItem *);
- void ensureItemVisible(const QListViewItem *);
+ void ensureItemVisible(const TQListViewItem *);
- void repaintItem(const QListViewItem *) const;
+ void repaintItem(const TQListViewItem *) const;
virtual void setMultiSelection(bool);
bool isMultiSelection() const;
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
enum SelectionMode {
Single,
Multi,
@@ -380,26 +380,26 @@ public:
SelectionMode selectionMode() const;
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
virtual void clearSelection();
%End
- virtual void setSelected(QListViewItem *,bool);
-%If (Qt_3_2_0 -)
- void setSelectionAnchor(QListViewItem *);
+ virtual void setSelected(TQListViewItem *,bool);
+%If (TQt_3_2_0 -)
+ void setSelectionAnchor(TQListViewItem *);
%End
- bool isSelected(QListViewItem *) const;
-%If (Qt_2_1_0 -)
- QListViewItem *selectedItem() const;
+ bool isSelected(TQListViewItem *) const;
+%If (TQt_2_1_0 -)
+ TQListViewItem *selectedItem() const;
%End
- virtual void setOpen(QListViewItem *,bool);
- bool isOpen(QListViewItem *) const;
+ virtual void setOpen(TQListViewItem *,bool);
+ bool isOpen(TQListViewItem *) const;
- virtual void setCurrentItem(QListViewItem *);
- QListViewItem *currentItem() const;
+ virtual void setCurrentItem(TQListViewItem *);
+ TQListViewItem *currentItem() const;
- QListViewItem *firstChild() const;
-%If (Qt_3_0_0 -)
- QListViewItem *lastItem() const;
+ TQListViewItem *firstChild() const;
+%If (TQt_3_0_0 -)
+ TQListViewItem *lastItem() const;
%End
int childCount() const;
@@ -414,43 +414,43 @@ public:
bool rootIsDecorated() const;
virtual void setSorting(int,bool = 1);
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
int sortColumn() const;
%End
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
void setSortColumn(int);
SortOrder sortOrder() const;
void setSortOrder(SortOrder);
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
virtual void sort();
%End
-%If (Qt_2_1_0 - Qt_3_0_0)
+%If (TQt_2_1_0 - TQt_3_0_0)
void sort();
%End
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setStyle(GUIStyle);
- void setFont(const QFont &);
- void setPalette(const QPalette &);
+ void setFont(const TQFont &);
+ void setPalette(const TQPalette &);
%End
-%If (Qt_2_00 -)
- virtual void setFont(const QFont &);
- virtual void setPalette(const QPalette &);
+%If (TQt_2_00 -)
+ virtual void setFont(const TQFont &);
+ virtual void setPalette(const TQPalette &);
%End
- bool eventFilter(QObject *,QEvent *);
+ bool eventFilter(TQObject *,TQEvent *);
- QSize sizeHint() const;
-%If (Qt_2_00 -)
- QSize minimumSizeHint() const;
+ TQSize sizeHint() const;
+%If (TQt_2_00 -)
+ TQSize minimumSizeHint() const;
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void setShowSortIndicator(bool);
bool showSortIndicator() const;
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
virtual void setShowToolTips(bool);
bool showToolTips() const;
@@ -463,7 +463,7 @@ public:
virtual void setResizeMode(ResizeMode);
ResizeMode resizeMode() const;
- QListViewItem *findItem(const QString &,int,
+ TQListViewItem *findItem(const TQString &,int,
ComparisonFlags = ExactMatch | CaseSensitive) const;
enum RenameAction {
@@ -476,131 +476,131 @@ public:
bool isRenaming() const;
%End
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
void hideColumn(int);
%End
public slots:
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
virtual void clear();
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void invertSelection();
void selectAll(bool);
void setContentsPos(int,int);
%End
void triggerUpdate();
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
void adjustColumn(int);
%End
signals:
void selectionChanged();
- void selectionChanged(QListViewItem *);
- void currentChanged(QListViewItem *);
-%If (Qt_2_1_0 -)
- void clicked(QListViewItem *);
- void clicked(QListViewItem *,const QPoint &,int);
- void pressed(QListViewItem *);
- void pressed(QListViewItem *,const QPoint &,int);
+ void selectionChanged(TQListViewItem *);
+ void currentChanged(TQListViewItem *);
+%If (TQt_2_1_0 -)
+ void clicked(TQListViewItem *);
+ void clicked(TQListViewItem *,const TQPoint &,int);
+ void pressed(TQListViewItem *);
+ void pressed(TQListViewItem *,const TQPoint &,int);
%End
- void doubleClicked(QListViewItem *);
-%If (Qt_3_2_0 -)
- void doubleClicked(QListViewItem *,const QPoint &,int);
+ void doubleClicked(TQListViewItem *);
+%If (TQt_3_2_0 -)
+ void doubleClicked(TQListViewItem *,const TQPoint &,int);
%End
- void returnPressed(QListViewItem *);
-%If (Qt_3_0_0 -)
- void spacePressed(QListViewItem *);
+ void returnPressed(TQListViewItem *);
+%If (TQt_3_0_0 -)
+ void spacePressed(TQListViewItem *);
%End
- void rightButtonClicked(QListViewItem *,const QPoint &,int);
- void rightButtonPressed(QListViewItem *,const QPoint &,int);
-%If (Qt_2_1_0 -)
- void mouseButtonPressed(int,QListViewItem *,const QPoint &,int);
- void mouseButtonClicked(int,QListViewItem *,const QPoint &,int);
+ void rightButtonClicked(TQListViewItem *,const TQPoint &,int);
+ void rightButtonPressed(TQListViewItem *,const TQPoint &,int);
+%If (TQt_2_1_0 -)
+ void mouseButtonPressed(int,TQListViewItem *,const TQPoint &,int);
+ void mouseButtonClicked(int,TQListViewItem *,const TQPoint &,int);
%End
-%If (Qt_3_0_0 -)
- void contextMenuRequested(QListViewItem *,const QPoint &,int);
+%If (TQt_3_0_0 -)
+ void contextMenuRequested(TQListViewItem *,const TQPoint &,int);
%End
-%If (Qt_2_1_0 -)
- void onItem(QListViewItem *);
+%If (TQt_2_1_0 -)
+ void onItem(TQListViewItem *);
void onViewport();
- void expanded(QListViewItem *);
- void collapsed(QListViewItem *);
+ void expanded(TQListViewItem *);
+ void collapsed(TQListViewItem *);
%End
-%If (Qt_3_0_0 -)
- void dropped(QDropEvent *);
- void itemRenamed(QListViewItem *,int,const QString &);
- void itemRenamed(QListViewItem *,int);
+%If (TQt_3_0_0 -)
+ void dropped(TQDropEvent *);
+ void itemRenamed(TQListViewItem *,int,const TQString &);
+ void itemRenamed(TQListViewItem *,int);
%End
protected:
-%If (- Qt_2_00)
- void mousePressEvent(QMouseEvent *);
- void mouseReleaseEvent(QMouseEvent *);
- void mouseMoveEvent(QMouseEvent *);
- void mouseDoubleClickEvent(QMouseEvent *);
-%End
-%If (Qt_2_00 -)
- void contentsMousePressEvent(QMouseEvent *);
- void contentsMouseReleaseEvent(QMouseEvent *);
- void contentsMouseMoveEvent(QMouseEvent *);
- void contentsMouseDoubleClickEvent(QMouseEvent *);
-%End
-%If (Qt_3_0_0 -)
- void contentsContextMenuEvent(QContextMenuEvent *);
- void contentsDragEnterEvent(QDragEnterEvent *);
- void contentsDragMoveEvent(QDragMoveEvent *);
- void contentsDragLeaveEvent(QDragLeaveEvent *);
- void contentsDropEvent(QDropEvent *);
- virtual QDragObject *dragObject();
+%If (- TQt_2_00)
+ void mousePressEvent(TQMouseEvent *);
+ void mouseReleaseEvent(TQMouseEvent *);
+ void mouseMoveEvent(TQMouseEvent *);
+ void mouseDoubleClickEvent(TQMouseEvent *);
+%End
+%If (TQt_2_00 -)
+ void contentsMousePressEvent(TQMouseEvent *);
+ void contentsMouseReleaseEvent(TQMouseEvent *);
+ void contentsMouseMoveEvent(TQMouseEvent *);
+ void contentsMouseDoubleClickEvent(TQMouseEvent *);
+%End
+%If (TQt_3_0_0 -)
+ void contentsContextMenuEvent(TQContextMenuEvent *);
+ void contentsDragEnterEvent(TQDragEnterEvent *);
+ void contentsDragMoveEvent(TQDragMoveEvent *);
+ void contentsDragLeaveEvent(TQDragLeaveEvent *);
+ void contentsDropEvent(TQDropEvent *);
+ virtual TQDragObject *dragObject();
virtual void startDrag();
%End
- void focusInEvent(QFocusEvent *);
- void focusOutEvent(QFocusEvent *);
+ void focusInEvent(TQFocusEvent *);
+ void focusOutEvent(TQFocusEvent *);
- void keyPressEvent(QKeyEvent *);
+ void keyPressEvent(TQKeyEvent *);
- void resizeEvent(QResizeEvent *);
-%If (Qt_3_0_0 -)
- void viewportResizeEvent(QResizeEvent *);
+ void resizeEvent(TQResizeEvent *);
+%If (TQt_3_0_0 -)
+ void viewportResizeEvent(TQResizeEvent *);
%End
-%If (Qt_2_00 -)
- void showEvent(QShowEvent *);
+%If (TQt_2_00 -)
+ void showEvent(TQShowEvent *);
%End
- void drawContentsOffset(QPainter *,int,int,int,int,int,int);
+ void drawContentsOffset(TQPainter *,int,int,int,int,int,int);
- virtual void paintEmptyArea(QPainter *,const QRect &);
-%If (Qt_2_00 -)
- void styleChange(QStyle &);
+ virtual void paintEmptyArea(TQPainter *,const TQRect &);
+%If (TQt_2_00 -)
+ void styleChange(TQStyle &);
%End
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
void enabledChange(bool);
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
void windowActivationChange(bool);
%End
protected slots:
void updateContents();
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
void doAutoScroll();
%End
private:
-%If (Qt_2_1_0 -)
- QListView(const QWidget &);
+%If (TQt_2_1_0 -)
+ TQListView(const TQWidget &);
%End
};
-class QCheckListItem : QListViewItem
+class TQCheckListItem : TQListViewItem
{
%TypeHeaderCode
#include <qlistview.h>
@@ -611,13 +611,13 @@ public:
RadioButton,
CheckBox,
Controller,
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
RadioButtonController,
CheckBoxController,
%End
};
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
enum ToggleState {
Off,
NoChange,
@@ -625,95 +625,95 @@ public:
};
%End
-%If (Qt_3_2_0 -)
- QCheckListItem(QCheckListItem * /TransferThis/,const QString &,
+%If (TQt_3_2_0 -)
+ TQCheckListItem(TQCheckListItem * /TransferThis/,const TQString &,
Type = RadioButtonController);
- QCheckListItem(QCheckListItem * /TransferThis/,QListViewItem *,
- const QString &,Type = RadioButtonController);
- QCheckListItem(QListViewItem * /TransferThis/,const QString &,
+ TQCheckListItem(TQCheckListItem * /TransferThis/,TQListViewItem *,
+ const TQString &,Type = RadioButtonController);
+ TQCheckListItem(TQListViewItem * /TransferThis/,const TQString &,
Type = RadioButtonController);
- QCheckListItem(QListViewItem * /TransferThis/,QListViewItem *,
- const QString &,Type = RadioButtonController);
- QCheckListItem(QListView * /TransferThis/,const QString &,
+ TQCheckListItem(TQListViewItem * /TransferThis/,TQListViewItem *,
+ const TQString &,Type = RadioButtonController);
+ TQCheckListItem(TQListView * /TransferThis/,const TQString &,
Type = RadioButtonController);
- QCheckListItem(QListView * /TransferThis/,QListViewItem *,
- const QString &,Type = RadioButtonController);
+ TQCheckListItem(TQListView * /TransferThis/,TQListViewItem *,
+ const TQString &,Type = RadioButtonController);
%End
-%If (Qt_2_00 - Qt_3_2_0)
- QCheckListItem(QCheckListItem * /TransferThis/,const QString &,
+%If (TQt_2_00 - TQt_3_2_0)
+ TQCheckListItem(TQCheckListItem * /TransferThis/,const TQString &,
Type = Controller);
-%If (Qt_3_1_0 -)
- QCheckListItem(QCheckListItem * /TransferThis/,QListViewItem *,
- const QString &,Type = Controller);
+%If (TQt_3_1_0 -)
+ TQCheckListItem(TQCheckListItem * /TransferThis/,TQListViewItem *,
+ const TQString &,Type = Controller);
%End
- QCheckListItem(QListViewItem * /TransferThis/,const QString &,
+ TQCheckListItem(TQListViewItem * /TransferThis/,const TQString &,
Type = Controller);
-%If (Qt_3_1_0 -)
- QCheckListItem(QListViewItem * /TransferThis/,QListViewItem *,
- const QString &,Type = Controller);
+%If (TQt_3_1_0 -)
+ TQCheckListItem(TQListViewItem * /TransferThis/,TQListViewItem *,
+ const TQString &,Type = Controller);
%End
- QCheckListItem(QListView * /TransferThis/,const QString &,
+ TQCheckListItem(TQListView * /TransferThis/,const TQString &,
Type = Controller);
-%If (Qt_3_1_0 -)
- QCheckListItem(QListView * /TransferThis/,QListViewItem *,
- const QString &,Type = Controller);
+%If (TQt_3_1_0 -)
+ TQCheckListItem(TQListView * /TransferThis/,TQListViewItem *,
+ const TQString &,Type = Controller);
%End
%End
-%If (Qt_2_00 -)
- QCheckListItem(QListViewItem * /TransferThis/,const QString &,
- const QPixmap &);
- QCheckListItem(QListView * /TransferThis/,const QString &,
- const QPixmap &);
+%If (TQt_2_00 -)
+ TQCheckListItem(TQListViewItem * /TransferThis/,const TQString &,
+ const TQPixmap &);
+ TQCheckListItem(TQListView * /TransferThis/,const TQString &,
+ const TQPixmap &);
%End
-%If (- Qt_2_00)
- QCheckListItem(QCheckListItem * /TransferThis/,const char *,
+%If (- TQt_2_00)
+ TQCheckListItem(TQCheckListItem * /TransferThis/,const char *,
Type = Controller);
- QCheckListItem(QListView * /TransferThis/,const char *,
+ TQCheckListItem(TQListView * /TransferThis/,const char *,
Type = Controller);
- QCheckListItem(QListViewItem * /TransferThis/,const char *,
- const QPixmap &);
- QCheckListItem(QListView * /TransferThis/,const char *,
- const QPixmap &);
+ TQCheckListItem(TQListViewItem * /TransferThis/,const char *,
+ const TQPixmap &);
+ TQCheckListItem(TQListView * /TransferThis/,const char *,
+ const TQPixmap &);
%End
- void paintCell(QPainter *,const QColorGroup &,int,int,int);
-%If (Qt_2_00 -)
- virtual void paintFocus(QPainter *,const QColorGroup &,const QRect &);
+ void paintCell(TQPainter *,const TQColorGroup &,int,int,int);
+%If (TQt_2_00 -)
+ virtual void paintFocus(TQPainter *,const TQColorGroup &,const TQRect &);
%End
- int width(const QFontMetrics &,const QListView *,int) const;
+ int width(const TQFontMetrics &,const TQListView *,int) const;
void setup();
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setOn(bool);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setOn(bool);
%End
bool isOn() const;
Type type() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
const char *text() const;
const char *text(int) const;
%End
-%If (Qt_2_00 -)
- QString text() const;
- QString text(int) const;
+%If (TQt_2_00 -)
+ TQString text() const;
+ TQString text(int) const;
%End
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
void setTristate(bool);
bool isTristate() const;
ToggleState state() const;
void setState(ToggleState);
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
int rtti() const;
%End
protected:
-%If (- Qt_3_0_0)
- void paintBranches(QPainter *,const QColorGroup &,int,int,int,GUIStyle);
+%If (- TQt_3_0_0)
+ void paintBranches(TQPainter *,const TQColorGroup &,int,int,int,GUIStyle);
%End
void activate();
void turnOffChild();
@@ -721,16 +721,16 @@ protected:
};
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
-class QListViewItemIterator
+class TQListViewItemIterator
{
%TypeHeaderCode
#include <qlistview.h>
%End
public:
-%If (Qt_3_2_0 -)
+%If (TQt_3_2_0 -)
enum IteratorFlag {
Visible,
Invisible,
@@ -749,22 +749,22 @@ public:
};
%End
- QListViewItemIterator();
- QListViewItemIterator(QListViewItem *);
-%If (Qt_3_2_0 -)
- QListViewItemIterator(QListViewItem *,int);
+ TQListViewItemIterator();
+ TQListViewItemIterator(TQListViewItem *);
+%If (TQt_3_2_0 -)
+ TQListViewItemIterator(TQListViewItem *,int);
%End
- QListViewItemIterator(const QListViewItemIterator &);
- QListViewItemIterator(QListView *);
-%If (Qt_3_2_0 -)
- QListViewItemIterator(QListView *,int);
+ TQListViewItemIterator(const TQListViewItemIterator &);
+ TQListViewItemIterator(TQListView *);
+%If (TQt_3_2_0 -)
+ TQListViewItemIterator(TQListView *,int);
%End
- QListViewItemIterator &operator+=(int);
- QListViewItemIterator &operator-=(int);
+ TQListViewItemIterator &operator+=(int);
+ TQListViewItemIterator &operator-=(int);
- QListViewItem *current() const;
+ TQListViewItem *current() const;
};
%End