summaryrefslogtreecommitdiffstats
path: root/sip/tdeui/klistview.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdeui/klistview.sip')
-rw-r--r--sip/tdeui/klistview.sip178
1 files changed, 89 insertions, 89 deletions
diff --git a/sip/tdeui/klistview.sip b/sip/tdeui/klistview.sip
index 88231f9..29a5a4e 100644
--- a/sip/tdeui/klistview.sip
+++ b/sip/tdeui/klistview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KListView : QListView
+class KListView : TQListView
{
%TypeHeaderCode
#include <klistview.h>
@@ -42,19 +42,19 @@ public:
FileManager
};
- KListView (QWidget* /TransferThis/ = 0, const char* = 0);
+ KListView (TQWidget* /TransferThis/ = 0, const char* = 0);
virtual void setAcceptDrops (bool);
- virtual bool isExecuteArea (const QPoint&);
+ virtual bool isExecuteArea (const TQPoint&);
bool isExecuteArea (int);
- QPtrList<QListViewItem> selectedItems () const;
+ TQPtrList<TQListViewItem> selectedItems () const;
%If ( KDE_3_4_0 - )
- QPtrList<QListViewItem> selectedItems (bool) const;
+ TQPtrList<TQListViewItem> selectedItems (bool) const;
%End
- void moveItem (QListViewItem*, QListViewItem* /Transfer/, QListViewItem*);
- QListViewItem* lastItem () const;
- QListViewItem* lastChild () const;
+ void moveItem (TQListViewItem*, TQListViewItem* /Transfer/, TQListViewItem*);
+ TQListViewItem* lastItem () const;
+ TQListViewItem* lastChild () const;
%If ( KDE_3_1_0 - )
KLineEdit* renameLineEdit () const;
@@ -71,28 +71,28 @@ public:
bool dropHighlighter () const;
int dropVisualizerWidth () const;
SelectionModeExt selectionModeExt () const;
- int itemIndex (const QListViewItem*) const;
- QListViewItem* itemAtIndex (int);
+ int itemIndex (const TQListViewItem*) const;
+ TQListViewItem* itemAtIndex (int);
void setFullWidth ();
void setFullWidth (bool);
bool fullWidth () const;
%If ( KDE_3_0_1 - )
- virtual int addColumn (const QString&, int = -1);
- virtual int addColumn (const QIconSet&, const QString&, int = -1);
+ virtual int addColumn (const TQString&, int = -1);
+ virtual int addColumn (const TQIconSet&, const TQString&, int = -1);
virtual void removeColumn (int);
%End
- void setAlternateBackground (const QColor&);
- const QColor& alternateBackground () const;
- void saveLayout (KConfig*, const QString&) const;
- void restoreLayout (KConfig*, const QString&);
+ void setAlternateBackground (const TQColor&);
+ const TQColor& alternateBackground () const;
+ void saveLayout (KConfig*, const TQString&) const;
+ void restoreLayout (KConfig*, const TQString&);
virtual void setSorting (int, bool = 1);
int columnSorted () const;
bool ascendingSort () const;
%If ( KDE_3_2_0 - )
- virtual void takeItem (QListViewItem*);
+ virtual void takeItem (TQListViewItem*);
%If ( KDE_3_4_0 - )
void setShadeSortColumn (bool);
@@ -103,29 +103,29 @@ public:
signals:
- void executed (QListViewItem*);
- void executed (QListViewItem*, const QPoint&, int);
- void dropped (QDropEvent*, QListViewItem*);
- void dropped (KListView*, QDropEvent*, QListViewItem*);
- void dropped (KListView*, QDropEvent*, QListViewItem* /Transfer/, QListViewItem*);
- void dropped (QDropEvent*, QListViewItem* /Transfer/, QListViewItem*);
+ void executed (TQListViewItem*);
+ void executed (TQListViewItem*, const TQPoint&, int);
+ void dropped (TQDropEvent*, TQListViewItem*);
+ void dropped (KListView*, TQDropEvent*, TQListViewItem*);
+ void dropped (KListView*, TQDropEvent*, TQListViewItem* /Transfer/, TQListViewItem*);
+ void dropped (TQDropEvent*, TQListViewItem* /Transfer/, TQListViewItem*);
void moved ();
void aboutToMove ();
- void moved (QListViewItem*, QListViewItem*, QListViewItem*);
- void moved (QPtrList<QListViewItem>&, QPtrList<QListViewItem>&, QPtrList<QListViewItem>&);
- void itemRenamed (QListViewItem*, const QString&, int);
- void itemRenamed (QListViewItem*);
- void menuShortCutPressed (KListView*, QListViewItem*);
- void contextMenu (KListView*, QListViewItem*, const QPoint&);
+ void moved (TQListViewItem*, TQListViewItem*, TQListViewItem*);
+ void moved (TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&);
+ void itemRenamed (TQListViewItem*, const TQString&, int);
+ void itemRenamed (TQListViewItem*);
+ void menuShortCutPressed (KListView*, TQListViewItem*);
+ void contextMenu (KListView*, TQListViewItem*, const TQPoint&);
%If ( KDE_3_3_0 - )
- void itemAdded (QListViewItem*);
- void itemRemoved (QListViewItem*);
+ void itemAdded (TQListViewItem*);
+ void itemRemoved (TQListViewItem*);
%End
public slots:
- virtual void rename (QListViewItem*, int);
+ virtual void rename (TQListViewItem*, int);
void setRenameable (int, bool = 1);
virtual void setItemsMovable (bool);
virtual void setItemsRenameable (bool);
@@ -145,41 +145,41 @@ public slots:
protected:
- bool below (const QRect&, const QPoint&);
- bool below (QListViewItem*, const QPoint&);
- virtual bool event (QEvent*);
- void emitExecute (QListViewItem*, const QPoint&, int);
- virtual void focusInEvent (QFocusEvent*);
- virtual void focusOutEvent (QFocusEvent*);
- virtual void leaveEvent (QEvent*);
- virtual QString tooltip (QListViewItem*, int) const;
- virtual bool showTooltip (QListViewItem*, const QPoint&, int) const;
- virtual void contentsDragMoveEvent (QDragMoveEvent*);
- virtual void contentsMousePressEvent (QMouseEvent*);
- virtual void contentsMouseMoveEvent (QMouseEvent*);
- virtual void contentsMouseDoubleClickEvent (QMouseEvent*);
- virtual void contentsDragLeaveEvent (QDragLeaveEvent*);
- virtual void contentsMouseReleaseEvent (QMouseEvent*);
- virtual void contentsDropEvent (QDropEvent*);
- virtual void contentsDragEnterEvent (QDragEnterEvent*);
-//ig virtual QDragObject* dragObject () const;
- virtual bool acceptDrag (QDropEvent*) const;
- virtual QRect drawDropVisualizer (QPainter*, QListViewItem* /Transfer/, QListViewItem*);
- virtual QRect drawItemHighlighter (QPainter*, QListViewItem*);
+ bool below (const TQRect&, const TQPoint&);
+ bool below (TQListViewItem*, const TQPoint&);
+ virtual bool event (TQEvent*);
+ void emitExecute (TQListViewItem*, const TQPoint&, int);
+ virtual void focusInEvent (TQFocusEvent*);
+ virtual void focusOutEvent (TQFocusEvent*);
+ virtual void leaveEvent (TQEvent*);
+ virtual TQString tooltip (TQListViewItem*, int) const;
+ virtual bool showTooltip (TQListViewItem*, const TQPoint&, int) const;
+ virtual void contentsDragMoveEvent (TQDragMoveEvent*);
+ virtual void contentsMousePressEvent (TQMouseEvent*);
+ virtual void contentsMouseMoveEvent (TQMouseEvent*);
+ virtual void contentsMouseDoubleClickEvent (TQMouseEvent*);
+ virtual void contentsDragLeaveEvent (TQDragLeaveEvent*);
+ virtual void contentsMouseReleaseEvent (TQMouseEvent*);
+ virtual void contentsDropEvent (TQDropEvent*);
+ virtual void contentsDragEnterEvent (TQDragEnterEvent*);
+//ig virtual TQDragObject* dragObject () const;
+ virtual bool acceptDrag (TQDropEvent*) const;
+ virtual TQRect drawDropVisualizer (TQPainter*, TQListViewItem* /Transfer/, TQListViewItem*);
+ virtual TQRect drawItemHighlighter (TQPainter*, TQListViewItem*);
virtual void startDrag ();
- virtual void keyPressEvent (QKeyEvent*);
- virtual void viewportPaintEvent (QPaintEvent*);
+ virtual void keyPressEvent (TQKeyEvent*);
+ virtual void viewportPaintEvent (TQPaintEvent*);
void activateAutomaticSelection ();
void deactivateAutomaticSelection ();
bool automaticSelection () const;
- virtual void viewportResizeEvent (QResizeEvent*);
+ virtual void viewportResizeEvent (TQResizeEvent*);
%If ( KDE_3_2_0 - )
void disableAutoSelection ();
void resetAutoSelection ();
%If ( KDE_3_3_0 - )
- void doubleClicked (QListViewItem*, const QPoint&, int);
+ void doubleClicked (TQListViewItem*, const TQPoint&, int);
%End
%End
@@ -187,13 +187,13 @@ protected:
protected slots:
void slotSettingsChanged (int);
- void slotMouseButtonClicked (int, QListViewItem*, const QPoint&, int);
- void doneEditing (QListViewItem*, int);
+ void slotMouseButtonClicked (int, TQListViewItem*, const TQPoint&, int);
+ void doneEditing (TQListViewItem*, int);
void cleanDropVisualizer ();
void cleanItemHighlighter ();
- void emitContextMenu (QListViewItem*, const QPoint&, int);
- void emitContextMenu (KListView*, QListViewItem*);
- void slotOnItem (QListViewItem*);
+ void emitContextMenu (TQListViewItem*, const TQPoint&, int);
+ void emitContextMenu (KListView*, TQListViewItem*);
+ void slotOnItem (TQListViewItem*);
void slotOnViewport ();
void slotAutoSelect ();
@@ -204,9 +204,9 @@ protected slots:
void slotHeaderChanged ();
protected:
- virtual void movableDropEvent (QListViewItem*, QListViewItem*);
- virtual void findDrop (const QPoint&, QListViewItem*&, QListViewItem*&);
- void fileManagerKeyPressEvent (QKeyEvent*);
+ virtual void movableDropEvent (TQListViewItem*, TQListViewItem*);
+ virtual void findDrop (const TQPoint&, TQListViewItem*&, TQListViewItem*&);
+ void fileManagerKeyPressEvent (TQKeyEvent*);
int depthToPixels (int);
protected:
@@ -215,19 +215,19 @@ protected:
signals:
%If ( - KDE_3_3_0 )
- void doubleClicked (QListViewItem*, const QPoint&, int);
+ void doubleClicked (TQListViewItem*, const TQPoint&, int);
%End
protected:
//force
- virtual QDragObject* dragObject ();
+ virtual TQDragObject* dragObject ();
//end
}; // class KListView
-class KListViewItem : QListViewItem
+class KListViewItem : TQListViewItem
{
%TypeHeaderCode
#include <klistview.h>
@@ -235,40 +235,40 @@ class KListViewItem : QListViewItem
public:
- KListViewItem (QListView* /TransferThis/);
- KListViewItem (QListViewItem* /TransferThis/);
- KListViewItem (QListView* /TransferThis/, QListViewItem*);
- KListViewItem (QListViewItem* /TransferThis/, QListViewItem*);
- KListViewItem (QListView* /TransferThis/, QString, QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null );
- KListViewItem (QListViewItem* /TransferThis/, QString, QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null , QString = QString ::null );
- KListViewItem (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 );
- KListViewItem (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 );
+ KListViewItem (TQListView* /TransferThis/);
+ KListViewItem (TQListViewItem* /TransferThis/);
+ KListViewItem (TQListView* /TransferThis/, TQListViewItem*);
+ KListViewItem (TQListViewItem* /TransferThis/, TQListViewItem*);
+ KListViewItem (TQListView* /TransferThis/, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null );
+ KListViewItem (TQListViewItem* /TransferThis/, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null );
+ KListViewItem (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 );
+ KListViewItem (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 );
%If ( KDE_3_3_0 - )
- virtual void insertItem (QListViewItem*);
- virtual void takeItem (QListViewItem*);
+ virtual void insertItem (TQListViewItem*);
+ virtual void takeItem (TQListViewItem*);
%End
bool isAlternate ();
- const QColor& backgroundColor ();
+ const TQColor& backgroundColor ();
%If ( KDE_3_4_0 - )
- QColor backgroundColor (int);
+ TQColor backgroundColor (int);
%End
- virtual void paintCell (QPainter*, const QColorGroup&, int, int, int);
+ virtual void paintCell (TQPainter*, const TQColorGroup&, int, int, int);
}; // class KListViewItem
-%MappedType QPtrList<QListViewItem>
-//converts a Python list of QListViewItem
+%MappedType TQPtrList<TQListViewItem>
+//converts a Python list of TQListViewItem
{
%TypeHeaderCode
#include <qptrlist.h>
#include <qlistview.h>
-typedef QPtrList<QListViewItem> ListViewItems;
+typedef TQPtrList<TQListViewItem> ListViewItems;
%End
%ConvertFromTypeCode
@@ -284,8 +284,8 @@ typedef QPtrList<QListViewItem> ListViewItems;
// Get it.
- QPtrList<QListViewItem> *cpplist = (QPtrList<QListViewItem> *)sipCpp;
- QListViewItem *cpp;
+ TQPtrList<TQListViewItem> *cpplist = (TQPtrList<TQListViewItem> *)sipCpp;
+ TQListViewItem *cpp;
PyObject *inst;
// the loop depends on the type of iterator the template makes available
@@ -306,16 +306,16 @@ typedef QPtrList<QListViewItem> ListViewItems;
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<QListViewItem> *cpplist = new QPtrList<QListViewItem>;
+ TQPtrList<TQListViewItem> *cpplist = new TQPtrList<TQListViewItem>;
PyObject *elem;
- QListViewItem *cpp;
+ TQListViewItem *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (QListViewItem *)sipForceConvertToType(elem, sipType_QListViewItem, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TQListViewItem *)sipForceConvertToType(elem, sipType_QListViewItem, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{