summaryrefslogtreecommitdiffstats
path: root/sip/qt/qmenubar.sip
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-29 01:11:08 -0600
committerTimothy Pearson <[email protected]>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qmenubar.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qmenubar.sip')
-rw-r--r--sip/qt/qmenubar.sip78
1 files changed, 39 insertions, 39 deletions
diff --git a/sip/qt/qmenubar.sip b/sip/qt/qmenubar.sip
index 5f61458..b0bb9fa 100644
--- a/sip/qt/qmenubar.sip
+++ b/sip/qt/qmenubar.sip
@@ -1,49 +1,49 @@
-// This is the SIP interface definition for QMenuBar.
+// This is the SIP interface definition for TQMenuBar.
//
// Copyright (c) 2007
// Riverbank Computing Limited <[email protected]>
//
-// 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>QMenuBar</Title>
+<Sect2><Title>TQMenuBar</Title>
<Para>
-<Literal>QMenuBar</Literal> is fully implemented.
+<Literal>TQMenuBar</Literal> is fully implemented.
</Para>
</Sect2>
%End
-class QMenuBar : QFrame, QMenuData
+class TQMenuBar : TQFrame, TQMenuData
{
%TypeHeaderCode
#include <qmenubar.h>
%End
public:
- QMenuBar(QWidget * /TransferThis/ = 0,const char * = 0);
+ TQMenuBar(TQWidget * /TransferThis/ = 0,const char * = 0);
void updateItem(int);
void show();
void hide();
- bool eventFilter(QObject *,QEvent *);
+ bool eventFilter(TQObject *,TQEvent *);
int heightForWidth(int) const;
@@ -53,29 +53,29 @@ public:
};
Separator separator() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setSeparator(Separator);
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
virtual void setSeparator(Separator);
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void setDefaultUp(bool);
bool isDefaultUp() const;
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
bool customWhatsThis() const;
%End
-%If (Qt_2_1_0 -)
- QSize sizeHint() const;
- QSize minimumSize() const;
- QSize minimumSizeHint() const;
+%If (TQt_2_1_0 -)
+ TQSize sizeHint() const;
+ TQSize minimumSize() const;
+ TQSize minimumSizeHint() const;
%End
-%If (Qt_2_2_0 -)
+%If (TQt_2_2_0 -)
void activateItemAt(int);
%End
@@ -84,35 +84,35 @@ signals:
void highlighted(int);
protected:
- void drawContents(QPainter *);
- void fontChange(const QFont &);
- void mousePressEvent(QMouseEvent *);
- void mouseReleaseEvent(QMouseEvent *);
- void mouseMoveEvent(QMouseEvent *);
- void keyPressEvent(QKeyEvent *);
-%If (Qt_2_1_0 -)
- void focusInEvent(QFocusEvent *);
+ void drawContents(TQPainter *);
+ void fontChange(const TQFont &);
+ void mousePressEvent(TQMouseEvent *);
+ void mouseReleaseEvent(TQMouseEvent *);
+ void mouseMoveEvent(TQMouseEvent *);
+ void keyPressEvent(TQKeyEvent *);
+%If (TQt_2_1_0 -)
+ void focusInEvent(TQFocusEvent *);
%End
-%If (Qt_2_00 -)
- void focusOutEvent(QFocusEvent *);
+%If (TQt_2_00 -)
+ void focusOutEvent(TQFocusEvent *);
%End
- void resizeEvent(QResizeEvent *);
- void leaveEvent(QEvent *);
+ void resizeEvent(TQResizeEvent *);
+ void leaveEvent(TQEvent *);
void menuContentsChanged();
void menuStateChanged();
-%If (Qt_2_00 -)
- void styleChange(QStyle &);
+%If (TQt_2_00 -)
+ void styleChange(TQStyle &);
%End
-%If (Qt_3_0_0 -)
- int itemAtPos(const QPoint &);
+%If (TQt_3_0_0 -)
+ int itemAtPos(const TQPoint &);
void hidePopups();
- QRect itemRect(int);
+ TQRect itemRect(int);
%End
private:
- void menuInsPopup(QPopupMenu *);
- void menuDelPopup(QPopupMenu *);
+ void menuInsPopup(TQPopupMenu *);
+ void menuDelPopup(TQPopupMenu *);
void frameChanged();
- QMenuBar(const QMenuBar &);
+ TQMenuBar(const TQMenuBar &);
};