diff options
Diffstat (limited to 'sip/qt/qdatetimeedit.sip')
-rw-r--r-- | sip/qt/qdatetimeedit.sip | 172 |
1 files changed, 86 insertions, 86 deletions
diff --git a/sip/qt/qdatetimeedit.sip b/sip/qt/qdatetimeedit.sip index 27ee830..271c4ca 100644 --- a/sip/qt/qdatetimeedit.sip +++ b/sip/qt/qdatetimeedit.sip @@ -1,61 +1,61 @@ -// This is the SIP interface definition for QDateEdit, QDateTimeEdit and -// QTimeEdit. +// This is the SIP interface definition for TQDateEdit, TQDateTimeEdit and +// TQTimeEdit. // // 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>QDateEdit (Qt v3+)</Title> +<Sect2><Title>TQDateEdit (TQt v3+)</Title> <Para> -<Literal>QDateEdit</Literal> is fully implemented. +<Literal>TQDateEdit</Literal> is fully implemented. </Para> </Sect2> -<Sect2><Title>QTimeEdit (Qt v3+)</Title> +<Sect2><Title>TQTimeEdit (TQt v3+)</Title> <Para> -<Literal>QTimeEdit</Literal> is fully implemented. +<Literal>TQTimeEdit</Literal> is fully implemented. </Para> </Sect2> -<Sect2><Title>QDateTimeEdit (Qt v3+)</Title> +<Sect2><Title>TQDateTimeEdit (TQt v3+)</Title> <Para> -<Literal>QDateTimeEdit</Literal> is fully implemented. +<Literal>TQDateTimeEdit</Literal> is fully implemented. </Para> </Sect2> %End -%If (Qt_3_0_0 -) +%If (TQt_3_0_0 -) -// QDateEdit actually inherits QDateTimeEditBase but that's an internal class +// TQDateEdit actually inherits TQDateTimeEditBase but that's an internal class // and isn't exported under Windows in all versions. -class QDateEdit : QWidget +class TQDateEdit : TQWidget { %TypeHeaderCode #include <qdatetimeedit.h> %End public: - QDateEdit(QWidget * /TransferThis/ = 0,const char * = 0); - QDateEdit(const QDate &,QWidget * /TransferThis/ = 0,const char * = 0); + TQDateEdit(TQWidget * /TransferThis/ = 0,const char * = 0); + TQDateEdit(const TQDate &,TQWidget * /TransferThis/ = 0,const char * = 0); enum Order { DMY, @@ -64,44 +64,44 @@ public: YDM }; - QSize sizeHint() const; - QSize minimumSizeHint() const; -%If (- Qt_3_1_0) - virtual void setDate(const QDate &); + TQSize sizeHint() const; + TQSize minimumSizeHint() const; +%If (- TQt_3_1_0) + virtual void setDate(const TQDate &); %End - QDate date() const; + TQDate date() const; virtual void setOrder(Order); Order order() const; virtual void setAutoAdvance(bool); bool autoAdvance() const; - virtual void setMinValue(const QDate &); - QDate minValue() const; - virtual void setMaxValue(const QDate &); - QDate maxValue() const; - virtual void setRange(const QDate &,const QDate &); - QString separator() const; - virtual void setSeparator(const QString &); + virtual void setMinValue(const TQDate &); + TQDate minValue() const; + virtual void setMaxValue(const TQDate &); + TQDate maxValue() const; + virtual void setRange(const TQDate &,const TQDate &); + TQString separator() const; + virtual void setSeparator(const TQString &); -%If (Qt_3_2_0 -) +%If (TQt_3_2_0 -) void removeFirstNumber(int); %End public slots: -%If (Qt_3_1_0 -) - virtual void setDate(const QDate &); +%If (TQt_3_1_0 -) + virtual void setDate(const TQDate &); %End signals: - void valueChanged(const QDate &); + void valueChanged(const TQDate &); protected: - bool event(QEvent *); - void timerEvent(QTimerEvent *); - void resizeEvent(QResizeEvent *); + bool event(TQEvent *); + void timerEvent(TQTimerEvent *); + void resizeEvent(TQResizeEvent *); void stepUp(); void stepDown(); - QString sectionFormattedText(int); + TQString sectionFormattedText(int); void addNumber(int,int); void removeLastNumber(int); bool setFocusSection(int); @@ -116,23 +116,23 @@ protected slots: void updateButtons(); private: -%If (Qt_3_1_0 -) - QDateEdit(const QDateEdit &); +%If (TQt_3_1_0 -) + TQDateEdit(const TQDateEdit &); %End }; -// QDateEdit actually inherits QDateTimeEditBase but that's an internal class +// TQDateEdit actually inherits TQDateTimeEditBase but that's an internal class // and isn't exported under Windows in all versions. -class QTimeEdit : QWidget +class TQTimeEdit : TQWidget { %TypeHeaderCode #include <qdatetimeedit.h> %End public: -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) enum Display { Hours, Minutes, @@ -141,50 +141,50 @@ public: }; %End - QTimeEdit(QWidget * /TransferThis/ = 0,const char * = 0); - QTimeEdit(const QTime &,QWidget * /TransferThis/ = 0,const char * = 0); + TQTimeEdit(TQWidget * /TransferThis/ = 0,const char * = 0); + TQTimeEdit(const TQTime &,TQWidget * /TransferThis/ = 0,const char * = 0); - QSize sizeHint() const; - QSize minimumSizeHint() const; -%If (- Qt_3_1_0) - virtual void setTime(const QTime &); + TQSize sizeHint() const; + TQSize minimumSizeHint() const; +%If (- TQt_3_1_0) + virtual void setTime(const TQTime &); %End - QTime time() const; + TQTime time() const; virtual void setAutoAdvance(bool); bool autoAdvance() const; - virtual void setMinValue(const QTime &); - QTime minValue() const; - virtual void setMaxValue(const QTime &); - QTime maxValue() const; - virtual void setRange(const QTime &,const QTime &); - QString separator() const; - virtual void setSeparator(const QString &); + virtual void setMinValue(const TQTime &); + TQTime minValue() const; + virtual void setMaxValue(const TQTime &); + TQTime maxValue() const; + virtual void setRange(const TQTime &,const TQTime &); + TQString separator() const; + virtual void setSeparator(const TQString &); -%If (Qt_3_1_0 -) +%If (TQt_3_1_0 -) uint display() const; void setDisplay(uint); %End -%If (Qt_3_2_0 -) +%If (TQt_3_2_0 -) void removeFirstNumber(int); %End public slots: -%If (Qt_3_1_0 -) - virtual void setTime(const QTime &); +%If (TQt_3_1_0 -) + virtual void setTime(const TQTime &); %End signals: - void valueChanged(const QTime &); + void valueChanged(const TQTime &); protected: - bool event(QEvent *); - void timerEvent(QTimerEvent *); - void resizeEvent(QResizeEvent *); + bool event(TQEvent *); + void timerEvent(TQTimerEvent *); + void resizeEvent(TQResizeEvent *); void stepUp(); void stepDown(); - QString sectionFormattedText(int); + TQString sectionFormattedText(int); void addNumber(int,int); void removeLastNumber(int); bool setFocusSection(int); @@ -198,58 +198,58 @@ protected slots: void updateButtons(); private: -%If (Qt_3_1_0 -) - QTimeEdit(const QTimeEdit &); +%If (TQt_3_1_0 -) + TQTimeEdit(const TQTimeEdit &); %End }; -class QDateTimeEdit : QWidget +class TQDateTimeEdit : TQWidget { %TypeHeaderCode #include <qdatetimeedit.h> %End public: - QDateTimeEdit(QWidget * /TransferThis/ = 0,const char * = 0); - QDateTimeEdit(const QDateTime &,QWidget * /TransferThis/ = 0, + TQDateTimeEdit(TQWidget * /TransferThis/ = 0,const char * = 0); + TQDateTimeEdit(const TQDateTime &,TQWidget * /TransferThis/ = 0, const char * = 0); - QSize sizeHint() const; - QSize minimumSizeHint() const; -%If (- Qt_3_1_0) - virtual void setDateTime(const QDateTime &); + TQSize sizeHint() const; + TQSize minimumSizeHint() const; +%If (- TQt_3_1_0) + virtual void setDateTime(const TQDateTime &); %End - QDateTime dateTime() const; + TQDateTime dateTime() const; - QDateEdit* dateEdit(); - QTimeEdit* timeEdit(); + TQDateEdit* dateEdit(); + TQTimeEdit* timeEdit(); virtual void setAutoAdvance(bool); bool autoAdvance() const; public slots: -%If (Qt_3_1_0 -) - virtual void setDateTime(const QDateTime &); +%If (TQt_3_1_0 -) + virtual void setDateTime(const TQDateTime &); %End signals: - void valueChanged(const QDateTime &); + void valueChanged(const TQDateTime &); protected: void init(); - void resizeEvent(QResizeEvent *); -%If (- Qt_3_1_2) + void resizeEvent(TQResizeEvent *); +%If (- TQt_3_1_2) void layoutEditors(); %End protected slots: - void newValue(const QDate &); - void newValue(const QTime &); + void newValue(const TQDate &); + void newValue(const TQTime &); private: -%If (Qt_3_1_0 -) - QDateTimeEdit(const QDateTimeEdit &); +%If (TQt_3_1_0 -) + TQDateTimeEdit(const TQDateTimeEdit &); %End }; |