diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-27 21:53:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-29 13:21:04 +0900 |
commit | 2cbcca0db1343e1c40e52af729a5eb34ca8a7e37 (patch) | |
tree | 065c9e97d5bd9eb3d9869427b44acdd571ba0cc1 /doc/man/man3/tqdatetimeedit.3qt | |
parent | a09a6bc05e3f64c27e7c84dd768c7720fdf41136 (diff) | |
download | tqt-2cbcca0db1343e1c40e52af729a5eb34ca8a7e37.tar.gz tqt-2cbcca0db1343e1c40e52af729a5eb34ca8a7e37.zip |
Rename date and time nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqdatetimeedit.3qt')
-rw-r--r-- | doc/man/man3/tqdatetimeedit.3qt | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/doc/man/man3/tqdatetimeedit.3qt b/doc/man/man3/tqdatetimeedit.3qt index 511a05890..2eaaa4bb8 100644 --- a/doc/man/man3/tqdatetimeedit.3qt +++ b/doc/man/man3/tqdatetimeedit.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDateTimeEdit 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDateTimeEdit 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,31 +7,31 @@ .ad l .nh .SH NAME -QDateTimeEdit \- Combines a QDateEdit and QTimeEdit widget into a single widget for editing datetimes +TQDateTimeEdit \- Combines a TQDateEdit and TQTimeEdit widget into a single widget for editing datetimes .SH SYNOPSIS -\fC#include <ntqdatetimeedit.h>\fR +\fC#include <tqdatetimeedit.h>\fR .PP Inherits TQWidget. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDateTimeEdit\fR ( TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQDateTimeEdit\fR ( TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQDateTimeEdit\fR ( const QDateTime & datetime, TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQDateTimeEdit\fR ( const TQDateTime & datetime, TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QDateTimeEdit\fR ()" +.BI "\fB~TQDateTimeEdit\fR ()" .br .ti -1c -.BI "QDateTime \fBdateTime\fR () const" +.BI "TQDateTime \fBdateTime\fR () const" .br .ti -1c -.BI "QDateEdit * \fBdateEdit\fR ()" +.BI "TQDateEdit * \fBdateEdit\fR ()" .br .ti -1c -.BI "QTimeEdit * \fBtimeEdit\fR ()" +.BI "TQTimeEdit * \fBtimeEdit\fR ()" .br .ti -1c .BI "virtual void \fBsetAutoAdvance\fR ( bool advance )" @@ -43,42 +43,42 @@ Inherits TQWidget. .SS "Public Slots" .in +1c .ti -1c -.BI "virtual void \fBsetDateTime\fR ( const QDateTime & dt )" +.BI "virtual void \fBsetDateTime\fR ( const TQDateTime & dt )" .br .in -1c .SS "Signals" .in +1c .ti -1c -.BI "void \fBvalueChanged\fR ( const QDateTime & datetime )" +.BI "void \fBvalueChanged\fR ( const TQDateTime & datetime )" .br .in -1c .SS "Properties" .in +1c .ti -1c -.BI "QDateTime \fBdateTime\fR - the editor's datetime value" +.BI "TQDateTime \fBdateTime\fR - the editor's datetime value" .br .in -1c .SH DESCRIPTION -The QDateTimeEdit class combines a QDateEdit and QTimeEdit widget into a single widget for editing datetimes. +The TQDateTimeEdit class combines a TQDateEdit and TQTimeEdit widget into a single widget for editing datetimes. .PP -QDateTimeEdit consists of a QDateEdit and QTimeEdit widget placed side by side and offers the functionality of both. The user can edit the date and time by using the keyboard or the arrow keys to increase/decrease date or time values. The Tab key can be used to move from section to section within the QDateTimeEdit widget, and the user can be moved automatically when they complete a section using setAutoAdvance(). The datetime can be set with setDateTime(). +TQDateTimeEdit consists of a TQDateEdit and TQTimeEdit widget placed side by side and offers the functionality of both. The user can edit the date and time by using the keyboard or the arrow keys to increase/decrease date or time values. The Tab key can be used to move from section to section within the TQDateTimeEdit widget, and the user can be moved automatically when they complete a section using setAutoAdvance(). The datetime can be set with setDateTime(). .PP -The date format is read from the system's locale settings. It is set to year, month, day order if that is not possible. See QDateEdit::setOrder() to change this. Times appear in the order hours, minutes, seconds using the 24 hour clock. +The date format is read from the system's locale settings. It is set to year, month, day order if that is not possible. See TQDateEdit::setOrder() to change this. Times appear in the order hours, minutes, seconds using the 24 hour clock. .PP -It is recommended that the QDateTimeEdit is initialised with a datetime, e.g. +It is recommended that the TQDateTimeEdit is initialised with a datetime, e.g. .PP .nf .br - QDateTimeEdit *dateTimeEdit = new QDateTimeEdit( QDateTime::currentDateTime(), this ); + TQDateTimeEdit *dateTimeEdit = new TQDateTimeEdit( TQDateTime::currentDateTime(), this ); .br - dateTimeEdit->dateEdit()->setRange( QDateTime::currentDate(), + dateTimeEdit->dateEdit()->setRange( TQDateTime::currentDate(), .br - QDateTime::currentDate().addDays( 7 ) ); + TQDateTime::currentDate().addDays( 7 ) ); .br .fi -Here we've created a new QDateTimeEdit set to the current date and time, and set the date to have a minimum date of now and a maximum date of a week from now. +Here we've created a new TQDateTimeEdit set to the current date and time, and set the date to have a minimum date of now and a maximum date of a week from now. .PP -Terminology: A QDateEdit widget consists of three 'sections', one each for the year, month and day. Similarly a QTimeEdit consists of three sections, one each for the hour, minute and second. The character that separates each date section is specified with setDateSeparator(); similarly setTimeSeparator() is used for the time sections. +Terminology: A TQDateEdit widget consists of three 'sections', one each for the year, month and day. Similarly a TQTimeEdit consists of three sections, one each for the hour, minute and second. The character that separates each date section is specified with setDateSeparator(); similarly setTimeSeparator() is used for the time sections. .PP <center> .ce 1 @@ -86,34 +86,34 @@ Terminology: A QDateEdit widget consists of three 'sections', one each for the y .PP </center> .PP -See also QDateEdit, QTimeEdit, Advanced Widgets, and Time and Date. +See also TQDateEdit, TQTimeEdit, Advanced Widgets, and Time and Date. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDateTimeEdit::QDateTimeEdit ( TQWidget * parent = 0, const char * name = 0 )" +.SH "TQDateTimeEdit::TQDateTimeEdit ( TQWidget * parent = 0, const char * name = 0 )" Constructs an empty datetime edit with parent \fIparent\fR and called \fIname\fR. -.SH "QDateTimeEdit::QDateTimeEdit ( const QDateTime & datetime, TQWidget * parent = 0, const char * name = 0 )" +.SH "TQDateTimeEdit::TQDateTimeEdit ( const TQDateTime & datetime, TQWidget * parent = 0, const char * name = 0 )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Constructs a datetime edit with the initial value \fIdatetime\fR, parent \fIparent\fR and called \fIname\fR. -.SH "QDateTimeEdit::~QDateTimeEdit ()" +.SH "TQDateTimeEdit::~TQDateTimeEdit ()" Destroys the object and frees any allocated resources. -.SH "bool QDateTimeEdit::autoAdvance () const" +.SH "bool TQDateTimeEdit::autoAdvance () const" Returns TRUE if auto-advance is enabled, otherwise returns FALSE. .PP See also setAutoAdvance(). -.SH "QDateEdit * QDateTimeEdit::dateEdit ()" +.SH "TQDateEdit * TQDateTimeEdit::dateEdit ()" Returns the internal widget used for editing the date part of the datetime. -.SH "QDateTime QDateTimeEdit::dateTime () const" +.SH "TQDateTime TQDateTimeEdit::dateTime () const" Returns the editor's datetime value. See the "dateTime" property for details. -.SH "void QDateTimeEdit::setAutoAdvance ( bool advance )\fC [virtual]\fR" +.SH "void TQDateTimeEdit::setAutoAdvance ( bool advance )\fC [virtual]\fR" Sets the auto advance property of the editor to \fIadvance\fR. If set to TRUE, the editor will automatically advance focus to the next date or time section if the user has completed a section. -.SH "void QDateTimeEdit::setDateTime ( const QDateTime & dt )\fC [virtual slot]\fR" +.SH "void TQDateTimeEdit::setDateTime ( const TQDateTime & dt )\fC [virtual slot]\fR" Sets the editor's datetime value to \fIdt\fR. See the "dateTime" property for details. -.SH "QTimeEdit * QDateTimeEdit::timeEdit ()" +.SH "TQTimeEdit * TQDateTimeEdit::timeEdit ()" Returns the internal widget used for editing the time part of the datetime. -.SH "void QDateTimeEdit::valueChanged ( const QDateTime & datetime )\fC [signal]\fR" +.SH "void TQDateTimeEdit::valueChanged ( const TQDateTime & datetime )\fC [signal]\fR" This signal is emitted every time the date or time changes. The \fIdatetime\fR argument is the new datetime. .SS "Property Documentation" -.SH "QDateTime dateTime" +.SH "TQDateTime dateTime" This property holds the editor's datetime value. .PP The datetime edit's datetime which may be an invalid datetime. @@ -121,7 +121,7 @@ The datetime edit's datetime which may be an invalid datetime. Set this property's value with setDateTime() and get this property's value with dateTime(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqdatetimeedit.html +.BR http://doc.trolltech.com/tqdatetimeedit.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |