From 8a055d66f43592c257cece2eb8cc021808062917 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 29 Nov 2011 01:11:08 -0600 Subject: Initial TQt conversion --- sip/qt/qcombobox.sip | 222 +++++++++++++++++++++++++-------------------------- 1 file changed, 111 insertions(+), 111 deletions(-) (limited to 'sip/qt/qcombobox.sip') diff --git a/sip/qt/qcombobox.sip b/sip/qt/qcombobox.sip index 3555eba..62f4863 100644 --- a/sip/qt/qcombobox.sip +++ b/sip/qt/qcombobox.sip @@ -1,154 +1,154 @@ -// This is the SIP interface definition for QComboBox. +// This is the SIP interface definition for TQComboBox. // // Copyright (c) 2007 // Riverbank Computing Limited // -// 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 -QComboBox +TQComboBox -QComboBox is fully implemented. +TQComboBox is fully implemented. %End -class QComboBox : QWidget +class TQComboBox : TQWidget { %TypeHeaderCode #include %End public: - QComboBox(QWidget * /TransferThis/ = 0,char * = 0); - QComboBox(bool,QWidget * /TransferThis/ = 0,char * = 0); + TQComboBox(TQWidget * /TransferThis/ = 0,char * = 0); + TQComboBox(bool,TQWidget * /TransferThis/ = 0,char * = 0); int count() const; -%If (Qt_2_00 -) - void insertStringList(QStringList &,int = -1); +%If (TQt_2_00 -) + void insertStringList(TQStringList &,int = -1); %End - void insertStrList(const QStrList *,int = -1); -// void insertStrList(const QStrList &,int = -1); + void insertStrList(const TQStrList *,int = -1); +// void insertStrList(const TQStrList &,int = -1); // void insertStrList(const char **,int = -1,int = -1); -%If (- Qt_2_00) +%If (- TQt_2_00) void insertItem(const char *,int = -1); %End -%If (Qt_2_00 -) - void insertItem(const QString &,int = -1); +%If (TQt_2_00 -) + void insertItem(const TQString &,int = -1); %End - void insertItem(const QPixmap &,int = -1); -%If (Qt_2_1_0 -) - void insertItem(const QPixmap &,const QString &,int = -1); + void insertItem(const TQPixmap &,int = -1); +%If (TQt_2_1_0 -) + void insertItem(const TQPixmap &,const TQString &,int = -1); %End void removeItem(int); -%If (- Qt_3_0_0) +%If (- TQt_3_0_0) void clear(); %End int currentItem() const; -%If (- Qt_2_00) +%If (- TQt_2_00) void setCurrentItem(int); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) virtual void setCurrentItem(int); %End -%If (- Qt_2_00) +%If (- TQt_2_00) const char *currentText() const; %End -%If (Qt_2_00 -) - QString currentText() const; +%If (TQt_2_00 -) + TQString currentText() const; %End -%If (Qt_3_0_0 -) - virtual void setCurrentText(const QString &); +%If (TQt_3_0_0 -) + virtual void setCurrentText(const TQString &); %End -%If (- Qt_2_00) +%If (- TQt_2_00) const char *text(int) const; %End -%If (Qt_2_00 -) - QString text(int) const; +%If (TQt_2_00 -) + TQString text(int) const; %End - const QPixmap *pixmap(int) const; + const TQPixmap *pixmap(int) const; -%If (- Qt_2_00) +%If (- TQt_2_00) void changeItem(const char *,int); %End -%If (Qt_2_00 -) - void changeItem(const QString &,int); +%If (TQt_2_00 -) + void changeItem(const TQString &,int); %End - void changeItem(const QPixmap &,int); -%If (Qt_2_1_0 -) - void changeItem(const QPixmap &,const QString &,int); + void changeItem(const TQPixmap &,int); +%If (TQt_2_1_0 -) + void changeItem(const TQPixmap &,const TQString &,int); %End bool autoResize() const; -%If (- Qt_2_00) +%If (- TQt_2_00) void setAutoResize(bool); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) virtual void setAutoResize(bool); %End - QSize sizeHint() const; -%If (Qt_2_00 - Qt_3_0_0) - virtual QSizePolicy sizePolicy() const; + TQSize sizeHint() const; +%If (TQt_2_00 - TQt_3_0_0) + virtual TQSizePolicy sizePolicy() const; %End -%If (- Qt_2_00) - void setBackgroundColor(const QColor &); +%If (- TQt_2_00) + void setBackgroundColor(const TQColor &); void setStyle(GUIStyle); %End -%If (Qt_2_00 - Qt_3_0_0) - virtual void setBackgroundColor(const QColor &); +%If (TQt_2_00 - TQt_3_0_0) + virtual void setBackgroundColor(const TQColor &); %End -%If (- Qt_2_00) - void setPalette(const QPalette &); - void setFont(const QFont &); +%If (- TQt_2_00) + void setPalette(const TQPalette &); + void setFont(const TQFont &); void setEnabled(bool); %End -%If (Qt_2_00 - Qt_3_0_0) - virtual void setPalette(const QPalette &); - virtual void setFont(const QFont &); +%If (TQt_2_00 - TQt_3_0_0) + virtual void setPalette(const TQPalette &); + virtual void setFont(const TQFont &); virtual void setEnabled(bool); %End -%If (Qt_3_0_0 -) - void setPalette(const QPalette &); - void setFont(const QFont &); +%If (TQt_3_0_0 -) + void setPalette(const TQPalette &); + void setFont(const TQFont &); void setEnabled(bool); %End -%If (- Qt_2_00) +%If (- TQt_2_00) void setSizeLimit(int); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) virtual void setSizeLimit(int); %End int sizeLimit() const; -%If (- Qt_2_00) +%If (- TQt_2_00) void setMaxCount(int); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) virtual void setMaxCount(int); %End int maxCount() const; @@ -162,116 +162,116 @@ public: BeforeCurrent }; -%If (- Qt_2_00) +%If (- TQt_2_00) void setInsertionPolicy(Policy); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) virtual void setInsertionPolicy(Policy); %End Policy insertionPolicy() const; -%If (- Qt_2_00) - void setValidator(QValidator *); - QValidator *validator() const; +%If (- TQt_2_00) + void setValidator(TQValidator *); + TQValidator *validator() const; %End -%If (Qt_2_00 -) - virtual void setValidator(const QValidator *); - const QValidator *validator() const; +%If (TQt_2_00 -) + virtual void setValidator(const TQValidator *); + const TQValidator *validator() const; %End -%If (- Qt_2_00) - void setListBox(QListBox *); +%If (- TQt_2_00) + void setListBox(TQListBox *); %End -%If (Qt_2_00 -) - virtual void setListBox(QListBox *); +%If (TQt_2_00 -) + virtual void setListBox(TQListBox *); %End - QListBox *listBox() const; + TQListBox *listBox() const; -%If (Qt_3_0_0 -) - virtual void setLineEdit(QLineEdit *); +%If (TQt_3_0_0 -) + virtual void setLineEdit(TQLineEdit *); %End -%If (Qt_2_1_0 -) - QLineEdit *lineEdit() const; +%If (TQt_2_1_0 -) + TQLineEdit *lineEdit() const; %End -%If (- Qt_2_00) +%If (- TQt_2_00) void setAutoCompletion(bool); %End -%If (Qt_2_00 -) +%If (TQt_2_00 -) virtual void setAutoCompletion(bool); %End bool autoCompletion() const; - bool eventFilter(QObject *,QEvent *); + bool eventFilter(TQObject *,TQEvent *); -%If (Qt_2_1_0 -) +%If (TQt_2_1_0 -) void setDuplicatesEnabled(bool); bool duplicatesEnabled() const; %End -%If (Qt_2_2_0 -) +%If (TQt_2_2_0 -) bool editable() const; void setEditable(bool); %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) virtual void popup(); %End -%If (Qt_3_3_0 -) +%If (TQt_3_3_0 -) void hide(); %End public slots: -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) void clear(); %End void clearValidator(); void clearEdit(); -%If (- Qt_2_00) +%If (- TQt_2_00) void setEditText(const char *); %End -%If (Qt_2_00 -) - virtual void setEditText(const QString &); +%If (TQt_2_00 -) + virtual void setEditText(const TQString &); %End signals: void activated(int); void highlighted(int); -%If (- Qt_2_00) +%If (- TQt_2_00) void activated(const char *); void highlighted(const char *); %End -%If (Qt_2_00 -) - void activated(const QString &); - void highlighted(const QString &); - void textChanged(const QString &); +%If (TQt_2_00 -) + void activated(const TQString &); + void highlighted(const TQString &); + void textChanged(const TQString &); %End protected: - void paintEvent(QPaintEvent *); - void resizeEvent(QResizeEvent *); - void mousePressEvent(QMouseEvent *); - void mouseMoveEvent(QMouseEvent *); - void mouseReleaseEvent(QMouseEvent *); - void mouseDoubleClickEvent(QMouseEvent *); - void keyPressEvent(QKeyEvent *); - void focusInEvent(QFocusEvent *); -%If (Qt_3_1_1 -) - void focusOutEvent(QFocusEvent *); -%End -%If (Qt_3_1_0 -) - void wheelEvent(QWheelEvent *); -%End -%If (- Qt_3_0_0) + void paintEvent(TQPaintEvent *); + void resizeEvent(TQResizeEvent *); + void mousePressEvent(TQMouseEvent *); + void mouseMoveEvent(TQMouseEvent *); + void mouseReleaseEvent(TQMouseEvent *); + void mouseDoubleClickEvent(TQMouseEvent *); + void keyPressEvent(TQKeyEvent *); + void focusInEvent(TQFocusEvent *); +%If (TQt_3_1_1 -) + void focusOutEvent(TQFocusEvent *); +%End +%If (TQt_3_1_0 -) + void wheelEvent(TQWheelEvent *); +%End +%If (- TQt_3_0_0) void popup(); %End -%If (Qt_2_00 -) - void styleChange(QStyle &); +%If (TQt_2_00 -) + void styleChange(TQStyle &); void updateMask(); %End private: - QComboBox(const QComboBox &); + TQComboBox(const TQComboBox &); }; -- cgit v1.2.1