summaryrefslogtreecommitdiffstats
path: root/sip/qt/qmultilinedit.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /sip/qt/qmultilinedit.sip
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'sip/qt/qmultilinedit.sip')
-rw-r--r--sip/qt/qmultilinedit.sip192
1 files changed, 96 insertions, 96 deletions
diff --git a/sip/qt/qmultilinedit.sip b/sip/qt/qmultilinedit.sip
index 1d407ba..cc462be 100644
--- a/sip/qt/qmultilinedit.sip
+++ b/sip/qt/qmultilinedit.sip
@@ -1,27 +1,27 @@
-// This is the SIP interface definition for QMultiLineEdit.
+// This is the SIP interface definition for TQMultiLineEdit.
//
// Copyright (c) 2007
// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
//
-// 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>QMultiLineEdit</Title>
+<Sect2><Title>TQMultiLineEdit</Title>
<FuncSynopsis>
<FuncDef>void <Function>cursorPosition</Function> const</FuncDef>
<ParamDef>int *<Parameter>line</Parameter></ParamDef>
@@ -29,7 +29,7 @@
</FuncSynopsis>
<Para>
This takes no parameters and returns a tuple of the <Literal>line</Literal> and
-<Literal>col</Literal> values. (Qt v1.x, Qt v2.x)
+<Literal>col</Literal> values. (TQt v1.x, TQt v2.x)
</Para>
<FuncSynopsis>
@@ -37,7 +37,7 @@ This takes no parameters and returns a tuple of the <Literal>line</Literal> and
<ParamDef></ParamDef>
</FuncSynopsis>
<Para>
-This has been renamed <Literal>delChar</Literal> in Python. (Qt v1.x, Qt v2.x)
+This has been renamed <Literal>delChar</Literal> in Python. (TQt v1.x, TQt v2.x)
</Para>
<FuncSynopsis>
@@ -47,7 +47,7 @@ This has been renamed <Literal>delChar</Literal> in Python. (Qt v1.x, Qt v2.x)
</FuncSynopsis>
<Para>
This takes no parameters and returns a tuple of the <Literal>line</Literal> and
-<Literal>col</Literal> values. (Qt v1.x, Qt v2.x)
+<Literal>col</Literal> values. (TQt v1.x, TQt v2.x)
</Para>
<FuncSynopsis>
@@ -66,35 +66,35 @@ This takes no parameters and returns a tuple of the bool result and the
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
-class QMultiLineEdit : QTextEdit
+class TQMultiLineEdit : TQTextEdit
{
%TypeHeaderCode
#include <qmultilineedit.h>
%End
public:
- QMultiLineEdit(QWidget * /TransferThis/ = 0,const char * = 0);
+ TQMultiLineEdit(TQWidget * /TransferThis/ = 0,const char * = 0);
- QString textLine(int) const;
+ TQString textLine(int) const;
int numLines() const;
- virtual void insertLine(const QString &,int = -1);
-%If (Qt_3_1_0 -)
- virtual void insertAt(const QString &,int,int);
- virtual void insertAt(const QString &,int,int,bool);
+ virtual void insertLine(const TQString &,int = -1);
+%If (TQt_3_1_0 -)
+ virtual void insertAt(const TQString &,int,int);
+ virtual void insertAt(const TQString &,int,int,bool);
%End
-%If (- Qt_3_1_0)
- virtual void insertAt(const QString &,int,int,bool = 0);
+%If (- TQt_3_1_0)
+ virtual void insertAt(const TQString &,int,int,bool = 0);
%End
virtual void removeLine(int);
-%If (Qt_3_1_0 -)
+%If (TQt_3_1_0 -)
virtual void setCursorPosition(int,int);
virtual void setCursorPosition(int,int,bool);
%End
-%If (- Qt_3_1_0)
+%If (- TQt_3_1_0)
virtual void setCursorPosition(int,int,bool = 0);
%End
bool atBeginning() const;
@@ -107,7 +107,7 @@ public:
bool edited() const;
bool hasMarkedText() const;
- QString markedText() const;
+ TQString markedText() const;
void cursorWordForward(bool);
void cursorWordBackward(bool);
@@ -125,8 +125,8 @@ public slots:
void deselect();
protected:
- QPoint cursorPoint() const;
- virtual void insertAndMark(const QString &,bool);
+ TQPoint cursorPoint() const;
+ virtual void insertAndMark(const TQString &,bool);
virtual void newLine();
virtual void killLine();
virtual void pageUp(bool = 0);
@@ -142,22 +142,22 @@ protected:
int lineLength(int) const;
private:
- QMultiLineEdit(const QMultiLineEdit &);
+ TQMultiLineEdit(const TQMultiLineEdit &);
};
%End
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
-class QMultiLineEdit : QTableView
+class TQMultiLineEdit : TQTableView
{
%TypeHeaderCode
#include <qmultilinedit.h>
%End
public:
- QMultiLineEdit(QWidget * /TransferThis/ = 0,const char * = 0);
+ TQMultiLineEdit(TQWidget * /TransferThis/ = 0,const char * = 0);
int numLines() const;
virtual void removeLine(int);
@@ -171,11 +171,11 @@ public:
bool autoUpdate() const;
bool isReadOnly() const;
bool isOverwriteMode() const;
- QString text() const;
+ TQString text() const;
-%If (- Qt_2_00)
+%If (- TQt_2_00)
const char *textLine(int) const;
- void setFont(const QFont &);
+ void setFont(const TQFont &);
virtual void insertLine(const char *,int = -1);
virtual void insertAt(const char *,int,int);
void setCursorPosition(int,int,bool = 0);
@@ -183,20 +183,20 @@ public:
void setAutoUpdate(bool);
%End
-%If (Qt_2_00 -)
- QString textLine(int) const;
- QSize sizeHint() const;
- QSize minimumSizeHint() const;
- QSizePolicy sizePolicy() const;
- virtual void setFont(const QFont &);
- virtual void insertLine(const QString &,int = -1);
- virtual void insertAt(const QString &,int,int,bool = 0);
+%If (TQt_2_00 -)
+ TQString textLine(int) const;
+ TQSize sizeHint() const;
+ TQSize minimumSizeHint() const;
+ TQSizePolicy sizePolicy() const;
+ virtual void setFont(const TQFont &);
+ virtual void insertLine(const TQString &,int = -1);
+ virtual void insertAt(const TQString &,int,int,bool = 0);
virtual void setCursorPosition(int,int,bool = 0);
virtual void setFixedVisibleLines(int);
void setAlignment(int);
int alignment() const;
- virtual void setValidator(const QValidator *);
- const QValidator *validator() const;
+ virtual void setValidator(const TQValidator *);
+ const TQValidator *validator() const;
void setEdited(bool);
bool edited() const;
void cursorWordForward(bool);
@@ -221,7 +221,7 @@ public:
virtual void setAutoUpdate(bool);
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void setMaxLength(int);
int maxLength() const;
@@ -257,32 +257,32 @@ public slots:
void clear();
void deselect();
void selectAll();
-%If (Qt_CLIPBOARD)
+%If (TQt_CLIPBOARD)
void paste();
-%If (Qt_2_2_0 -)
- void pasteSubType(const QCString &);
+%If (TQt_2_2_0 -)
+ void pasteSubType(const TQCString &);
%End
void cut();
%End
-%If (- Qt_2_00)
+%If (- TQt_2_00)
void setText(const char *);
void setReadOnly(bool);
void setOverwriteMode(bool);
void append(const char *);
void copyText();
%End
-%If (Qt_2_00 -)
- virtual void setText(const QString &);
+%If (TQt_2_00 -)
+ virtual void setText(const TQString &);
virtual void setReadOnly(bool);
virtual void setOverwriteMode(bool);
- void append(const QString &);
-%If (Qt_CLIPBOARD)
+ void append(const TQString &);
+%If (TQt_CLIPBOARD)
void copyText() const;
void copy() const;
%End
- void insert(const QString &);
+ void insert(const TQString &);
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void undo();
void redo();
%End
@@ -290,59 +290,59 @@ public slots:
signals:
void textChanged();
void returnPressed();
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
void undoAvailable(bool);
void redoAvailable(bool);
%End
-%If (Qt_2_2_0 -)
+%If (TQt_2_2_0 -)
void copyAvailable(bool);
%End
protected:
- void paintCell(QPainter *,int,int);
-%If (Qt_2_2_0 -)
- bool event(QEvent *);
-%End
- void mousePressEvent(QMouseEvent *);
- void mouseMoveEvent(QMouseEvent *);
- void mouseReleaseEvent(QMouseEvent *);
- void mouseDoubleClickEvent(QMouseEvent *);
-%If (Qt_2_00 -)
- void wheelEvent(QWheelEvent *);
-%End
- void keyPressEvent(QKeyEvent *);
- void focusInEvent(QFocusEvent *);
- void focusOutEvent(QFocusEvent *);
- void timerEvent(QTimerEvent *);
- void leaveEvent(QEvent *);
- void resizeEvent(QResizeEvent *);
-%If (Qt_DRAGANDDROP)
-%If (Qt_2_00 -)
- void dragMoveEvent(QDragMoveEvent *);
-%End
-%If (Qt_2_1_0 -)
- void dragEnterEvent(QDragEnterEvent *);
-%End
-%If (Qt_2_00 -)
- void dropEvent(QDropEvent *);
- void dragLeaveEvent(QDragLeaveEvent *);
+ void paintCell(TQPainter *,int,int);
+%If (TQt_2_2_0 -)
+ bool event(TQEvent *);
+%End
+ void mousePressEvent(TQMouseEvent *);
+ void mouseMoveEvent(TQMouseEvent *);
+ void mouseReleaseEvent(TQMouseEvent *);
+ void mouseDoubleClickEvent(TQMouseEvent *);
+%If (TQt_2_00 -)
+ void wheelEvent(TQWheelEvent *);
+%End
+ void keyPressEvent(TQKeyEvent *);
+ void focusInEvent(TQFocusEvent *);
+ void focusOutEvent(TQFocusEvent *);
+ void timerEvent(TQTimerEvent *);
+ void leaveEvent(TQEvent *);
+ void resizeEvent(TQResizeEvent *);
+%If (TQt_DRAGANDDROP)
+%If (TQt_2_00 -)
+ void dragMoveEvent(TQDragMoveEvent *);
+%End
+%If (TQt_2_1_0 -)
+ void dragEnterEvent(TQDragEnterEvent *);
+%End
+%If (TQt_2_00 -)
+ void dropEvent(TQDropEvent *);
+ void dragLeaveEvent(TQDragLeaveEvent *);
%End
%End
bool hasMarkedText() const;
- QString markedText() const;
+ TQString markedText() const;
int textWidth(int);
-%If (- Qt_2_00)
- int textWidth(QString *);
+%If (- TQt_2_00)
+ int textWidth(TQString *);
%End
-%If (Qt_2_00 -)
- int textWidth(const QString &);
+%If (TQt_2_00 -)
+ int textWidth(const TQString &);
%End
- QPoint cursorPoint() const;
-%If (- Qt_2_00)
+ TQPoint cursorPoint() const;
+%If (- TQt_2_00)
virtual void insertChar(char);
%End
-%If (Qt_2_00 -)
- virtual void insert(const QString &,bool);
+%If (TQt_2_00 -)
+ virtual void insert(const TQString &,bool);
%End
virtual void newLine();
virtual void killLine();
@@ -358,17 +358,17 @@ protected:
virtual void end(bool = 0);
bool getMarkedRegion(int *,int *,int *,int *) const;
int lineLength(int) const;
- QString *getString(int) const;
-%If (Qt_2_1_0 -)
+ TQString *getString(int) const;
+%If (TQt_2_1_0 -)
bool isEndOfParagraph(int) const;
%End
-%If (Qt_2_00 -)
- QString stringShown(int) const;
- void insertChar(QChar);
+%If (TQt_2_00 -)
+ TQString stringShown(int) const;
+ void insertChar(TQChar);
%End
private:
- QMultiLineEdit(const QMultiLineEdit &);
+ TQMultiLineEdit(const TQMultiLineEdit &);
};
%End