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/qtpe/qpemenubutton.sip | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'sip/qtpe/qpemenubutton.sip') diff --git a/sip/qtpe/qpemenubutton.sip b/sip/qtpe/qpemenubutton.sip index ff3a729..24538c3 100644 --- a/sip/qtpe/qpemenubutton.sip +++ b/sip/qtpe/qpemenubutton.sip @@ -3,20 +3,20 @@ // 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. @@ -26,36 +26,36 @@ %If (WS_QWS) -class MenuButton : QPushButton +class MenuButton : TQPushButton { %TypeHeaderCode #include %End public: - MenuButton(QWidget * /TransferThis/,const char * = 0); - MenuButton(const QStringList &,QWidget * /TransferThis/, + MenuButton(TQWidget * /TransferThis/,const char * = 0); + MenuButton(const TQStringList &,TQWidget * /TransferThis/, const char * = 0); void clear(); int currentItem() const; - QString currentText() const; + TQString currentText() const; - void insertItems(const QStringList &); - void insertItem(const QIconSet &,const QString & = QString::null); - void insertItem(const QString &); + void insertItems(const TQStringList &); + void insertItem(const TQIconSet &,const TQString & = TQString::null); + void insertItem(const TQString &); void insertSeparator(); - void setLabel(const QString &); + void setLabel(const TQString &); signals: void selected(int); - void selected(const QString &); + void selected(const TQString &); public slots: void select(int); - void select(const QString &); + void select(const TQString &); }; %End -- cgit v1.2.1