summaryrefslogtreecommitdiffstats
path: root/sip/qt/qtranslator.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/qt/qtranslator.sip')
-rw-r--r--sip/qt/qtranslator.sip64
1 files changed, 0 insertions, 64 deletions
diff --git a/sip/qt/qtranslator.sip b/sip/qt/qtranslator.sip
index 73f0bb6..1edee94 100644
--- a/sip/qt/qtranslator.sip
+++ b/sip/qt/qtranslator.sip
@@ -35,8 +35,6 @@
%End
-%If (TQt_2_2_0 -)
-
class TQTranslatorMessage
{
%TypeHeaderCode
@@ -66,22 +64,12 @@ public:
HashContextSourceTextComment
};
-%If (- TQt_3_0_0)
- void write(TQDataStream &,bool,
- Prefix = HashContextSourceTextComment) const /ReleaseGIL/;
-%End
-%If (TQt_3_0_0 -)
void write(TQDataStream &,bool = 0,
Prefix = HashContextSourceTextComment) const /ReleaseGIL/;
-%End
Prefix commonPrefix(const TQTranslatorMessage &) const;
};
-%End
-
-
-%If (TQt_2_00 -)
class TQTranslator : TQObject
{
@@ -90,39 +78,17 @@ class TQTranslator : TQObject
%End
public:
-%If (TQt_3_2_0 -)
TQTranslator(TQObject * /TransferThis/ = 0,const char * = 0);
-%End
-%If (- TQt_3_2_0)
- TQTranslator(TQObject * /TransferThis/,const char * = 0);
-%End
-%If (TQt_2_2_0 -)
TQString find(const char *,const char *,const char *) const;
-%End
-%If (- TQt_3_0_0)
- virtual TQString find(const char *,const char *) const;
-%End
-%If (TQt_2_2_0 - TQt_3_0_0)
- TQTranslatorMessage findMessage(const char *,const char *,
- const char *) const;
-%End
-%If (TQt_3_0_0 - TQt_3_2_0)
- virtual TQTranslatorMessage findMessage(const char *,const char *,
- const char *) const;
-%End
-%If (TQt_3_2_0 -)
virtual TQTranslatorMessage findMessage(const char *,const char *,
const char * = 0) const;
-%End
bool load(const TQString &,const TQString & = TQString::null,
const TQString & = TQString::null,
const TQString & = TQString::null);
-%If (TQt_3_1_0 -)
bool load(const uchar *,int);
-%End
void clear();
@@ -133,45 +99,15 @@ public:
bool save(const TQString &,SaveMode = Everything);
-%If (TQt_2_2_0 -)
void insert(const TQTranslatorMessage &);
-%End
-%If (- TQt_3_0_0)
- void insert(const char *,const char *,const TQString &);
-%End
-%If (TQt_2_2_0 -)
void remove(const TQTranslatorMessage &);
-%End
-%If (- TQt_3_0_0)
- void remove(const char *,const char *);
-%End
-%If (- TQt_3_0_0)
- bool contains(const char *,const char *) const;
-%End
-%If (TQt_2_2_0 - TQt_3_0_0)
- bool contains(const char *,const char *,const char *) const;
-%End
-%If (TQt_3_0_0 -)
bool contains(const char *,const char *,const char * = 0) const;
-%End
-%If (- TQt_3_0_0)
- void squeeze();
-%End
-%If (TQt_2_2_0 - TQt_3_0_0)
- void squeeze(SaveMode);
-%End
-%If (TQt_3_0_0 -)
void squeeze(SaveMode = Everything);
-%End
void unsqueeze();
-%If (TQt_2_2_0 -)
TQValueList<TQTranslatorMessage> messages() const;
-%End
private:
TQTranslator(const TQTranslator &);
};
-
-%End