summaryrefslogtreecommitdiffstats
path: root/sip/qt/qstylesheet.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qstylesheet.sip')
-rw-r--r--sip/qt/qstylesheet.sip112
1 files changed, 56 insertions, 56 deletions
diff --git a/sip/qt/qstylesheet.sip b/sip/qt/qstylesheet.sip
index c248e56..3b0d252 100644
--- a/sip/qt/qstylesheet.sip
+++ b/sip/qt/qstylesheet.sip
@@ -1,55 +1,55 @@
-// This is the SIP interface definition for QStyleSheet and QStyleSheetItem.
+// This is the SIP interface definition for TQStyleSheet and TQStyleSheetItem.
//
// 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>QStyleSheet (Qt v2+)</Title>
+<Sect2><Title>TQStyleSheet (TQt v2+)</Title>
<Para>
-<Literal>QStyleSheet</Literal> is fully implemented.
+<Literal>TQStyleSheet</Literal> is fully implemented.
</Para>
</Sect2>
-<Sect2><Title>QStyleSheetItem (Qt v2+)</Title>
+<Sect2><Title>TQStyleSheetItem (TQt v2+)</Title>
<Para>
-<Literal>QStyleSheetItem</Literal> is fully implemented.
+<Literal>TQStyleSheetItem</Literal> is fully implemented.
</Para>
</Sect2>
%End
-%If (Qt_2_00 -)
+%If (TQt_2_00 -)
-class QStyleSheetItem : Qt
+class TQStyleSheetItem : TQt
{
%TypeHeaderCode
#include <qstylesheet.h>
%End
public:
- QStyleSheetItem(QStyleSheet * /TransferThis/,const QString &);
+ TQStyleSheetItem(TQStyleSheet * /TransferThis/,const TQString &);
- QString name() const;
+ TQString name() const;
- QStyleSheet *styleSheet();
-// const QStyleSheet *styleSheet() const;
+ TQStyleSheet *styleSheet();
+// const TQStyleSheet *styleSheet() const;
enum AdditionalStyleValues {
Undefined
@@ -68,7 +68,7 @@ public:
int alignment() const;
void setAlignment(int);
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
enum VerticalAlignment {
VAlignBaseline,
VAlignSub,
@@ -91,14 +91,14 @@ public:
int fontSize() const;
void setFontSize(int);
- QString fontFamily() const;
- void setFontFamily(const QString &);
+ TQString fontFamily() const;
+ void setFontFamily(const TQString &);
int numberOfColumns() const;
void setNumberOfColumns(int);
- QColor color() const;
- void setColor(const QColor &);
+ TQColor color() const;
+ void setColor(const TQColor &);
bool fontItalic() const;
void setFontItalic(bool);
@@ -108,7 +108,7 @@ public:
void setFontUnderline(bool);
bool definesFontUnderline() const;
-%If (Qt_3_0_5 -)
+%If (TQt_3_0_5 -)
bool fontStrikeOut() const;
void setFontStrikeOut(bool);
bool definesFontStrikeOut() const;
@@ -117,13 +117,13 @@ public:
bool isAnchor() const;
void setAnchor(bool);
-%If (- Qt_2_1_0)
+%If (- TQt_2_1_0)
enum WhiteSpaceMode {
WhiteSpaceNormal,
WhiteSpacePre
};
%End
-%If (Qt_2_1_0 -)
+%If (TQt_2_1_0 -)
enum WhiteSpaceMode {
WhiteSpaceNormal,
WhiteSpacePre,
@@ -134,7 +134,7 @@ public:
WhiteSpaceMode whiteSpaceMode() const;
void setWhiteSpaceMode(WhiteSpaceMode);
-%If (- Qt_3_0_0)
+%If (- TQt_3_0_0)
enum Margin {
MarginLeft,
MarginRight,
@@ -145,7 +145,7 @@ public:
MarginHorizontal
};
%End
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
enum Margin {
MarginLeft,
MarginRight,
@@ -173,66 +173,66 @@ public:
ListStyle listStyle() const;
void setListStyle(ListStyle);
- QString contexts() const;
- void setContexts(const QString &);
- bool allowedInContext(const QStyleSheetItem *) const;
+ TQString contexts() const;
+ void setContexts(const TQString &);
+ bool allowedInContext(const TQStyleSheetItem *) const;
bool selfNesting() const;
void setSelfNesting(bool);
-%If (Qt_3_0_0 -)
+%If (TQt_3_0_0 -)
void setLineSpacing(int);
int lineSpacing() const;
%End
};
-class QStyleSheet : QObject
+class TQStyleSheet : TQObject
{
%TypeHeaderCode
#include <qstylesheet.h>
%End
public:
- QStyleSheet(QObject * /TransferThis/ = 0,const char * = 0);
+ TQStyleSheet(TQObject * /TransferThis/ = 0,const char * = 0);
- static QStyleSheet *defaultSheet();
- static void setDefaultSheet(QStyleSheet *);
+ static TQStyleSheet *defaultSheet();
+ static void setDefaultSheet(TQStyleSheet *);
- QStyleSheetItem *item(const QString &);
-// const QStyleSheetItem *item(const QString &) const;
+ TQStyleSheetItem *item(const TQString &);
+// const TQStyleSheetItem *item(const TQString &) const;
- void insert(QStyleSheetItem *);
+ void insert(TQStyleSheetItem *);
-%If (- Qt_3_0_0)
-// virtual QTextNode *tag(const QString &,const QMap<QString,QString> &,
-// const QString &,const QMimeSourceFactory &,
+%If (- TQt_3_0_0)
+// virtual TQTextNode *tag(const TQString &,const TQMap<TQString,TQString> &,
+// const TQString &,const TQMimeSourceFactory &,
// bool = 0) const;
%End
-%If (Qt_3_0_0 -)
-// virtual QTextCustomItem *tag(const QString &,
-// const QMap<QString,QString> &,
-// const QString &,
-// const QMimeSourceFactory &,bool,
-// QTextDocument *) const;
+%If (TQt_3_0_0 -)
+// virtual TQTextCustomItem *tag(const TQString &,
+// const TQMap<TQString,TQString> &,
+// const TQString &,
+// const TQMimeSourceFactory &,bool,
+// TQTextDocument *) const;
%End
-%If (Qt_3_0_0 -)
- static QString escape(const QString &);
- static QString convertFromPlainText(const QString &,
- QStyleSheetItem::WhiteSpaceMode = QStyleSheetItem::WhiteSpacePre);
+%If (TQt_3_0_0 -)
+ static TQString escape(const TQString &);
+ static TQString convertFromPlainText(const TQString &,
+ TQStyleSheetItem::WhiteSpaceMode = TQStyleSheetItem::WhiteSpacePre);
%End
-%If (- Qt_3_0_0)
- static QString convertFromPlainText(const QString &);
+%If (- TQt_3_0_0)
+ static TQString convertFromPlainText(const TQString &);
%End
- static bool mightBeRichText(const QString &);
+ static bool mightBeRichText(const TQString &);
- virtual void scaleFont(QFont &,int) const;
- virtual void error(const QString &) const;
+ virtual void scaleFont(TQFont &,int) const;
+ virtual void error(const TQString &) const;
private:
-%If (Qt_3_1_0 -)
- QStyleSheet(const QStyleSheet &);
+%If (TQt_3_1_0 -)
+ TQStyleSheet(const TQStyleSheet &);
%End
};