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.sip45
1 files changed, 0 insertions, 45 deletions
diff --git a/sip/qt/qstylesheet.sip b/sip/qt/qstylesheet.sip
index 397757e..8f1d546 100644
--- a/sip/qt/qstylesheet.sip
+++ b/sip/qt/qstylesheet.sip
@@ -35,8 +35,6 @@
%End
-%If (TQt_2_00 -)
-
class TQStyleSheetItem : TQt
{
%TypeHeaderCode
@@ -68,7 +66,6 @@ public:
int alignment() const;
void setAlignment(int);
-%If (TQt_3_0_0 -)
enum VerticalAlignment {
VAlignBaseline,
VAlignSub,
@@ -77,7 +74,6 @@ public:
VerticalAlignment verticalAlignment() const;
void setVerticalAlignment(VerticalAlignment);
-%End
int fontWeight() const;
void setFontWeight(int);
@@ -108,44 +104,22 @@ public:
void setFontUnderline(bool);
bool definesFontUnderline() const;
-%If (TQt_3_0_5 -)
bool fontStrikeOut() const;
void setFontStrikeOut(bool);
bool definesFontStrikeOut() const;
-%End
bool isAnchor() const;
void setAnchor(bool);
-%If (- TQt_2_1_0)
- enum WhiteSpaceMode {
- WhiteSpaceNormal,
- WhiteSpacePre
- };
-%End
-%If (TQt_2_1_0 -)
enum WhiteSpaceMode {
WhiteSpaceNormal,
WhiteSpacePre,
WhiteSpaceNoWrap
};
-%End
WhiteSpaceMode whiteSpaceMode() const;
void setWhiteSpaceMode(WhiteSpaceMode);
-%If (- TQt_3_0_0)
- enum Margin {
- MarginLeft,
- MarginRight,
- MarginTop,
- MarginBottom,
- MarginAll,
- MarginVertical,
- MarginHorizontal
- };
-%End
-%If (TQt_3_0_0 -)
enum Margin {
MarginLeft,
MarginRight,
@@ -156,7 +130,6 @@ public:
MarginVertical,
MarginHorizontal
};
-%End
int margin(Margin) const;
void setMargin(Margin,int);
@@ -180,10 +153,8 @@ public:
bool selfNesting() const;
void setSelfNesting(bool);
-%If (TQt_3_0_0 -)
void setLineSpacing(int);
int lineSpacing() const;
-%End
};
@@ -204,36 +175,20 @@ public:
void insert(TQStyleSheetItem *);
-%If (- TQt_3_0_0)
-// virtual TQTextNode *tag(const TQString &,const TQMap<TQString,TQString> &,
-// const TQString &,const TQMimeSourceFactory &,
-// bool = 0) const;
-%End
-%If (TQt_3_0_0 -)
// virtual TQTextCustomItem *tag(const TQString &,
// const TQMap<TQString,TQString> &,
// const TQString &,
// const TQMimeSourceFactory &,bool,
// TQTextDocument *) const;
-%End
-%If (TQt_3_0_0 -)
static TQString escape(const TQString &);
static TQString convertFromPlainText(const TQString &,
TQStyleSheetItem::WhiteSpaceMode = TQStyleSheetItem::WhiteSpacePre);
-%End
-%If (- TQt_3_0_0)
- static TQString convertFromPlainText(const TQString &);
-%End
static bool mightBeRichText(const TQString &);
virtual void scaleFont(TQFont &,int) const;
virtual void error(const TQString &) const;
private:
-%If (TQt_3_1_0 -)
TQStyleSheet(const TQStyleSheet &);
-%End
};
-
-%End