diff options
Diffstat (limited to 'sip/qttable/qtable.sip')
-rw-r--r-- | sip/qttable/qtable.sip | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/sip/qttable/qtable.sip b/sip/qttable/qtable.sip index da56d53..8b19fea 100644 --- a/sip/qttable/qtable.sip +++ b/sip/qttable/qtable.sip @@ -55,7 +55,6 @@ %If (TQt_TABLE) -%If (TQt_2_2_0 -) class TQTableSelection { @@ -65,9 +64,7 @@ class TQTableSelection public: TQTableSelection(); -%If (TQt_3_1_0 -) TQTableSelection(int,int,int,int); -%End void init(int,int); void expandTo(int,int); @@ -78,15 +75,11 @@ public: int rightCol() const; int anchorRow() const; int anchorCol() const; -%If (TQt_3_2_0 -) int numRows() const; int numCols() const; -%End bool isActive() const; -%If (TQt_3_2_0 -) bool isEmpty() const; -%End }; @@ -106,16 +99,13 @@ public: // Note that the TQt documentation is wrong. Ownership is only taken by // TQTable::setItem(). -%If (TQt_3_2_0 -) TQTableItem(TQTable *,EditType); -%End TQTableItem(TQTable *,EditType,const TQString &); TQTableItem(TQTable *,EditType,const TQString &,const TQPixmap &); %ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS -#if TQT_VERSION >= 0x030000 int rtti = sipCpp -> rtti(); if (rtti == TQCheckTableItem::RTTI) @@ -124,9 +114,6 @@ public: sipClass = sipClass_TQComboTableItem; else sipClass = 0; -#else - sipClass = 0; -#endif Py_END_ALLOW_THREADS %End @@ -163,22 +150,13 @@ public: void updateEditor(int,int); -%If (TQt_3_0_0 -) virtual void setEnabled(bool); bool isEnabled() const; virtual int rtti() const; -%End - -protected: -%If (TQt_3_2_0 - TQt_3_3_0) - TQString content() const; -%End }; -%If (TQt_3_0_0 -) - class TQComboTableItem : TQTableItem { %TypeHeaderCode @@ -205,15 +183,9 @@ public: int rtti() const; -%If (TQt_3_0_6 -) TQSize sizeHint() const; -%End }; -%End - - -%If (TQt_3_0_0 -) class TQCheckTableItem : TQTableItem { @@ -226,9 +198,7 @@ public: // TQTable::setItem(). TQCheckTableItem(TQTable *,const TQString &); -%If (TQt_3_2_0 -) void setText(const TQString &); -%End virtual TQWidget *createEditor() const /Factory/; virtual void setContentFromEditor(TQWidget *); virtual void paint(TQPainter *,const TQColorGroup &,const TQRect &,bool); @@ -237,13 +207,9 @@ public: int rtti() const; -%If (TQt_3_0_6 -) TQSize sizeHint() const; -%End }; -%End - class TQTable : TQScrollView { @@ -262,14 +228,6 @@ public: TQHeader *horizontalHeader() const; TQHeader *verticalHeader() const; -%If (- TQt_3_0_0) - enum SelectionMode { - Single, - Multi, - NoSelection - }; -%End -%If (TQt_3_0_0 -) enum SelectionMode { Single, Multi, @@ -277,7 +235,6 @@ public: MultiRow, NoSelection }; -%End virtual void setSelectionMode(SelectionMode); SelectionMode selectionMode() const; @@ -298,14 +255,8 @@ public: virtual int columnAt(int) const; virtual int rowAt(int) const; -%If (- TQt_3_0_0) - int numRows() const; - int numCols() const; -%End -%If (TQt_3_0_0 -) virtual int numRows() const; virtual int numCols() const; -%End void updateCell(int,int); @@ -325,11 +276,9 @@ public: virtual void removeSelection(int); virtual int currentSelection() const; -%If (TQt_3_1_0 -) void selectCells(int,int,int,int); void selectRow(int); void selectColumn(int); -%End bool showGrid() const; @@ -346,19 +295,14 @@ public: virtual TQWidget *cellWidget(int,int) const; virtual void clearCellWidget(int,int); -%If (TQt_3_0_0 -) virtual TQRect cellRect(int,int) const; -%End virtual void paintCell(TQPainter *,int,int,const TQRect &,bool); -%If (TQt_3_0_0 -) virtual void paintCell(TQPainter *,int,int,const TQRect &,bool, const TQColorGroup &); -%End virtual void paintFocus(TQPainter *,const TQRect &); TQSize sizeHint() const; -%If (TQt_3_0_0 -) bool isReadOnly() const; bool isRowReadOnly(int) const; bool isColumnReadOnly(int) const; @@ -374,11 +318,8 @@ public: virtual void setFocusStyle(FocusStyle); FocusStyle focusStyle() const; -%End -%If (TQt_3_1_0 -) void updateHeaderStates(); -%End public slots: virtual void setNumRows(int); @@ -388,10 +329,8 @@ public slots: virtual void hideColumn(int); virtual void showRow(int); virtual void showColumn(int); -%If (TQt_3_3_0 -) bool isRowHidden(int) const; bool isColumnHidden(int) const; -%End virtual void setColumnWidth(int,int); virtual void setRowHeight(int,int); @@ -404,14 +343,8 @@ public slots: bool isColumnStretchable(int) const; bool isRowStretchable(int) const; virtual void setSorting(bool); -%If (- TQt_3_0_0) - virtual void swapRows(int,int); - virtual void swapColumns(int,int); -%End -%If (TQt_3_0_0 -) virtual void swapRows(int,int,bool = 0); virtual void swapColumns(int,int,bool = 0); -%End virtual void swapCells(int,int,int,int); virtual void setLeftMargin(int); @@ -421,7 +354,6 @@ public slots: virtual void setColumnMovingEnabled(bool); virtual void setRowMovingEnabled(bool); -%If (TQt_3_0_0 -) virtual void setReadOnly(bool); virtual void setRowReadOnly(int,bool); virtual void setColumnReadOnly(int,bool); @@ -437,44 +369,29 @@ public slots: virtual void removeColumns(const TQMemArray<int> &); virtual void editCell(int,int,bool = 0); -%End -%If (TQt_3_1_0 -) void setRowLabels(const TQStringList &); void setColumnLabels(const TQStringList &); -%End protected: -%If (TQt_3_0_0 -) enum EditMode { NotEditing, Editing, Replacing }; -%End void drawContents(TQPainter *,int,int,int,int); void contentsMousePressEvent(TQMouseEvent *); void contentsMouseMoveEvent(TQMouseEvent *); void contentsMouseDoubleClickEvent(TQMouseEvent *); void contentsMouseReleaseEvent(TQMouseEvent *); -%If (TQt_3_0_0 -) void contentsContextMenuEvent(TQContextMenuEvent *); -%End void keyPressEvent(TQKeyEvent *); void focusInEvent(TQFocusEvent *); void focusOutEvent(TQFocusEvent *); -%If (- TQt_3_0_0) - void resizeEvent(TQResizeEvent *); -%End -%If (TQt_3_0_0 -) void viewportResizeEvent(TQResizeEvent *); -%End void showEvent(TQShowEvent *); -%If (TQt_3_1_0 -) void paintEvent(TQPaintEvent *); -%End -%If (TQt_3_0_0 -) void setEditMode(EditMode,int,int); virtual void contentsDragEnterEvent(TQDragEnterEvent *); virtual void contentsDragMoveEvent(TQDragMoveEvent *); @@ -482,7 +399,6 @@ protected: virtual void contentsDropEvent(TQDropEvent *); virtual TQDragObject *dragObject(); virtual void startDrag(); -%End virtual void paintEmptyArea(TQPainter *,int,int,int,int); virtual void activateNextCell(); @@ -495,13 +411,11 @@ protected: virtual void insertWidget(int,int,TQWidget *); int indexOf(int,int) const; -%If (TQt_3_0_0 -) void windowActivationChange(bool); bool isEditing() const; EditMode editMode() const; int currEditRow() const; int currEditCol() const; -%End protected slots: virtual void columnWidthChanged(int); @@ -517,16 +431,11 @@ signals: void pressed(int,int,int,const TQPoint &); void selectionChanged(); void valueChanged(int,int); -%If (TQt_3_0_0 -) void contextMenuRequested(int,int,const TQPoint &); void dropped(TQDropEvent *); -%End private: -%If (TQt_3_1_0 -) TQTable(const TQTable &); -%End }; %End -%End |