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 | |
parent | a09a6bc05e3f64c27e7c84dd768c7720fdf41136 (diff) | |
download | tqt3-2cbcca0db1343e1c40e52af729a5eb34ca8a7e37.tar.gz tqt3-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')
26 files changed, 514 insertions, 514 deletions
diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt index 21bf88450..e6d397ada 100644 --- a/doc/man/man3/tqapplication.3qt +++ b/doc/man/man3/tqapplication.3qt @@ -875,7 +875,7 @@ It is necessary to call this function to start event handling. The main event lo .PP Generally speaking, no user interaction can take place before calling exec(). As a special case, modal widgets like QMessageBox can be used before calling exec(), because modal widgets call exec() to start a local event loop. .PP -To make your application perform idle processing, i.e. executing a special function whenever there are no pending events, use a QTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). +To make your application perform idle processing, i.e. executing a special function whenever there are no pending events, use a TQTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). .PP See also quit(), exit(), processEvents(), and setMainWidget(). .PP @@ -1084,7 +1084,7 @@ Processes pending events, for 3 seconds or until there are no more events to pro .PP You can call this function occasionally when your program is busy performing a long operation (e.g. copying a file). .PP -See also exec(), QTimer, and QEventLoop::processEvents(). +See also exec(), TQTimer, and QEventLoop::processEvents(). .PP Examples: .)l fileiconview/qfileiconview.cpp and network/ftpclient/main.cpp. @@ -1095,7 +1095,7 @@ Processes pending events for \fImaxtime\fR milliseconds or until there are no mo .PP You can call this function occasionally when you program is busy doing a long operation (e.g. copying a file). .PP -See also exec(), QTimer, and QEventLoop::processEvents(). +See also exec(), TQTimer, and QEventLoop::processEvents(). .SH "void QApplication::processOneEvent ()" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP @@ -1105,7 +1105,7 @@ This function is useful for adapting TQt to situations where the event processin .PP Using this function in new applications may be an indication of design problems. .PP -See also processEvents(), exec(), and QTimer. +See also processEvents(), exec(), and TQTimer. .SH "void QApplication::quit ()\fC [slot]\fR" Tells the application to exit with return code 0 (success). Equivalent to calling QApplication::exit( 0 ). .PP diff --git a/doc/man/man3/tqdatastream.3qt b/doc/man/man3/tqdatastream.3qt index f72920e11..9774e5f14 100644 --- a/doc/man/man3/tqdatastream.3qt +++ b/doc/man/man3/tqdatastream.3qt @@ -199,7 +199,7 @@ Example (read binary data from a stream): .br .fi .PP -Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt types include QBrush, TQColor, QDateTime, QFont, QPixmap, TQString, QVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the QDataStream operators. +Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt types include QBrush, TQColor, TQDateTime, QFont, QPixmap, TQString, QVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the QDataStream operators. .PP For integers it is best to always cast to a TQt integer type for writing, and to read back into the same TQt integer type. This ensures that you get integers of the size you want and insulates you from compiler and platform differences. .PP diff --git a/doc/man/man3/tqdate.3qt b/doc/man/man3/tqdate.3qt index a844d040c..e0126c0a1 100644 --- a/doc/man/man3/tqdate.3qt +++ b/doc/man/man3/tqdate.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDate 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDate 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,19 +7,19 @@ .ad l .nh .SH NAME -QDate \- Date functions +TQDate \- Date functions .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqdatetime.h>\fR +\fC#include <tqdatetime.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDate\fR ()" +.BI "\fBTQDate\fR ()" .br .ti -1c -.BI "\fBQDate\fR ( int y, int m, int d )" +.BI "\fBTQDate\fR ( int y, int m, int d )" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -61,34 +61,34 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "bool \fBsetYMD\fR ( int y, int m, int d )" .br .ti -1c -.BI "QDate \fBaddDays\fR ( int ndays ) const" +.BI "TQDate \fBaddDays\fR ( int ndays ) const" .br .ti -1c -.BI "QDate \fBaddMonths\fR ( int nmonths ) const" +.BI "TQDate \fBaddMonths\fR ( int nmonths ) const" .br .ti -1c -.BI "QDate \fBaddYears\fR ( int nyears ) const" +.BI "TQDate \fBaddYears\fR ( int nyears ) const" .br .ti -1c -.BI "int \fBdaysTo\fR ( const QDate & d ) const" +.BI "int \fBdaysTo\fR ( const TQDate & d ) const" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QDate & d ) const" +.BI "bool \fBoperator==\fR ( const TQDate & d ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QDate & d ) const" +.BI "bool \fBoperator!=\fR ( const TQDate & d ) const" .br .ti -1c -.BI "bool \fBoperator<\fR ( const QDate & d ) const" +.BI "bool \fBoperator<\fR ( const TQDate & d ) const" .br .ti -1c -.BI "bool \fBoperator<=\fR ( const QDate & d ) const" +.BI "bool \fBoperator<=\fR ( const TQDate & d ) const" .br .ti -1c -.BI "bool \fBoperator>\fR ( const QDate & d ) const" +.BI "bool \fBoperator>\fR ( const TQDate & d ) const" .br .ti -1c -.BI "bool \fBoperator>=\fR ( const QDate & d ) const" +.BI "bool \fBoperator>=\fR ( const TQDate & d ) const" .br .in -1c .SS "Static Public Members" @@ -112,13 +112,13 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "TQString \fBlongDayName\fR ( int weekday )" .br .ti -1c -.BI "QDate \fBcurrentDate\fR ()" +.BI "TQDate \fBcurrentDate\fR ()" .br .ti -1c -.BI "QDate \fBcurrentDate\fR ( TQt::TimeSpec ts )" +.BI "TQDate \fBcurrentDate\fR ( TQt::TimeSpec ts )" .br .ti -1c -.BI "QDate \fBfromString\fR ( const TQString & s, TQt::DateFormat f = TQt::TextDate )" +.BI "TQDate \fBfromString\fR ( const TQString & s, TQt::DateFormat f = TQt::TextDate )" .br .ti -1c .BI "bool \fBisValid\fR ( int y, int m, int d )" @@ -130,38 +130,38 @@ All the functions in this class are reentrant when TQt is built with thread supp .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const QDate & d )" +.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQDate & d )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, QDate & d )" +.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQDate & d )" .br .in -1c .SH DESCRIPTION -The QDate class provides date functions. +The TQDate class provides date functions. .PP -A QDate object contains a calendar date, i.e. year, month, and day numbers, in the modern Western (Gregorian) calendar. It can read the current date from the system clock. It provides functions for comparing dates and for manipulating dates, e.g. by adding a number of days or months or years. +A TQDate object contains a calendar date, i.e. year, month, and day numbers, in the modern Western (Gregorian) calendar. It can read the current date from the system clock. It provides functions for comparing dates and for manipulating dates, e.g. by adding a number of days or months or years. .PP -A QDate object is typically created either by giving the year, month and day numbers explicitly, or by using the static function currentDate(), which creates a QDate object containing the system clock's date. An explicit date can also be set using setYMD(). The fromString() function returns a QDate given a string and a date format which is used to interpret the date within the string. +A TQDate object is typically created either by giving the year, month and day numbers explicitly, or by using the static function currentDate(), which creates a TQDate object containing the system clock's date. An explicit date can also be set using setYMD(). The fromString() function returns a TQDate given a string and a date format which is used to interpret the date within the string. .PP The year(), month(), and day() functions provide access to the year, month, and day numbers. Also, dayOfWeek() and dayOfYear() functions are provided. The same information is provided in textual format by the toString(), shortDayName(), longDayName(), shortMonthName() and longMonthName() functions. .PP -QDate provides a full set of operators to compare two QDate objects where smaller means earlier and larger means later. +TQDate provides a full set of operators to compare two TQDate objects where smaller means earlier and larger means later. .PP You can increment (or decrement) a date by a given number of days using addDays(). Similarly you can use addMonths() and addYears(). The daysTo() function returns the number of days between two dates. .PP The daysInMonth() and daysInYear() functions return how many days there are in this date's month and year, respectively. The leapYear() function indicates whether this date is in a leap year. .PP -Note that QDate should not be used for date calculations for dates prior to the introduction of the Gregorian calendar. This calendar was adopted by England from the 14<sup><small>th</small></sup> September 1752 (hence this is the earliest valid QDate), and subsequently by most other Western countries, until 1923. +Note that TQDate should not be used for date calculations for dates prior to the introduction of the Gregorian calendar. This calendar was adopted by England from the 14<sup><small>th</small></sup> September 1752 (hence this is the earliest valid TQDate), and subsequently by most other Western countries, until 1923. .PP The end of time is reached around the year 8000, by which time we expect TQt to be obsolete. .PP -See also QTime, QDateTime, QDateEdit, QDateTimeEdit, and Time and Date. +See also TQTime, TQDateTime, TQDateEdit, TQDateTimeEdit, and Time and Date. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDate::QDate ()" +.SH "TQDate::TQDate ()" Constructs a null date. Null dates are invalid. .PP See also isNull() and isValid(). -.SH "QDate::QDate ( int y, int m, int d )" +.SH "TQDate::TQDate ( int y, int m, int d )" Constructs a date with year \fIy\fR, month \fIm\fR and day \fId\fR. .PP \fIy\fR must be in the range 1752..8000, \fIm\fR must be in the range 1..12, and \fId\fR must be in the range 1..31. @@ -169,66 +169,66 @@ Constructs a date with year \fIy\fR, month \fIm\fR and day \fId\fR. \fBWarning:\fR If \fIy\fR is in the range 0..99, it is interpreted as 1900..1999. .PP See also isValid(). -.SH "QDate QDate::addDays ( int ndays ) const" -Returns a QDate object containing a date \fIndays\fR later than the date of this object (or earlier if \fIndays\fR is negative). +.SH "TQDate TQDate::addDays ( int ndays ) const" +Returns a TQDate object containing a date \fIndays\fR later than the date of this object (or earlier if \fIndays\fR is negative). .PP See also addMonths(), addYears(), and daysTo(). -.SH "QDate QDate::addMonths ( int nmonths ) const" -Returns a QDate object containing a date \fInmonths\fR later than the date of this object (or earlier if \fInmonths\fR is negative). +.SH "TQDate TQDate::addMonths ( int nmonths ) const" +Returns a TQDate object containing a date \fInmonths\fR later than the date of this object (or earlier if \fInmonths\fR is negative). .PP See also addDays() and addYears(). -.SH "QDate QDate::addYears ( int nyears ) const" -Returns a QDate object containing a date \fInyears\fR later than the date of this object (or earlier if \fInyears\fR is negative). +.SH "TQDate TQDate::addYears ( int nyears ) const" +Returns a TQDate object containing a date \fInyears\fR later than the date of this object (or earlier if \fInyears\fR is negative). .PP See also addDays() and addMonths(). -.SH "QDate QDate::currentDate ( TQt::TimeSpec ts )\fC [static]\fR" +.SH "TQDate TQDate::currentDate ( TQt::TimeSpec ts )\fC [static]\fR" Returns the current date, as reported by the system clock, for the TimeSpec \fIts\fR. The default TimeSpec is LocalTime. .PP -See also QTime::currentTime(), QDateTime::currentDateTime(), and TQt::TimeSpec. +See also TQTime::currentTime(), TQDateTime::currentDateTime(), and TQt::TimeSpec. .PP Example: dclock/dclock.cpp. -.SH "QDate QDate::currentDate ()\fC [static]\fR" +.SH "TQDate TQDate::currentDate ()\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the current date, as reported by the system clock. .PP -See also QTime::currentTime() and QDateTime::currentDateTime(). -.SH "int QDate::day () const" +See also TQTime::currentTime() and TQDateTime::currentDateTime(). +.SH "int TQDate::day () const" Returns the day of the month (1..31) of this date. .PP See also year(), month(), and dayOfWeek(). .PP Example: dclock/dclock.cpp. -.SH "TQString QDate::dayName ( int weekday )\fC [static]\fR" +.SH "TQString TQDate::dayName ( int weekday )\fC [static]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use shortDayName() instead. -.SH "int QDate::dayOfWeek () const" +.SH "int TQDate::dayOfWeek () const" Returns the weekday (Monday=1..Sunday=7) for this date. .PP See also day() and dayOfYear(). -.SH "int QDate::dayOfYear () const" +.SH "int TQDate::dayOfYear () const" Returns the day of the year (1..365) for this date. .PP See also day() and dayOfWeek(). -.SH "int QDate::daysInMonth () const" +.SH "int TQDate::daysInMonth () const" Returns the number of days in the month (28..31) for this date. .PP See also day() and daysInYear(). -.SH "int QDate::daysInYear () const" +.SH "int TQDate::daysInYear () const" Returns the number of days in the year (365 or 366) for this date. .PP See also day() and daysInMonth(). -.SH "int QDate::daysTo ( const QDate & d ) const" +.SH "int TQDate::daysTo ( const TQDate & d ) const" Returns the number of days from this date to \fId\fR (which is negative if \fId\fR is earlier than this date). .PP Example: .PP .nf .br - QDate d1( 1995, 5, 17 ); // May 17th 1995 + TQDate d1( 1995, 5, 17 ); // May 17th 1995 .br - QDate d2( 1995, 5, 20 ); // May 20th 1995 + TQDate d2( 1995, 5, 20 ); // May 20th 1995 .br d1.daysTo( d2 ); // returns 3 .br @@ -237,21 +237,21 @@ Example: .fi .PP See also addDays(). -.SH "QDate QDate::fromString ( const TQString & s, TQt::DateFormat f = TQt::TextDate )\fC [static]\fR" -Returns the QDate represented by the string \fIs\fR, using the format \fIf\fR, or an invalid date if the string cannot be parsed. +.SH "TQDate TQDate::fromString ( const TQString & s, TQt::DateFormat f = TQt::TextDate )\fC [static]\fR" +Returns the TQDate represented by the string \fIs\fR, using the format \fIf\fR, or an invalid date if the string cannot be parsed. .PP Note for TQt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings. .PP \fBWarning:\fR TQt::LocalDate cannot be used here. -.SH "bool QDate::isNull () const" +.SH "bool TQDate::isNull () const" Returns TRUE if the date is null; otherwise returns FALSE. A null date is invalid. .PP See also isValid(). -.SH "bool QDate::isValid () const" +.SH "bool TQDate::isValid () const" Returns TRUE if this date is valid; otherwise returns FALSE. .PP See also isNull(). -.SH "bool QDate::isValid ( int y, int m, int d )\fC [static]\fR" +.SH "bool TQDate::isValid ( int y, int m, int d )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if the specified date (year \fIy\fR, month \fIm\fR and day \fId\fR) is valid; otherwise returns FALSE. @@ -260,22 +260,22 @@ Example: .PP .nf .br - QDate::isValid( 2002, 5, 17 ); // TRUE May 17th 2002 is valid + TQDate::isValid( 2002, 5, 17 ); // TRUE May 17th 2002 is valid .br - QDate::isValid( 2002, 2, 30 ); // FALSE Feb 30th does not exist + TQDate::isValid( 2002, 2, 30 ); // FALSE Feb 30th does not exist .br - QDate::isValid( 2004, 2, 29 ); // TRUE 2004 is a leap year + TQDate::isValid( 2004, 2, 29 ); // TRUE 2004 is a leap year .br - QDate::isValid( 1202, 6, 6 ); // FALSE 1202 is pre-Gregorian + TQDate::isValid( 1202, 6, 6 ); // FALSE 1202 is pre-Gregorian .br .fi .PP \fBWarning:\fR A \fIy\fR value in the range 00..99 is interpreted as 1900..1999. .PP See also isNull() and setYMD(). -.SH "bool QDate::leapYear ( int y )\fC [static]\fR" +.SH "bool TQDate::leapYear ( int y )\fC [static]\fR" Returns TRUE if the specified year \fIy\fR is a leap year; otherwise returns FALSE. -.SH "TQString QDate::longDayName ( int weekday )\fC [static]\fR" +.SH "TQString TQDate::longDayName ( int weekday )\fC [static]\fR" Returns the long name of the \fIweekday\fR. .PP 1 = "Monday", 2 = "Tuesday", ... 7 = "Sunday" @@ -283,7 +283,7 @@ Returns the long name of the \fIweekday\fR. The day names will be localized according to the system's locale settings. .PP See also toString(), shortDayName(), shortMonthName(), and longMonthName(). -.SH "TQString QDate::longMonthName ( int month )\fC [static]\fR" +.SH "TQString TQDate::longMonthName ( int month )\fC [static]\fR" Returns the long name of the \fImonth\fR. .PP 1 = "January", 2 = "February", ... 12 = "December" @@ -291,29 +291,29 @@ Returns the long name of the \fImonth\fR. The month names will be localized according to the system's locale settings. .PP See also toString(), shortMonthName(), shortDayName(), and longDayName(). -.SH "int QDate::month () const" +.SH "int TQDate::month () const" Returns the month (January=1..December=12) of this date. .PP See also year() and day(). .PP Example: dclock/dclock.cpp. -.SH "TQString QDate::monthName ( int month )\fC [static]\fR" +.SH "TQString TQDate::monthName ( int month )\fC [static]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use shortMonthName() instead. -.SH "bool QDate::operator!= ( const QDate & d ) const" +.SH "bool TQDate::operator!= ( const TQDate & d ) const" Returns TRUE if this date is different from \fId\fR; otherwise returns FALSE. -.SH "bool QDate::operator< ( const QDate & d ) const" +.SH "bool TQDate::operator< ( const TQDate & d ) const" Returns TRUE if this date is earlier than \fId\fR, otherwise returns FALSE. -.SH "bool QDate::operator<= ( const QDate & d ) const" +.SH "bool TQDate::operator<= ( const TQDate & d ) const" Returns TRUE if this date is earlier than or equal to \fId\fR, otherwise returns FALSE. -.SH "bool QDate::operator== ( const QDate & d ) const" +.SH "bool TQDate::operator== ( const TQDate & d ) const" Returns TRUE if this date is equal to \fId\fR; otherwise returns FALSE. -.SH "bool QDate::operator> ( const QDate & d ) const" +.SH "bool TQDate::operator> ( const TQDate & d ) const" Returns TRUE if this date is later than \fId\fR, otherwise returns FALSE. -.SH "bool QDate::operator>= ( const QDate & d ) const" +.SH "bool TQDate::operator>= ( const TQDate & d ) const" Returns TRUE if this date is later than or equal to \fId\fR, otherwise returns FALSE. -.SH "bool QDate::setYMD ( int y, int m, int d )" +.SH "bool TQDate::setYMD ( int y, int m, int d )" Sets the date's year \fIy\fR, month \fIm\fR and day \fId\fR. .PP \fIy\fR must be in the range 1752..8000, \fIm\fR must be in the range 1..12, and \fId\fR must be in the range 1..31. @@ -321,7 +321,7 @@ Sets the date's year \fIy\fR, month \fIm\fR and day \fId\fR. \fBWarning:\fR If \fIy\fR is in the range 0..99, it is interpreted as 1900..1999. .PP Returns TRUE if the date is valid; otherwise returns FALSE. -.SH "TQString QDate::shortDayName ( int weekday )\fC [static]\fR" +.SH "TQString TQDate::shortDayName ( int weekday )\fC [static]\fR" Returns the name of the \fIweekday\fR. .PP 1 = "Mon", 2 = "Tue", ... 7 = "Sun" @@ -329,7 +329,7 @@ Returns the name of the \fIweekday\fR. The day names will be localized according to the system's locale settings. .PP See also toString(), shortMonthName(), longMonthName(), and longDayName(). -.SH "TQString QDate::shortMonthName ( int month )\fC [static]\fR" +.SH "TQString TQDate::shortMonthName ( int month )\fC [static]\fR" Returns the name of the \fImonth\fR. .PP 1 = "Jan", 2 = "Feb", ... 12 = "Dec" @@ -337,21 +337,21 @@ Returns the name of the \fImonth\fR. The month names will be localized according to the system's locale settings. .PP See also toString(), longMonthName(), shortDayName(), and longDayName(). -.SH "TQString QDate::toString ( const TQString & format ) const" +.SH "TQString TQDate::toString ( const TQString & format ) const" Returns the date as a string. The \fIformat\fR parameter determines the format of the result string. .PP These expressions may be used: .PP <center>.nf .TS -l - l. Expression Output d the day as number without a leading zero (1-31) dd the day as number with a leading zero (01-31) ddd the abbreviated localized day name (e.g. 'Mon'..'Sun'). Uses QDate::shortDayName(). dddd the long localized day name (e.g. 'Monday'..'Sunday'). Uses QDate::longDayName(). M the month as number without a leading zero (1-12) MM the month as number with a leading zero (01-12) MMM the abbreviated localized month name (e.g. 'Jan'..'Dec'). Uses QDate::shortMonthName(). MMMM the long localized month name (e.g. 'January'..'December'). Uses QDate::longMonthName(). yy the year as two digit number (00-99) yyyy +l - l. Expression Output d the day as number without a leading zero (1-31) dd the day as number with a leading zero (01-31) ddd the abbreviated localized day name (e.g. 'Mon'..'Sun'). Uses TQDate::shortDayName(). dddd the long localized day name (e.g. 'Monday'..'Sunday'). Uses TQDate::longDayName(). M the month as number without a leading zero (1-12) MM the month as number with a leading zero (01-12) MMM the abbreviated localized month name (e.g. 'Jan'..'Dec'). Uses TQDate::shortMonthName(). MMMM the long localized month name (e.g. 'January'..'December'). Uses TQDate::longMonthName(). yy the year as two digit number (00-99) yyyy .TE .fi </center> .PP All other input characters will be ignored. .PP -Example format strings (assuming that the QDate is the 20<sup><small>th</small></sup> July 1969): <center>.nf +Example format strings (assuming that the TQDate is the 20<sup><small>th</small></sup> July 1969): <center>.nf .TS l - l. Format Result dd.MM.yyyy 20.07.1969 ddd MMMM d yy .TE @@ -360,8 +360,8 @@ l - l. Format Result dd.MM.yyyy 20.07.1969 ddd MMMM d yy .PP If the date is an invalid date, then TQString::null will be returned. .PP -See also QDateTime::toString() and QTime::toString(). -.SH "TQString QDate::toString ( TQt::DateFormat f = TQt::TextDate ) const" +See also TQDateTime::toString() and TQTime::toString(). +.SH "TQString TQDate::toString ( TQt::DateFormat f = TQt::TextDate ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the date as a string. The \fIf\fR parameter determines the format of the string. @@ -375,7 +375,7 @@ If \fIf\fR is TQt::LocalDate, the string format depends on the locale settings o If the date is an invalid date, then TQString::null will be returned. .PP See also shortDayName() and shortMonthName(). -.SH "int QDate::weekNumber ( int * yearNumber = 0 ) const" +.SH "int TQDate::weekNumber ( int * yearNumber = 0 ) const" Returns the week number (1 to 53), and stores the year in \fI*yearNumber\fR unless \fIyearNumber\fR is null (the default). .PP Returns 0 if the date is invalid. @@ -389,22 +389,22 @@ Copyright (c) 1989 The Regents of the University of California. All rights reser Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by the University of California, Berkeley. The name of the University may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .PP See also isValid(). -.SH "int QDate::year () const" +.SH "int TQDate::year () const" Returns the year (1752..8000) of this date. .PP See also month() and day(). .SH RELATED FUNCTION DOCUMENTATION -.SH "QDataStream & operator<< ( QDataStream & s, const QDate & d )" +.SH "QDataStream & operator<< ( QDataStream & s, const TQDate & d )" Writes the date, \fId\fR, to the data stream, \fIs\fR. .PP See also Format of the QDataStream operators. -.SH "QDataStream & operator>> ( QDataStream & s, QDate & d )" +.SH "QDataStream & operator>> ( QDataStream & s, TQDate & d )" Reads a date from the stream \fIs\fR into \fId\fR. .PP See also Format of the QDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdate.html +.BR http://doc.trolltech.com/tqdate.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdateedit.3qt b/doc/man/man3/tqdateedit.3qt index 38d1e87c7..46196005d 100644 --- a/doc/man/man3/tqdateedit.3qt +++ b/doc/man/man3/tqdateedit.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDateEdit 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDateEdit 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,28 +7,28 @@ .ad l .nh .SH NAME -QDateEdit \- Date editor +TQDateEdit \- Date editor .SH SYNOPSIS -\fC#include <ntqdatetimeedit.h>\fR +\fC#include <tqdatetimeedit.h>\fR .PP -Inherits QDateTimeEditBase. +Inherits TQDateTimeEditBase. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDateEdit\fR ( TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQDateEdit\fR ( TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQDateEdit\fR ( const QDate & date, TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQDateEdit\fR ( const TQDate & date, TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QDateEdit\fR ()" +.BI "\fB~TQDateEdit\fR ()" .br .ti -1c .BI "enum \fBOrder\fR { DMY, MDY, YMD, YDM }" .br .ti -1c -.BI "QDate \fBdate\fR () const" +.BI "TQDate \fBdate\fR () const" .br .ti -1c .BI "virtual void \fBsetOrder\fR ( Order order )" @@ -43,19 +43,19 @@ Inherits QDateTimeEditBase. .BI "bool \fBautoAdvance\fR () const" .br .ti -1c -.BI "virtual void \fBsetMinValue\fR ( const QDate & d )" +.BI "virtual void \fBsetMinValue\fR ( const TQDate & d )" .br .ti -1c -.BI "QDate \fBminValue\fR () const" +.BI "TQDate \fBminValue\fR () const" .br .ti -1c -.BI "virtual void \fBsetMaxValue\fR ( const QDate & d )" +.BI "virtual void \fBsetMaxValue\fR ( const TQDate & d )" .br .ti -1c -.BI "QDate \fBmaxValue\fR () const" +.BI "TQDate \fBmaxValue\fR () const" .br .ti -1c -.BI "virtual void \fBsetRange\fR ( const QDate & min, const QDate & max )" +.BI "virtual void \fBsetRange\fR ( const TQDate & min, const TQDate & max )" .br .ti -1c .BI "TQString \fBseparator\fR () const" @@ -67,13 +67,13 @@ Inherits QDateTimeEditBase. .SS "Public Slots" .in +1c .ti -1c -.BI "virtual void \fBsetDate\fR ( const QDate & date )" +.BI "virtual void \fBsetDate\fR ( const TQDate & date )" .br .in -1c .SS "Signals" .in +1c .ti -1c -.BI "void \fBvalueChanged\fR ( const QDate & date )" +.BI "void \fBvalueChanged\fR ( const TQDate & date )" .br .in -1c .SS "Properties" @@ -82,13 +82,13 @@ Inherits QDateTimeEditBase. .BI "bool \fBautoAdvance\fR - whether the editor automatically advances to the next section" .br .ti -1c -.BI "QDate \fBdate\fR - the editor's date value" +.BI "TQDate \fBdate\fR - the editor's date value" .br .ti -1c -.BI "QDate \fBmaxValue\fR - the editor's maximum value" +.BI "TQDate \fBmaxValue\fR - the editor's maximum value" .br .ti -1c -.BI "QDate \fBminValue\fR - the editor's minimum value" +.BI "TQDate \fBminValue\fR - the editor's minimum value" .br .ti -1c .BI "Order \fBorder\fR - the order in which the " "year" ", month and day appear" @@ -119,29 +119,29 @@ Inherits QDateTimeEditBase. .br .in -1c .SH DESCRIPTION -The QDateEdit class provides a date editor. +The TQDateEdit class provides a date editor. .PP -QDateEdit allows the user to edit dates by using the keyboard or the arrow keys to increase/decrease date values. The arrow keys can be used to move from section to section within the QDateEdit box. Dates appear in accordance with the local date/time settings or in year, month, day order if the system doesn't provide this information. It is recommended that the QDateEdit be initialised with a date, e.g. +TQDateEdit allows the user to edit dates by using the keyboard or the arrow keys to increase/decrease date values. The arrow keys can be used to move from section to section within the TQDateEdit box. Dates appear in accordance with the local date/time settings or in year, month, day order if the system doesn't provide this information. It is recommended that the TQDateEdit be initialised with a date, e.g. .PP .nf .br - QDateEdit *dateEdit = new QDateEdit( QDate::currentDate(), this ); + TQDateEdit *dateEdit = new TQDateEdit( TQDate::currentDate(), this ); .br - dateEdit->setRange( QDate::currentDate().addDays( -365 ), + dateEdit->setRange( TQDate::currentDate().addDays( -365 ), .br - QDate::currentDate().addDays( 365 ) ); + TQDate::currentDate().addDays( 365 ) ); .br - dateEdit->setOrder( QDateEdit::MDY ); + dateEdit->setOrder( TQDateEdit::MDY ); .br dateEdit->setAutoAdvance( TRUE ); .br .fi .PP -Here we've created a new QDateEdit object initialised with today's date and restricted the valid date range to today plus or minus 365 days. We've set the order to month, day, year. If the auto advance property is TRUE (as we've set it here) when the user completes a section of the date, e.g. enters two digits for the month, they are automatically taken to the next section. +Here we've created a new TQDateEdit object initialised with today's date and restricted the valid date range to today plus or minus 365 days. We've set the order to month, day, year. If the auto advance property is TRUE (as we've set it here) when the user completes a section of the date, e.g. enters two digits for the month, they are automatically taken to the next section. .PP -The maximum and minimum values for a date value in the date editor default to the maximum and minimum values for a QDate. You can change this by calling setMinValue(), setMaxValue() or setRange(). +The maximum and minimum values for a date value in the date editor default to the maximum and minimum values for a TQDate. You can change this by calling setMinValue(), setMaxValue() or setRange(). .PP -Terminology: A QDateEdit widget comprises three 'sections', one each for the year, month and day. You can change the separator character using QDateTimeEditor::setSeparator(), by default the separator will be taken from the systems settings. If that is not possible, it defaults to "-". +Terminology: A TQDateEdit widget comprises three 'sections', one each for the year, month and day. You can change the separator character using TQDateTimeEditor::setSeparator(), by default the separator will be taken from the systems settings. If that is not possible, it defaults to "-". .PP <center> .ce 1 @@ -149,34 +149,34 @@ Terminology: A QDateEdit widget comprises three 'sections', one each for the yea .PP </center> .PP -See also QDate, QTimeEdit, QDateTimeEdit, Advanced Widgets, and Time and Date. +See also TQDate, TQTimeEdit, TQDateTimeEdit, Advanced Widgets, and Time and Date. .SS "Member Type Documentation" -.SH "QDateEdit::Order" +.SH "TQDateEdit::Order" This enum defines the order in which the sections that comprise a date appear. .TP -\fCQDateEdit::MDY\fR - month-day-year +\fCTQDateEdit::MDY\fR - month-day-year .TP -\fCQDateEdit::DMY\fR - day-month-year +\fCTQDateEdit::DMY\fR - day-month-year .TP -\fCQDateEdit::YMD\fR - year-month-day (the default) +\fCTQDateEdit::YMD\fR - year-month-day (the default) .TP -\fCQDateEdit::YDM\fR - year-day-month (included for completeness; but should not be used) +\fCTQDateEdit::YDM\fR - year-day-month (included for completeness; but should not be used) .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDateEdit::QDateEdit ( TQWidget * parent = 0, const char * name = 0 )" +.SH "TQDateEdit::TQDateEdit ( TQWidget * parent = 0, const char * name = 0 )" Constructs an empty date editor which is a child of \fIparent\fR and called name \fIname\fR. -.SH "QDateEdit::QDateEdit ( const QDate & date, TQWidget * parent = 0, const char * name = 0 )" +.SH "TQDateEdit::TQDateEdit ( const TQDate & date, 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 date editor with the initial value \fIdate\fR, parent \fIparent\fR and called \fIname\fR. .PP The date editor is initialized with \fIdate\fR. -.SH "QDateEdit::~QDateEdit ()" +.SH "TQDateEdit::~TQDateEdit ()" Destroys the object and frees any allocated resources. -.SH "bool QDateEdit::autoAdvance () const" +.SH "bool TQDateEdit::autoAdvance () const" Returns TRUE if the editor automatically advances to the next section; otherwise returns FALSE. See the "autoAdvance" property for details. -.SH "QDate QDateEdit::date () const" +.SH "TQDate TQDateEdit::date () const" Returns the editor's date value. See the "date" property for details. -.SH "void QDateEdit::fix ()\fC [virtual protected]\fR" +.SH "void TQDateEdit::fix ()\fC [virtual protected]\fR" Attempts to fix any invalid date entries. .PP The rules applied are as follows: @@ -188,43 +188,43 @@ If the year has two digits, the year will be changed to four digits in the range If the year has three digits in the range 100..999, the current millennium, i.e. 2000, will be added giving a year in the range 2100..2999. .TP If the day or month is 0 then it will be set to 1 or the minimum valid day\\month in the range. -.SH "QDate QDateEdit::maxValue () const" +.SH "TQDate TQDateEdit::maxValue () const" Returns the editor's maximum value. See the "maxValue" property for details. -.SH "QDate QDateEdit::minValue () const" +.SH "TQDate TQDateEdit::minValue () const" Returns the editor's minimum value. See the "minValue" property for details. -.SH "Order QDateEdit::order () const" +.SH "Order TQDateEdit::order () const" Returns the order in which the year, month and day appear. See the "order" property for details. -.SH "TQString QDateEdit::sectionFormattedText ( int sec )\fC [virtual protected]\fR" +.SH "TQString TQDateEdit::sectionFormattedText ( int sec )\fC [virtual protected]\fR" Returns the formatted number for section \fIsec\fR. This will correspond to either the year, month or day section, depending on the current display order. .PP See also order. -.SH "TQString QDateEdit::separator () const" +.SH "TQString TQDateEdit::separator () const" Returns the editor's separator. -.SH "void QDateEdit::setAutoAdvance ( bool advance )\fC [virtual]\fR" +.SH "void TQDateEdit::setAutoAdvance ( bool advance )\fC [virtual]\fR" Sets whether the editor automatically advances to the next section to \fIadvance\fR. See the "autoAdvance" property for details. -.SH "void QDateEdit::setDate ( const QDate & date )\fC [virtual slot]\fR" +.SH "void TQDateEdit::setDate ( const TQDate & date )\fC [virtual slot]\fR" Sets the editor's date value to \fIdate\fR. See the "date" property for details. -.SH "void QDateEdit::setDay ( int day )\fC [virtual protected]\fR" +.SH "void TQDateEdit::setDay ( int day )\fC [virtual protected]\fR" Sets the day to \fIday\fR, which must be a valid day. The function will ensure that the \fIday\fR set is valid for the month and year. -.SH "void QDateEdit::setMaxValue ( const QDate & d )\fC [virtual]\fR" +.SH "void TQDateEdit::setMaxValue ( const TQDate & d )\fC [virtual]\fR" Sets the editor's maximum value to \fId\fR. See the "maxValue" property for details. -.SH "void QDateEdit::setMinValue ( const QDate & d )\fC [virtual]\fR" +.SH "void TQDateEdit::setMinValue ( const TQDate & d )\fC [virtual]\fR" Sets the editor's minimum value to \fId\fR. See the "minValue" property for details. -.SH "void QDateEdit::setMonth ( int month )\fC [virtual protected]\fR" +.SH "void TQDateEdit::setMonth ( int month )\fC [virtual protected]\fR" Sets the month to \fImonth\fR, which must be a valid month, i.e. between 1 and 12. -.SH "void QDateEdit::setOrder ( Order order )\fC [virtual]\fR" +.SH "void TQDateEdit::setOrder ( Order order )\fC [virtual]\fR" Sets the order in which the year, month and day appear to \fIorder\fR. See the "order" property for details. -.SH "void QDateEdit::setRange ( const QDate & min, const QDate & max )\fC [virtual]\fR" +.SH "void TQDateEdit::setRange ( const TQDate & min, const TQDate & max )\fC [virtual]\fR" Sets the valid input range for the editor to be from \fImin\fR to \fImax\fR inclusive. If \fImin\fR is invalid no minimum date will be set. Similarly, if \fImax\fR is invalid no maximum date will be set. -.SH "void QDateEdit::setSeparator ( const TQString & s )\fC [virtual]\fR" +.SH "void TQDateEdit::setSeparator ( const TQString & s )\fC [virtual]\fR" Sets the separator to \fIs\fR. Note that currently only the first character of \fIs\fR is used. -.SH "void QDateEdit::setYear ( int year )\fC [virtual protected]\fR" +.SH "void TQDateEdit::setYear ( int year )\fC [virtual protected]\fR" Sets the year to \fIyear\fR, which must be a valid year. The range currently supported is from 1752 to 8000. .PP -See also QDate. -.SH "void QDateEdit::updateButtons ()\fC [protected slot]\fR" +See also TQDate. +.SH "void TQDateEdit::updateButtons ()\fC [protected slot]\fR" Enables/disables the push buttons according to the min/max date for this widget. -.SH "void QDateEdit::valueChanged ( const QDate & date )\fC [signal]\fR" +.SH "void TQDateEdit::valueChanged ( const TQDate & date )\fC [signal]\fR" This signal is emitted whenever the editor's value changes. The \fIdate\fR parameter is the new value. .SS "Property Documentation" .SH "bool autoAdvance" @@ -233,26 +233,26 @@ This property holds whether the editor automatically advances to the next sectio If autoAdvance is TRUE, the editor will automatically advance focus to the next date section if a user has completed a section. The default is FALSE. .PP Set this property's value with setAutoAdvance() and get this property's value with autoAdvance(). -.SH "QDate date" +.SH "TQDate date" This property holds the editor's date value. .PP -If the date property is not valid, the editor displays all zeroes and QDateEdit::date() will return an invalid date. It is strongly recommended that the editor is given a default date value (e.g. currentDate()). That way, attempts to set the date property to an invalid date will fail. +If the date property is not valid, the editor displays all zeroes and TQDateEdit::date() will return an invalid date. It is strongly recommended that the editor is given a default date value (e.g. currentDate()). That way, attempts to set the date property to an invalid date will fail. .PP When changing the date property, if the date is less than minValue(), or is greater than maxValue(), nothing happens. .PP Set this property's value with setDate() and get this property's value with date(). -.SH "QDate maxValue" +.SH "TQDate maxValue" This property holds the editor's maximum value. .PP -Setting the maximum date value for the editor is equivalent to calling QDateEdit::setRange( minValue(), \fId\fR ), where \fId\fR is the maximum date. The default maximum date is 8000-12-31. +Setting the maximum date value for the editor is equivalent to calling TQDateEdit::setRange( minValue(), \fId\fR ), where \fId\fR is the maximum date. The default maximum date is 8000-12-31. .PP See also minValue and setRange(). .PP Set this property's value with setMaxValue() and get this property's value with maxValue(). -.SH "QDate minValue" +.SH "TQDate minValue" This property holds the editor's minimum value. .PP -Setting the minimum date value is equivalent to calling QDateEdit::setRange( \fId\fR, maxValue() ), where \fId\fR is the minimum date. The default minimum date is 1752-09-14. +Setting the minimum date value is equivalent to calling TQDateEdit::setRange( \fId\fR, maxValue() ), where \fId\fR is the minimum date. The default minimum date is 1752-09-14. .PP See also maxValue and setRange(). .PP @@ -267,7 +267,7 @@ See also Order. Set this property's value with setOrder() and get this property's value with order(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdateedit.html +.BR http://doc.trolltech.com/tqdateedit.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdatetime.3qt b/doc/man/man3/tqdatetime.3qt index 62c2b6ed2..0aa70de04 100644 --- a/doc/man/man3/tqdatetime.3qt +++ b/doc/man/man3/tqdatetime.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDateTime 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDateTime 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,22 +7,22 @@ .ad l .nh .SH NAME -QDateTime \- Date and time functions +TQDateTime \- Date and time functions .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqdatetime.h>\fR +\fC#include <tqdatetime.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDateTime\fR ()" +.BI "\fBTQDateTime\fR ()" .br .ti -1c -.BI "\fBQDateTime\fR ( const QDate & date )" +.BI "\fBTQDateTime\fR ( const TQDate & date )" .br .ti -1c -.BI "\fBQDateTime\fR ( const QDate & date, const QTime & time )" +.BI "\fBTQDateTime\fR ( const TQDate & date, const TQTime & time )" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -31,19 +31,19 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "bool \fBisValid\fR () const" .br .ti -1c -.BI "QDate \fBdate\fR () const" +.BI "TQDate \fBdate\fR () const" .br .ti -1c -.BI "QTime \fBtime\fR () const" +.BI "TQTime \fBtime\fR () const" .br .ti -1c .BI "uint \fBtoTime_t\fR () const" .br .ti -1c -.BI "void \fBsetDate\fR ( const QDate & date )" +.BI "void \fBsetDate\fR ( const TQDate & date )" .br .ti -1c -.BI "void \fBsetTime\fR ( const QTime & time )" +.BI "void \fBsetTime\fR ( const TQTime & time )" .br .ti -1c .BI "void \fBsetTime_t\fR ( uint secsSince1Jan1970UTC )" @@ -58,202 +58,202 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "TQString \fBtoString\fR ( const TQString & format ) const" .br .ti -1c -.BI "QDateTime \fBaddDays\fR ( int ndays ) const" +.BI "TQDateTime \fBaddDays\fR ( int ndays ) const" .br .ti -1c -.BI "QDateTime \fBaddMonths\fR ( int nmonths ) const" +.BI "TQDateTime \fBaddMonths\fR ( int nmonths ) const" .br .ti -1c -.BI "QDateTime \fBaddYears\fR ( int nyears ) const" +.BI "TQDateTime \fBaddYears\fR ( int nyears ) const" .br .ti -1c -.BI "QDateTime \fBaddSecs\fR ( int nsecs ) const" +.BI "TQDateTime \fBaddSecs\fR ( int nsecs ) const" .br .ti -1c -.BI "int \fBdaysTo\fR ( const QDateTime & dt ) const" +.BI "int \fBdaysTo\fR ( const TQDateTime & dt ) const" .br .ti -1c -.BI "int \fBsecsTo\fR ( const QDateTime & dt ) const" +.BI "int \fBsecsTo\fR ( const TQDateTime & dt ) const" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QDateTime & dt ) const" +.BI "bool \fBoperator==\fR ( const TQDateTime & dt ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QDateTime & dt ) const" +.BI "bool \fBoperator!=\fR ( const TQDateTime & dt ) const" .br .ti -1c -.BI "bool \fBoperator<\fR ( const QDateTime & dt ) const" +.BI "bool \fBoperator<\fR ( const TQDateTime & dt ) const" .br .ti -1c -.BI "bool \fBoperator<=\fR ( const QDateTime & dt ) const" +.BI "bool \fBoperator<=\fR ( const TQDateTime & dt ) const" .br .ti -1c -.BI "bool \fBoperator>\fR ( const QDateTime & dt ) const" +.BI "bool \fBoperator>\fR ( const TQDateTime & dt ) const" .br .ti -1c -.BI "bool \fBoperator>=\fR ( const QDateTime & dt ) const" +.BI "bool \fBoperator>=\fR ( const TQDateTime & dt ) const" .br .in -1c .SS "Static Public Members" .in +1c .ti -1c -.BI "QDateTime \fBcurrentDateTime\fR ()" +.BI "TQDateTime \fBcurrentDateTime\fR ()" .br .ti -1c -.BI "QDateTime \fBcurrentDateTime\fR ( TQt::TimeSpec ts )" +.BI "TQDateTime \fBcurrentDateTime\fR ( TQt::TimeSpec ts )" .br .ti -1c -.BI "QDateTime \fBfromString\fR ( const TQString & s, TQt::DateFormat f = TQt::TextDate )" +.BI "TQDateTime \fBfromString\fR ( const TQString & s, TQt::DateFormat f = TQt::TextDate )" .br .in -1c .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const QDateTime & dt )" +.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQDateTime & dt )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, QDateTime & dt )" +.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQDateTime & dt )" .br .in -1c .SH DESCRIPTION -The QDateTime class provides date and time functions. +The TQDateTime class provides date and time functions. .PP -A QDateTime object contains a calendar date and a clock time (a" datetime"). It is a combination of the QDate and QTime classes. It can read the current datetime from the system clock. It provides functions for comparing datetimes and for manipulating a datetime by adding a number of seconds, days, months or years. +A TQDateTime object contains a calendar date and a clock time (a" datetime"). It is a combination of the TQDate and TQTime classes. It can read the current datetime from the system clock. It provides functions for comparing datetimes and for manipulating a datetime by adding a number of seconds, days, months or years. .PP -A QDateTime object is typically created either by giving a date and time explicitly in the constructor, or by using the static function currentDateTime(), which returns a QDateTime object set to the system clock's time. The date and time can be changed with setDate() and setTime(). A datetime can also be set using the setTime_t() function, which takes a POSIX-standard "number of seconds since 00:00:00 on January 1, 1970" value. The fromString() function returns a QDateTime given a string and a date format which is used to interpret the date within the string. +A TQDateTime object is typically created either by giving a date and time explicitly in the constructor, or by using the static function currentDateTime(), which returns a TQDateTime object set to the system clock's time. The date and time can be changed with setDate() and setTime(). A datetime can also be set using the setTime_t() function, which takes a POSIX-standard "number of seconds since 00:00:00 on January 1, 1970" value. The fromString() function returns a TQDateTime given a string and a date format which is used to interpret the date within the string. .PP The date() and time() functions provide access to the date and time parts of the datetime. The same information is provided in textual format by the toString() function. .PP -QDateTime provides a full set of operators to compare two QDateTime objects where smaller means earlier and larger means later. +TQDateTime provides a full set of operators to compare two TQDateTime objects where smaller means earlier and larger means later. .PP You can increment (or decrement) a datetime by a given number of seconds using addSecs() or days using addDays(). Similarly you can use addMonths() and addYears(). The daysTo() function returns the number of days between two datetimes, and secsTo() returns the number of seconds between two datetimes. .PP -The range of a datetime object is constrained to the ranges of the QDate and QTime objects which it embodies. +The range of a datetime object is constrained to the ranges of the TQDate and TQTime objects which it embodies. .PP -See also QDate, QTime, QDateTimeEdit, and Time and Date. +See also TQDate, TQTime, TQDateTimeEdit, and Time and Date. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDateTime::QDateTime ()" +.SH "TQDateTime::TQDateTime ()" Constructs a null datetime (i.e. null date and null time). A null datetime is invalid, since the date is invalid. .PP See also isValid(). -.SH "QDateTime::QDateTime ( const QDate & date )" +.SH "TQDateTime::TQDateTime ( const TQDate & date )" Constructs a datetime with date \fIdate\fR and null (but valid) time (00:00:00.000). -.SH "QDateTime::QDateTime ( const QDate & date, const QTime & time )" +.SH "TQDateTime::TQDateTime ( const TQDate & date, const TQTime & time )" Constructs a datetime with date \fIdate\fR and time \fItime\fR. -.SH "QDateTime QDateTime::addDays ( int ndays ) const" -Returns a QDateTime object containing a datetime \fIndays\fR days later than the datetime of this object (or earlier if \fIndays\fR is negative). +.SH "TQDateTime TQDateTime::addDays ( int ndays ) const" +Returns a TQDateTime object containing a datetime \fIndays\fR days later than the datetime of this object (or earlier if \fIndays\fR is negative). .PP See also daysTo(), addMonths(), addYears(), and addSecs(). -.SH "QDateTime QDateTime::addMonths ( int nmonths ) const" -Returns a QDateTime object containing a datetime \fInmonths\fR months later than the datetime of this object (or earlier if \fInmonths\fR is negative). +.SH "TQDateTime TQDateTime::addMonths ( int nmonths ) const" +Returns a TQDateTime object containing a datetime \fInmonths\fR months later than the datetime of this object (or earlier if \fInmonths\fR is negative). .PP See also daysTo(), addDays(), addYears(), and addSecs(). -.SH "QDateTime QDateTime::addSecs ( int nsecs ) const" -Returns a QDateTime object containing a datetime \fInsecs\fR seconds later than the datetime of this object (or earlier if \fInsecs\fR is negative). +.SH "TQDateTime TQDateTime::addSecs ( int nsecs ) const" +Returns a TQDateTime object containing a datetime \fInsecs\fR seconds later than the datetime of this object (or earlier if \fInsecs\fR is negative). .PP See also secsTo(), addDays(), addMonths(), and addYears(). .PP Example: listviews/listviews.cpp. -.SH "QDateTime QDateTime::addYears ( int nyears ) const" -Returns a QDateTime object containing a datetime \fInyears\fR years later than the datetime of this object (or earlier if \fInyears\fR is negative). +.SH "TQDateTime TQDateTime::addYears ( int nyears ) const" +Returns a TQDateTime object containing a datetime \fInyears\fR years later than the datetime of this object (or earlier if \fInyears\fR is negative). .PP See also daysTo(), addDays(), addMonths(), and addSecs(). -.SH "QDateTime QDateTime::currentDateTime ( TQt::TimeSpec ts )\fC [static]\fR" +.SH "TQDateTime TQDateTime::currentDateTime ( TQt::TimeSpec ts )\fC [static]\fR" Returns the current datetime, as reported by the system clock, for the TimeSpec \fIts\fR. The default TimeSpec is LocalTime. .PP -See also QDate::currentDate(), QTime::currentTime(), and TQt::TimeSpec. +See also TQDate::currentDate(), TQTime::currentTime(), and TQt::TimeSpec. .PP Example: listviews/listviews.cpp. -.SH "QDateTime QDateTime::currentDateTime ()\fC [static]\fR" +.SH "TQDateTime TQDateTime::currentDateTime ()\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the current datetime, as reported by the system clock. .PP -See also QDate::currentDate() and QTime::currentTime(). -.SH "QDate QDateTime::date () const" +See also TQDate::currentDate() and TQTime::currentTime(). +.SH "TQDate TQDateTime::date () const" Returns the date part of the datetime. .PP See also setDate() and time(). -.SH "int QDateTime::daysTo ( const QDateTime & dt ) const" +.SH "int TQDateTime::daysTo ( const TQDateTime & dt ) const" Returns the number of days from this datetime to \fIdt\fR (which is negative if \fIdt\fR is earlier than this datetime). .PP See also addDays() and secsTo(). -.SH "QDateTime QDateTime::fromString ( const TQString & s, TQt::DateFormat f = TQt::TextDate )\fC [static]\fR" -Returns the QDateTime represented by the string \fIs\fR, using the format \fIf\fR, or an invalid datetime if this is not possible. +.SH "TQDateTime TQDateTime::fromString ( const TQString & s, TQt::DateFormat f = TQt::TextDate )\fC [static]\fR" +Returns the TQDateTime represented by the string \fIs\fR, using the format \fIf\fR, or an invalid datetime if this is not possible. .PP Note for TQt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings. .PP \fBWarning:\fR Note that TQt::LocalDate cannot be used here. -.SH "bool QDateTime::isNull () const" +.SH "bool TQDateTime::isNull () const" Returns TRUE if both the date and the time are null; otherwise returns FALSE. A null datetime is invalid. .PP -See also QDate::isNull() and QTime::isNull(). -.SH "bool QDateTime::isValid () const" +See also TQDate::isNull() and TQTime::isNull(). +.SH "bool TQDateTime::isValid () const" Returns TRUE if both the date and the time are valid; otherwise returns FALSE. .PP -See also QDate::isValid() and QTime::isValid(). -.SH "bool QDateTime::operator!= ( const QDateTime & dt ) const" +See also TQDate::isValid() and TQTime::isValid(). +.SH "bool TQDateTime::operator!= ( const TQDateTime & dt ) const" Returns TRUE if this datetime is different from \fIdt\fR; otherwise returns FALSE. .PP See also operator==(). -.SH "bool QDateTime::operator< ( const QDateTime & dt ) const" +.SH "bool TQDateTime::operator< ( const TQDateTime & dt ) const" Returns TRUE if this datetime is earlier than \fIdt\fR; otherwise returns FALSE. -.SH "bool QDateTime::operator<= ( const QDateTime & dt ) const" +.SH "bool TQDateTime::operator<= ( const TQDateTime & dt ) const" Returns TRUE if this datetime is earlier than or equal to \fIdt\fR; otherwise returns FALSE. -.SH "bool QDateTime::operator== ( const QDateTime & dt ) const" +.SH "bool TQDateTime::operator== ( const TQDateTime & dt ) const" Returns TRUE if this datetime is equal to \fIdt\fR; otherwise returns FALSE. .PP See also operator!=(). -.SH "bool QDateTime::operator> ( const QDateTime & dt ) const" +.SH "bool TQDateTime::operator> ( const TQDateTime & dt ) const" Returns TRUE if this datetime is later than \fIdt\fR; otherwise returns FALSE. -.SH "bool QDateTime::operator>= ( const QDateTime & dt ) const" +.SH "bool TQDateTime::operator>= ( const TQDateTime & dt ) const" Returns TRUE if this datetime is later than or equal to \fIdt\fR; otherwise returns FALSE. -.SH "int QDateTime::secsTo ( const QDateTime & dt ) const" +.SH "int TQDateTime::secsTo ( const TQDateTime & dt ) const" Returns the number of seconds from this datetime to \fIdt\fR (which is negative if \fIdt\fR is earlier than this datetime). .PP Example: .PP .nf .br - QDateTime dt = QDateTime::currentDateTime(); + TQDateTime dt = TQDateTime::currentDateTime(); .br - QDateTime xmas( QDate(dt.date().year(),12,24), QTime(17,00) ); + TQDateTime xmas( TQDate(dt.date().year(),12,24), TQTime(17,00) ); .br tqDebug( "There are %d seconds to Christmas", dt.secsTo(xmas) ); .br .fi .PP -See also addSecs(), daysTo(), and QTime::secsTo(). -.SH "void QDateTime::setDate ( const QDate & date )" +See also addSecs(), daysTo(), and TQTime::secsTo(). +.SH "void TQDateTime::setDate ( const TQDate & date )" Sets the date part of this datetime to \fIdate\fR. .PP See also date() and setTime(). -.SH "void QDateTime::setTime ( const QTime & time )" +.SH "void TQDateTime::setTime ( const TQTime & time )" Sets the time part of this datetime to \fItime\fR. .PP See also time() and setDate(). -.SH "void QDateTime::setTime_t ( uint secsSince1Jan1970UTC, TQt::TimeSpec ts )" +.SH "void TQDateTime::setTime_t ( uint secsSince1Jan1970UTC, TQt::TimeSpec ts )" Sets the date and time to \fIts\fR time (TQt::LocalTime or TQt::UTC) given the number of seconds that have passed since 1970-01-01T00:00:00, Coordinated Universal Time (UTC). On systems that do not support timezones this function will behave as if local time were UTC. .PP On Windows, only a subset of \fIsecsSince1Jan1970UTC\fR values are supported, as Windows starts counting from 1980. .PP See also toTime_t(). -.SH "void QDateTime::setTime_t ( uint secsSince1Jan1970UTC )" +.SH "void TQDateTime::setTime_t ( uint secsSince1Jan1970UTC )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Convenience function that sets the date and time to local time based on the given UTC time. -.SH "QTime QDateTime::time () const" +.SH "TQTime TQDateTime::time () const" Returns the time part of the datetime. .PP See also setTime() and date(). -.SH "TQString QDateTime::toString ( const TQString & format ) const" +.SH "TQString TQDateTime::toString ( const TQString & format ) const" Returns the datetime as a string. The \fIformat\fR parameter determines the format of the result string. .PP These expressions may be used for the date: .PP <center>.nf .TS -l - l. Expression Output d the day as number without a leading zero (1-31) dd the day as number with a leading zero (01-31) ddd the abbreviated localized day name (e.g. 'Mon'..'Sun'). Uses QDate::shortDayName(). dddd the long localized day name (e.g. 'Monday'..'Sunday'). Uses QDate::longDayName(). M the month as number without a leading zero (1-12) MM the month as number with a leading zero (01-12) MMM the abbreviated localized month name (e.g. 'Jan'..'Dec'). Uses QDate::shortMonthName(). MMMM the long localized month name (e.g. 'January'..'December'). Uses QDate::longMonthName(). yy the year as two digit number (00-99) yyyy +l - l. Expression Output d the day as number without a leading zero (1-31) dd the day as number with a leading zero (01-31) ddd the abbreviated localized day name (e.g. 'Mon'..'Sun'). Uses TQDate::shortDayName(). dddd the long localized day name (e.g. 'Monday'..'Sunday'). Uses TQDate::longDayName(). M the month as number without a leading zero (1-12) MM the month as number with a leading zero (01-12) MMM the abbreviated localized month name (e.g. 'Jan'..'Dec'). Uses TQDate::shortMonthName(). MMMM the long localized month name (e.g. 'January'..'December'). Uses TQDate::longMonthName(). yy the year as two digit number (00-99) yyyy .TE .fi </center> @@ -269,7 +269,7 @@ l - l. Expression Output h the hour without a leading zero (0..23 or 1..12 if AM .PP All other input characters will be ignored. .PP -Example format strings (assumed that the QDateTime is 21<small><sup>st</sup></small> May 2001 14:13:09) +Example format strings (assumed that the TQDateTime is 21<small><sup>st</sup></small> May 2001 14:13:09) .PP <center>.nf .TS @@ -280,13 +280,13 @@ l - l. Format Result dd.MM.yyyy 21.05.2001 ddd MMMM d yy Tue May 21 01 hh:mm:ss. .PP If the datetime is an invalid datetime, then TQString::null will be returned. .PP -See also QDate::toString() and QTime::toString(). -.SH "TQString QDateTime::toString ( TQt::DateFormat f = TQt::TextDate ) const" +See also TQDate::toString() and TQTime::toString(). +.SH "TQString TQDateTime::toString ( TQt::DateFormat f = TQt::TextDate ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the datetime as a string. The \fIf\fR parameter determines the format of the string. .PP -If \fIf\fR is TQt::TextDate, the string format is "Wed May 20 03:40:13 1998" (using QDate::shortDayName(), QDate::shortMonthName(), and QTime::toString() to generate the string, so the day and month names will have localized names). +If \fIf\fR is TQt::TextDate, the string format is "Wed May 20 03:40:13 1998" (using TQDate::shortDayName(), TQDate::shortMonthName(), and TQTime::toString() to generate the string, so the day and month names will have localized names). .PP If \fIf\fR is TQt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of dates and times, which is YYYY-MM-DDTHH:MM:SS. .PP @@ -294,25 +294,25 @@ If \fIf\fR is TQt::LocalDate, the string format depends on the locale settings o .PP If the format \fIf\fR is invalid or the datetime is invalid, toString() returns a null string. .PP -See also QDate::toString() and QTime::toString(). -.SH "uint QDateTime::toTime_t () const" +See also TQDate::toString() and TQTime::toString(). +.SH "uint TQDateTime::toTime_t () const" Returns the datetime as the number of seconds that have passed since 1970-01-01T00:00:00, Coordinated Universal Time (UTC). .PP On systems that do not support timezones, this function will behave as if local time were UTC. .PP See also setTime_t(). .SH RELATED FUNCTION DOCUMENTATION -.SH "QDataStream & operator<< ( QDataStream & s, const QDateTime & dt )" +.SH "QDataStream & operator<< ( QDataStream & s, const TQDateTime & dt )" Writes the datetime \fIdt\fR to the stream \fIs\fR. .PP See also Format of the QDataStream operators. -.SH "QDataStream & operator>> ( QDataStream & s, QDateTime & dt )" +.SH "QDataStream & operator>> ( QDataStream & s, TQDateTime & dt )" Reads a datetime from the stream \fIs\fR into \fIdt\fR. .PP See also Format of the QDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqdatetime.html +.BR http://doc.trolltech.com/tqdatetime.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the 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 diff --git a/doc/man/man3/tqdatetimeeditbase.3qt b/doc/man/man3/tqdatetimeeditbase.3qt index f9502cff6..294fe7765 100644 --- a/doc/man/man3/tqdatetimeeditbase.3qt +++ b/doc/man/man3/tqdatetimeeditbase.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDateTimeEditBase 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDateTimeEditBase 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,23 +7,23 @@ .ad l .nh .SH NAME -QDateTimeEditBase \- Abstraction for date and edit editors +TQDateTimeEditBase \- Abstraction for date and edit editors .SH SYNOPSIS -\fC#include <ntqdatetimeedit.h>\fR +\fC#include <tqdatetimeedit.h>\fR .PP Inherits TQWidget. .PP -Inherited by QDateEdit and QTimeEdit. +Inherited by TQDateEdit and TQTimeEdit. .PP .SH DESCRIPTION -The QDateTimeEditBase class provides an abstraction for date and edit editors. +The TQDateTimeEditBase class provides an abstraction for date and edit editors. .PP Small abstract class that provides some functions that are common -for both QDateEdit and QTimeEdit. It is used internally by -QDateTimeEditor. +for both TQDateEdit and TQTimeEdit. It is used internally by +TQDateTimeEditor. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdatetimeeditbase.html +.BR http://doc.trolltech.com/tqdatetimeeditbase.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdragobject.3qt b/doc/man/man3/tqdragobject.3qt index 4f2d0d337..957780fba 100644 --- a/doc/man/man3/tqdragobject.3qt +++ b/doc/man/man3/tqdragobject.3qt @@ -105,7 +105,7 @@ The function returns TRUE if the caller should delete the original copy of the d .PP If the drag contains \fIreferences\fR to information (e.g. file names in a QUriDrag are references) then the return value should always be ignored, as the target is expected to manipulate the referred-to content directly. On X11 the return value should always be correct anyway, but on Windows this is not necessarily the case (e.g. the file manager starts a background process to move files, so the source \fImust not\fR delete the files!) .PP -Note that on Windows the drag operation will spin a blocking modal event loop that will not dispatch any QTimers. +Note that on Windows the drag operation will spin a blocking modal event loop that will not dispatch any TQTimers. .PP Example: dirview/dirview.cpp. .SH "bool QDragObject::drag ( DragMode mode )\fC [virtual protected]\fR" diff --git a/doc/man/man3/tqevent.3qt b/doc/man/man3/tqevent.3qt index c130c13af..5378a5db7 100644 --- a/doc/man/man3/tqevent.3qt +++ b/doc/man/man3/tqevent.3qt @@ -13,7 +13,7 @@ QEvent \- The base class of all event classes. Event objects contain event param .PP Inherits Qt. .PP -Inherited by QTimerEvent, QMouseEvent, QWheelEvent, QTabletEvent, QKeyEvent, QFocusEvent, QPaintEvent, QMoveEvent, QResizeEvent, QCloseEvent, TQIconDragEvent, QShowEvent, QHideEvent, QContextMenuEvent, QIMEvent, QDropEvent, QDragLeaveEvent, QChildEvent, and QCustomEvent. +Inherited by TQTimerEvent, QMouseEvent, QWheelEvent, QTabletEvent, QKeyEvent, QFocusEvent, QPaintEvent, QMoveEvent, QResizeEvent, QCloseEvent, TQIconDragEvent, QShowEvent, QHideEvent, QContextMenuEvent, QIMEvent, QDropEvent, QDragLeaveEvent, QChildEvent, and QCustomEvent. .PP .SS "Public Members" .in +1c @@ -53,7 +53,7 @@ This enum type defines the valid event types in Qt. The event types and the spec .TP \fCQEvent::Accessibility\fR - Accessibility information is requested .TP -\fCQEvent::Timer\fR - Regular timer events, QTimerEvent. +\fCQEvent::Timer\fR - Regular timer events, TQTimerEvent. .TP \fCQEvent::MouseButtonPress\fR - Mouse press, QMouseEvent. .TP diff --git a/doc/man/man3/tqeventloop.3qt b/doc/man/man3/tqeventloop.3qt index 76eaa3980..58896b22f 100644 --- a/doc/man/man3/tqeventloop.3qt +++ b/doc/man/man3/tqeventloop.3qt @@ -145,7 +145,7 @@ It is necessary to call this function to start event handling. The main event lo .PP Generally speaking, no user interaction can take place before calling exec(). As a special case, modal widgets like QMessageBox can be used before calling exec(), because modal widgets call exec() to start a local event loop. .PP -To make your application perform idle processing, i.e. executing a special function whenever there are no pending events, use a QTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). +To make your application perform idle processing, i.e. executing a special function whenever there are no pending events, use a TQTimer with 0 timeout. More advanced idle processing schemes can be achieved using processEvents(). .PP See also QApplication::quit(), exit(), and processEvents(). .SH "void QEventLoop::exit ( int retcode = 0 )\fC [virtual]\fR" diff --git a/doc/man/man3/tqfiledialog.3qt b/doc/man/man3/tqfiledialog.3qt index 1ed351260..f8cbdf2e9 100644 --- a/doc/man/man3/tqfiledialog.3qt +++ b/doc/man/man3/tqfiledialog.3qt @@ -533,7 +533,7 @@ If \fIdirOnly\fR is TRUE, then only directories will be shown in the file dialog .PP Under Unix/X11, the normal behavior of the file dialog is to resolve and follow symlinks. For example, if /usr/tmp is a symlink to /var/tmp, the file dialog will change to /var/tmp after entering /usr/tmp. If \fIresolveSymlinks\fR is FALSE, the file dialog will treat symlinks as regular directories. .PP -Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any QTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar). +Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar). .PP See also getOpenFileName(), getOpenFileNames(), and getSaveFileName(). .SH "TQString QFileDialog::getOpenFileName ( const TQString & startWith = TQString::null, const TQString & filter = TQString::null, TQWidget * parent = 0, const char * name = 0, const TQString & caption = TQString::null, TQString * selectedFilter = 0, bool resolveSymlinks = TRUE )\fC [static]\fR" @@ -561,7 +561,7 @@ The file dialog's working directory will be set to \fIstartWith\fR. If \fIstartW .PP The dialog's caption is set to \fIcaption\fR. If \fIcaption\fR is not specified then a default caption will be used. .PP -Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any QTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar). +Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar). .PP Under Unix/X11, the normal behavior of the file dialog is to resolve and follow symlinks. For example, if /usr/tmp is a symlink to /var/tmp, the file dialog will change to /var/tmp after entering /usr/tmp. If \fIresolveSymlinks\fR is FALSE, the file dialog will treat symlinks as regular directories. .PP @@ -594,7 +594,7 @@ The file dialog's working directory will be set to \fIdir\fR. If \fIdir\fR inclu .PP The dialog's caption is set to \fIcaption\fR. If \fIcaption\fR is not specified then a default caption will be used. .PP -Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any QTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar). +Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar). .PP Under Unix/X11, the normal behavior of the file dialog is to resolve and follow symlinks. For example, if /usr/tmp is a symlink to /var/tmp, the file dialog will change to /var/tmp after entering /usr/tmp. If \fIresolveSymlinks\fR is FALSE, the file dialog will treat symlinks as regular directories. .PP @@ -642,7 +642,7 @@ The file dialog's working directory will be set to \fIstartWith\fR. If \fIstartW .PP The dialog's caption is set to \fIcaption\fR. If \fIcaption\fR is not specified then a default caption will be used. .PP -Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any QTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar. +Under Windows and Mac OS X, this static function will use the native file dialog and not a QFileDialog, unless the style of the application is set to something other than the native style. (Note that on Windows the dialog will spin a blocking modal event loop that will not dispatch any TQTimers and if parent is not 0 then it will position the dialog just under the parent's titlebar. .PP Under Unix/X11, the normal behavior of the file dialog is to resolve and follow symlinks. For example, if /usr/tmp is a symlink to /var/tmp, the file dialog will change to /var/tmp after entering /usr/tmp. If \fIresolveSymlinks\fR is FALSE, the file dialog will treat symlinks as regular directories. .PP diff --git a/doc/man/man3/tqfileinfo.3qt b/doc/man/man3/tqfileinfo.3qt index 02f96eb08..fec4426a6 100644 --- a/doc/man/man3/tqfileinfo.3qt +++ b/doc/man/man3/tqfileinfo.3qt @@ -130,13 +130,13 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "uint \fBsize\fR () const" .br .ti -1c -.BI "QDateTime \fBcreated\fR () const" +.BI "TQDateTime \fBcreated\fR () const" .br .ti -1c -.BI "QDateTime \fBlastModified\fR () const" +.BI "TQDateTime \fBlastModified\fR () const" .br .ti -1c -.BI "QDateTime \fBlastRead\fR () const" +.BI "TQDateTime \fBlastRead\fR () const" .br .in -1c .SH DESCRIPTION @@ -260,7 +260,7 @@ Converts the file's path to an absolute path. If it is already absolute, nothing is done. .PP See also filePath() and isRelative(). -.SH "QDateTime QFileInfo::created () const" +.SH "TQDateTime QFileInfo::created () const" Returns the date and time when the file was created. .PP On platforms where this information is not available, returns the same as lastModified(). @@ -388,13 +388,13 @@ Returns TRUE if the file is writable; otherwise returns FALSE. See also isReadable(), isExecutable(), and permission(). .PP Example: distributor/distributor.ui.h. -.SH "QDateTime QFileInfo::lastModified () const" +.SH "TQDateTime QFileInfo::lastModified () const" Returns the date and time when the file was last modified. .PP See also created() and lastRead(). .PP Example: biff/biff.cpp. -.SH "QDateTime QFileInfo::lastRead () const" +.SH "TQDateTime QFileInfo::lastRead () const" Returns the date and time when the file was last read (accessed). .PP On platforms where this information is not available, returns the same as lastModified(). diff --git a/doc/man/man3/tqiconview.3qt b/doc/man/man3/tqiconview.3qt index e52c5d7ef..3697b7cab 100644 --- a/doc/man/man3/tqiconview.3qt +++ b/doc/man/man3/tqiconview.3qt @@ -798,7 +798,7 @@ Returns TRUE if the icon view will display a tool tip with the complete text for .SH "void TQIconView::slotUpdate ()\fC [virtual protected slot]\fR" This slot is used for a slightly-delayed update. .PP -The icon view is not redrawn immediately after inserting a new item but after a very small delay using a QTimer. This means that when many items are inserted in a loop the icon view is probably redrawn only once at the end of the loop. This makes the insertions both flicker-free and faster. +The icon view is not redrawn immediately after inserting a new item but after a very small delay using a TQTimer. This means that when many items are inserted in a loop the icon view is probably redrawn only once at the end of the loop. This makes the insertions both flicker-free and faster. .SH "void TQIconView::sort ( bool ascending = TRUE )\fC [virtual]\fR" Sorts and rearranges all the items in the icon view. If \fIascending\fR is TRUE, the items are sorted in increasing order, otherwise they are sorted in decreasing order. .PP diff --git a/doc/man/man3/tqmacstyle.3qt b/doc/man/man3/tqmacstyle.3qt index 6a8c47073..93b4a71c1 100644 --- a/doc/man/man3/tqmacstyle.3qt +++ b/doc/man/man3/tqmacstyle.3qt @@ -73,7 +73,7 @@ This type is used to signify a widget's focus rectangle policy. .TP \fCQMacStyle::FocusDisabled\fR - never show a focus rectangle for the widget. .TP -\fCQMacStyle::FocusDefault\fR - show a focus rectangle when the widget has focus and the widget is a QSpinWidget, QDateTimeEdit, QLineEdit, QListBox, QListView, editable TQTextEdit, or one of their subclasses. +\fCQMacStyle::FocusDefault\fR - show a focus rectangle when the widget has focus and the widget is a QSpinWidget, TQDateTimeEdit, QLineEdit, QListBox, QListView, editable TQTextEdit, or one of their subclasses. .SH "QMacStyle::WidgetSizePolicy" .TP \fCQMacStyle::SizeSmall\fR diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt index db5f3c00c..9d0c29a1e 100644 --- a/doc/man/man3/tqobject.3qt +++ b/doc/man/man3/tqobject.3qt @@ -15,7 +15,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .PP Inherits Qt. .PP --Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, QDataPump, TQWidget, TQCanvas, TQStyle, QClipboard, QDns, QLayout, QDragObject, TQEditorFactory, QEventLoop, QFileIconProvider, QNetworkProtocol, QNetworkOperation, QNPInstance, TQObjectCleanupHandler, QProcess, QServerSocket, QSessionManager, QSignal, QSignalMapper, QSocket, QSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, QTimer, QToolTipGroup, QTranslator, QUrlOperator, and QValidator. +-Inherited by QAccel, QAccessibleObject, QAction, QApplication, QAssistantClient, QDataPump, TQWidget, TQCanvas, TQStyle, QClipboard, QDns, QLayout, QDragObject, TQEditorFactory, QEventLoop, QFileIconProvider, QNetworkProtocol, QNetworkOperation, QNPInstance, TQObjectCleanupHandler, QProcess, QServerSocket, QSessionManager, QSignal, QSignalMapper, QSocket, QSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, QToolTipGroup, QTranslator, QUrlOperator, and QValidator. .PP .SS "Public Members" .in +1c @@ -164,7 +164,7 @@ Inherits Qt. .BI "const TQObject * \fBsender\fR ()" .br .ti -1c -.BI "virtual void \fBtimerEvent\fR ( QTimerEvent * )" +.BI "virtual void \fBtimerEvent\fR ( TQTimerEvent * )" .br .ti -1c .BI "virtual void \fBchildEvent\fR ( QChildEvent * )" @@ -207,7 +207,7 @@ When an object is deleted, it emits a destroyed() signal. You can catch this sig .PP TQObjects can receive events through event() and filter the events of other objects. See installEventFilter() and eventFilter() for details. A convenience handler, childEvent(), can be reimplemented to catch child events. .PP -Last but not least, TQObject provides the basic timer support in Qt; see QTimer for high-level support for timers. +Last but not least, TQObject provides the basic timer support in Qt; see TQTimer for high-level support for timers. .PP Notice that the TQ_OBJECT macro is mandatory for any object that implements signals, slots or properties. You also need to run the moc program (Meta Object Compiler) on the source file. We strongly recommend the use of this macro in \fIall\fR subclasses of TQObject regardless of whether or not they actually use signals, slots and properties, since failure to do so may lead certain functions to exhibit undefined behaviour. .PP @@ -597,9 +597,9 @@ Example: .PP .nf .br - QTimer *t = new QTimer; // QTimer inherits TQObject + TQTimer *t = new TQTimer; // TQTimer inherits TQObject .br - t->inherits( "QTimer" ); // returns TRUE + t->inherits( "TQTimer" ); // returns TRUE .br t->inherits( "TQObject" ); // returns TRUE .br @@ -713,9 +713,9 @@ Example: .PP .nf .br - QTimer *t = new QTimer; // QTimer inherits TQObject + TQTimer *t = new TQTimer; // TQTimer inherits TQObject .br - t->isA( "QTimer" ); // returns TRUE + t->isA( "TQTimer" ); // returns TRUE .br t->isA( "TQObject" ); // returns FALSE .br @@ -735,7 +735,7 @@ See also timerEvent(), startTimer(), and killTimers(). .SH "void TQObject::killTimers ()" Kills all timers that this object has started. .PP -\fBWarning:\fR Using this function can cause hard-to-find bugs: it kills timers started by sub- and superclasses as well as those started by you, which is often not what you want. We recommend using a QTimer or perhaps killTimer(). +\fBWarning:\fR Using this function can cause hard-to-find bugs: it kills timers started by sub- and superclasses as well as those started by you, which is often not what you want. We recommend using a TQTimer or perhaps killTimer(). .PP See also timerEvent(), startTimer(), and killTimer(). .SH "QMetaObject * TQObject::metaObject () const\fC [virtual]\fR" @@ -858,9 +858,9 @@ Starts a timer and returns a timer identifier, or returns zero if it could not s .PP A timer event will occur every \fIinterval\fR milliseconds until killTimer() or killTimers() is called. If \fIinterval\fR is 0, then the timer event occurs once every time there are no more window system events to process. .PP -The virtual timerEvent() function is called with the QTimerEvent event parameter class when a timer event occurs. Reimplement this function to get timer events. +The virtual timerEvent() function is called with the TQTimerEvent event parameter class when a timer event occurs. Reimplement this function to get timer events. .PP -If multiple timers are running, the QTimerEvent::timerId() can be used to find out which timer was activated. +If multiple timers are running, the TQTimerEvent::timerId() can be used to find out which timer was activated. .PP Example: .PP @@ -879,7 +879,7 @@ Example: .br protected: .br - void timerEvent( QTimerEvent * ); + void timerEvent( TQTimerEvent * ); .br }; .br @@ -899,7 +899,7 @@ Example: } .br .br - void MyObject::timerEvent( QTimerEvent *e ) + void MyObject::timerEvent( TQTimerEvent *e ) .br { .br @@ -909,15 +909,15 @@ Example: .br .fi .PP -Note that QTimer's accuracy depends on the underlying operating system and hardware. Most platforms support an accuracy of 20 ms; some provide more. If TQt is unable to deliver the requested number of timer clicks, it will silently discard some. +Note that TQTimer's accuracy depends on the underlying operating system and hardware. Most platforms support an accuracy of 20 ms; some provide more. If TQt is unable to deliver the requested number of timer clicks, it will silently discard some. .PP -The QTimer class provides a high-level programming interface with one-shot timers and timer signals instead of events. +The TQTimer class provides a high-level programming interface with one-shot timers and timer signals instead of events. .PP See also timerEvent(), killTimer(), killTimers(), QEventLoop::awake(), and QEventLoop::aboutToBlock(). -.SH "void TQObject::timerEvent ( QTimerEvent * )\fC [virtual protected]\fR" +.SH "void TQObject::timerEvent ( TQTimerEvent * )\fC [virtual protected]\fR" This event handler can be reimplemented in a subclass to receive timer events for the object. .PP -QTimer provides a higher-level interface to the timer functionality, and also more general information about timers. +TQTimer provides a higher-level interface to the timer functionality, and also more general information about timers. .PP See also startTimer(), killTimer(), killTimers(), and event(). .PP diff --git a/doc/man/man3/tqprocess.3qt b/doc/man/man3/tqprocess.3qt index 1a02d2f9f..64da05ae3 100644 --- a/doc/man/man3/tqprocess.3qt +++ b/doc/man/man3/tqprocess.3qt @@ -339,7 +339,7 @@ The nice way to end a process and to be sure that it is finished, is to do somet .br process->tryTerminate(); .br - QTimer::singleShot( 5000, process, TQ_SLOT( kill() ) ); + TQTimer::singleShot( 5000, process, TQ_SLOT( kill() ) ); .br .fi .PP diff --git a/doc/man/man3/tqprogressdialog.3qt b/doc/man/man3/tqprogressdialog.3qt index 0b8e9f2e2..42deb5a79 100644 --- a/doc/man/man3/tqprogressdialog.3qt +++ b/doc/man/man3/tqprogressdialog.3qt @@ -175,7 +175,7 @@ for ( int i = 0; i < numFiles; i++ ) { progress.setProgress( numFiles ); .fi .PP -A modeless progress dialog is suitable for operations that take place in the background, where the user is able to interact with the application. Such operations are typically based on QTimer (or TQObject::timerEvent()), QSocketNotifier, or QUrlOperator; or performed in a separate thread. A QProgressBar in the status bar of your main window is often an alternative to a modeless progress dialog. +A modeless progress dialog is suitable for operations that take place in the background, where the user is able to interact with the application. Such operations are typically based on TQTimer (or TQObject::timerEvent()), QSocketNotifier, or QUrlOperator; or performed in a separate thread. A QProgressBar in the status bar of your main window is often an alternative to a modeless progress dialog. .PP You need to have an event loop to be running, connect the canceled() signal to a slot that stops the operation, and call setProgress() at intervals. For example: .PP @@ -191,7 +191,7 @@ Operation::Operation( TQObject *parent = 0 ) .br connect( pd, TQ_SIGNAL(canceled()), this, TQ_SLOT(cancel()) ); .br - t = new QTimer( this ); + t = new TQTimer( this ); .br connect( t, TQ_SIGNAL(timeout()), this, TQ_SLOT(perform()) ); .br diff --git a/doc/man/man3/tqsocketnotifier.3qt b/doc/man/man3/tqsocketnotifier.3qt index 46e5b2761..432975247 100644 --- a/doc/man/man3/tqsocketnotifier.3qt +++ b/doc/man/man3/tqsocketnotifier.3qt @@ -72,7 +72,7 @@ For write notifiers, immediately disable the notifier after the activated() sign .PP The behavior of a write notifier that is left in enabled state after having emitting the first activated() signal (and no "would block" error has occurred) is undefined. Depending on the operating system, it may fire on every pass of the event loop or not at all. .PP -If you need a time-out for your sockets you can use either timer events or the QTimer class. +If you need a time-out for your sockets you can use either timer events or the TQTimer class. .PP Socket action is detected in the main event loop of Qt. The X11 version of TQt has a single UNIX select() call that incorporates all socket notifiers and the X socket. .PP diff --git a/doc/man/man3/tqsqlpropertymap.3qt b/doc/man/man3/tqsqlpropertymap.3qt index c5bc51d7e..bf0e380aa 100644 --- a/doc/man/man3/tqsqlpropertymap.3qt +++ b/doc/man/man3/tqsqlpropertymap.3qt @@ -123,7 +123,7 @@ Constructs a TQSqlPropertyMap. .PP The default property mappings used by TQt widgets are: <center>.nf .TS -l - l. Widgets Property QCheckBox, QRadioButton checked QComboBox, QListBox currentItem QDateEdit date QDateTimeEdit dateTime TQTextBrowser source QButton, QDial, QLabel, QLineEdit, QMultiLineEdit, QPushButton, TQTextEdit, text QTimeEdit time QLCDNumber, QScrollBar QSlider, QSpinBox +l - l. Widgets Property QCheckBox, QRadioButton checked QComboBox, QListBox currentItem TQDateEdit date TQDateTimeEdit dateTime TQTextBrowser source QButton, QDial, QLabel, QLineEdit, QMultiLineEdit, QPushButton, TQTextEdit, text TQTimeEdit time QLCDNumber, QScrollBar QSlider, QSpinBox .TE .fi </center> diff --git a/doc/man/man3/tqtime.3qt b/doc/man/man3/tqtime.3qt index 6fab22acc..efeea2eef 100644 --- a/doc/man/man3/tqtime.3qt +++ b/doc/man/man3/tqtime.3qt @@ -1,5 +1,5 @@ '\" t -.TH QTime 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQTime 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,19 +7,19 @@ .ad l .nh .SH NAME -QTime \- Clock time functions +TQTime \- Clock time functions .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.</p> .PP -\fC#include <ntqdatetime.h>\fR +\fC#include <tqdatetime.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQTime\fR ()" +.BI "\fBTQTime\fR ()" .br .ti -1c -.BI "\fBQTime\fR ( int h, int m, int s = 0, int ms = 0 )" +.BI "\fBTQTime\fR ( int h, int m, int s = 0, int ms = 0 )" .br .ti -1c .BI "bool \fBisNull\fR () const" @@ -49,34 +49,34 @@ All the functions in this class are reentrant when TQt is built with thread supp .BI "bool \fBsetHMS\fR ( int h, int m, int s, int ms = 0 )" .br .ti -1c -.BI "QTime \fBaddSecs\fR ( int nsecs ) const" +.BI "TQTime \fBaddSecs\fR ( int nsecs ) const" .br .ti -1c -.BI "int \fBsecsTo\fR ( const QTime & t ) const" +.BI "int \fBsecsTo\fR ( const TQTime & t ) const" .br .ti -1c -.BI "QTime \fBaddMSecs\fR ( int ms ) const" +.BI "TQTime \fBaddMSecs\fR ( int ms ) const" .br .ti -1c -.BI "int \fBmsecsTo\fR ( const QTime & t ) const" +.BI "int \fBmsecsTo\fR ( const TQTime & t ) const" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QTime & t ) const" +.BI "bool \fBoperator==\fR ( const TQTime & t ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QTime & t ) const" +.BI "bool \fBoperator!=\fR ( const TQTime & t ) const" .br .ti -1c -.BI "bool \fBoperator<\fR ( const QTime & t ) const" +.BI "bool \fBoperator<\fR ( const TQTime & t ) const" .br .ti -1c -.BI "bool \fBoperator<=\fR ( const QTime & t ) const" +.BI "bool \fBoperator<=\fR ( const TQTime & t ) const" .br .ti -1c -.BI "bool \fBoperator>\fR ( const QTime & t ) const" +.BI "bool \fBoperator>\fR ( const TQTime & t ) const" .br .ti -1c -.BI "bool \fBoperator>=\fR ( const QTime & t ) const" +.BI "bool \fBoperator>=\fR ( const TQTime & t ) const" .br .ti -1c .BI "void \fBstart\fR ()" @@ -91,13 +91,13 @@ All the functions in this class are reentrant when TQt is built with thread supp .SS "Static Public Members" .in +1c .ti -1c -.BI "QTime \fBcurrentTime\fR ()" +.BI "TQTime \fBcurrentTime\fR ()" .br .ti -1c -.BI "QTime \fBcurrentTime\fR ( TQt::TimeSpec ts )" +.BI "TQTime \fBcurrentTime\fR ( TQt::TimeSpec ts )" .br .ti -1c -.BI "QTime \fBfromString\fR ( const TQString & s, TQt::DateFormat f = TQt::TextDate )" +.BI "TQTime \fBfromString\fR ( const TQString & s, TQt::DateFormat f = TQt::TextDate )" .br .ti -1c .BI "bool \fBisValid\fR ( int h, int m, int s, int ms = 0 )" @@ -106,49 +106,49 @@ All the functions in this class are reentrant when TQt is built with thread supp .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const QTime & t )" +.BI "QDataStream & \fBoperator<<\fR ( QDataStream & s, const TQTime & t )" .br .ti -1c -.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, QTime & t )" +.BI "QDataStream & \fBoperator>>\fR ( QDataStream & s, TQTime & t )" .br .in -1c .SH DESCRIPTION -The QTime class provides clock time functions. +The TQTime class provides clock time functions. .PP -A QTime object contains a clock time, i.e. the number of hours, minutes, seconds, and milliseconds since midnight. It can read the current time from the system clock and measure a span of elapsed time. It provides functions for comparing times and for manipulating a time by adding a number of (milli)seconds. +A TQTime object contains a clock time, i.e. the number of hours, minutes, seconds, and milliseconds since midnight. It can read the current time from the system clock and measure a span of elapsed time. It provides functions for comparing times and for manipulating a time by adding a number of (milli)seconds. .PP -QTime uses the 24-hour clock format; it has no concept of AM/PM. It operates in local time; it knows nothing about time zones or daylight savings time. +TQTime uses the 24-hour clock format; it has no concept of AM/PM. It operates in local time; it knows nothing about time zones or daylight savings time. .PP -A QTime object is typically created either by giving the number of hours, minutes, seconds, and milliseconds explicitly, or by using the static function currentTime(), which creates a QTime object that contains the system's clock time. Note that the accuracy depends on the accuracy of the underlying operating system; not all systems provide 1-millisecond accuracy. +A TQTime object is typically created either by giving the number of hours, minutes, seconds, and milliseconds explicitly, or by using the static function currentTime(), which creates a TQTime object that contains the system's clock time. Note that the accuracy depends on the accuracy of the underlying operating system; not all systems provide 1-millisecond accuracy. .PP The hour(), minute(), second(), and msec() functions provide access to the number of hours, minutes, seconds, and milliseconds of the time. The same information is provided in textual format by the toString() function. .PP -QTime provides a full set of operators to compare two QTime objects. One time is considered smaller than another if it is earlier than the other. +TQTime provides a full set of operators to compare two TQTime objects. One time is considered smaller than another if it is earlier than the other. .PP The time a given number of seconds or milliseconds later than a given time can be found using the addSecs() or addMSecs() functions. Correspondingly, the number of (milli)seconds between two times can be found using the secsTo() or msecsTo() functions. .PP -QTime can be used to measure a span of elapsed time using the start(), restart(), and elapsed() functions. +TQTime can be used to measure a span of elapsed time using the start(), restart(), and elapsed() functions. .PP -See also QDate, QDateTime, and Time and Date. +See also TQDate, TQDateTime, and Time and Date. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QTime::QTime ()" +.SH "TQTime::TQTime ()" Constructs the time 0 hours, minutes, seconds and milliseconds, i.e. 00:00:00.000 (midnight). This is a valid time. .PP See also isValid(). -.SH "QTime::QTime ( int h, int m, int s = 0, int ms = 0 )" +.SH "TQTime::TQTime ( int h, int m, int s = 0, int ms = 0 )" Constructs a time with hour \fIh\fR, minute \fIm\fR, seconds \fIs\fR and milliseconds \fIms\fR. .PP \fIh\fR must be in the range 0..23, \fIm\fR and \fIs\fR must be in the range 0..59, and \fIms\fR must be in the range 0..999. .PP See also isValid(). -.SH "QTime QTime::addMSecs ( int ms ) const" -Returns a QTime object containing a time \fIms\fR milliseconds later than the time of this object (or earlier if \fIms\fR is negative). +.SH "TQTime TQTime::addMSecs ( int ms ) const" +Returns a TQTime object containing a time \fIms\fR milliseconds later than the time of this object (or earlier if \fIms\fR is negative). .PP Note that the time will wrap if it passes midnight. See addSecs() for an example. .PP See also addSecs() and msecsTo(). -.SH "QTime QTime::addSecs ( int nsecs ) const" -Returns a QTime object containing a time \fInsecs\fR seconds later than the time of this object (or earlier if \fInsecs\fR is negative). +.SH "TQTime TQTime::addSecs ( int nsecs ) const" +Returns a TQTime object containing a time \fInsecs\fR seconds later than the time of this object (or earlier if \fInsecs\fR is negative). .PP Note that the time will wrap if it passes midnight. .PP @@ -156,9 +156,9 @@ Example: .PP .nf .br - QTime n( 14, 0, 0 ); // n == 14:00:00 + TQTime n( 14, 0, 0 ); // n == 14:00:00 .br - QTime t; + TQTime t; .br t = n.addSecs( 70 ); // t == 14:01:10 .br @@ -170,8 +170,8 @@ Example: .br .fi .PP -See also addMSecs(), secsTo(), and QDateTime::addSecs(). -.SH "QTime QTime::currentTime ( TQt::TimeSpec ts )\fC [static]\fR" +See also addMSecs(), secsTo(), and TQDateTime::addSecs(). +.SH "TQTime TQTime::currentTime ( TQt::TimeSpec ts )\fC [static]\fR" Returns the current time as reported by the system clock, for the TimeSpec \fIts\fR. The default TimeSpec is LocalTime. .PP Note that the accuracy depends on the accuracy of the underlying operating system; not all systems provide 1-millisecond accuracy. @@ -180,13 +180,13 @@ See also TQt::TimeSpec. .PP Examples: .)l aclock/aclock.cpp, dclock/dclock.cpp, t12/cannon.cpp, and tictac/tictac.cpp. -.SH "QTime QTime::currentTime ()\fC [static]\fR" +.SH "TQTime TQTime::currentTime ()\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the current time as reported by the system clock. .PP Note that the accuracy depends on the accuracy of the underlying operating system; not all systems provide 1-millisecond accuracy. -.SH "int QTime::elapsed () const" +.SH "int TQTime::elapsed () const" Returns the number of milliseconds that have elapsed since the last time start() or restart() was called. .PP Note that the counter wraps to zero 24 hours after the last call to start() or restart. @@ -196,24 +196,24 @@ Note that the accuracy depends on the accuracy of the underlying operating syste \fBWarning:\fR If the system's clock setting has been changed since the last time start() or restart() was called, the result is undefined. This can happen when daylight savings time is turned on or off. .PP See also start() and restart(). -.SH "QTime QTime::fromString ( const TQString & s, TQt::DateFormat f = TQt::TextDate )\fC [static]\fR" -Returns the representation \fIs\fR as a QTime using the format \fIf\fR, or an invalid time if this is not possible. +.SH "TQTime TQTime::fromString ( const TQString & s, TQt::DateFormat f = TQt::TextDate )\fC [static]\fR" +Returns the representation \fIs\fR as a TQTime using the format \fIf\fR, or an invalid time if this is not possible. .PP \fBWarning:\fR Note that TQt::LocalDate cannot be used here. -.SH "int QTime::hour () const" +.SH "int TQTime::hour () const" Returns the hour part (0..23) of the time. .PP Examples: .)l aclock/aclock.cpp and tictac/tictac.cpp. -.SH "bool QTime::isNull () const" +.SH "bool TQTime::isNull () const" Returns TRUE if the time is equal to 00:00:00.000; otherwise returns FALSE. A null time is valid. .PP See also isValid(). -.SH "bool QTime::isValid () const" +.SH "bool TQTime::isValid () const" Returns TRUE if the time is valid; otherwise returns FALSE. The time 23:30:55.746 is valid, whereas 24:12:30 is invalid. .PP See also isNull(). -.SH "bool QTime::isValid ( int h, int m, int s, int ms = 0 )\fC [static]\fR" +.SH "bool TQTime::isValid ( int h, int m, int s, int ms = 0 )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if the specified time is valid; otherwise returns FALSE. @@ -224,37 +224,37 @@ Example: .PP .nf .br - QTime::isValid(21, 10, 30); // returns TRUE + TQTime::isValid(21, 10, 30); // returns TRUE .br - QTime::isValid(22, 5, 62); // returns FALSE + TQTime::isValid(22, 5, 62); // returns FALSE .br .fi -.SH "int QTime::minute () const" +.SH "int TQTime::minute () const" Returns the minute part (0..59) of the time. .PP Examples: .)l aclock/aclock.cpp and tictac/tictac.cpp. -.SH "int QTime::msec () const" +.SH "int TQTime::msec () const" Returns the millisecond part (0..999) of the time. -.SH "int QTime::msecsTo ( const QTime & t ) const" +.SH "int TQTime::msecsTo ( const TQTime & t ) const" Returns the number of milliseconds from this time to \fIt\fR (which is negative if \fIt\fR is earlier than this time). .PP -Because QTime measures time within a day and there are 86400 seconds in a day, the result is always between -86400000 and 86400000 msec. +Because TQTime measures time within a day and there are 86400 seconds in a day, the result is always between -86400000 and 86400000 msec. .PP See also secsTo(). -.SH "bool QTime::operator!= ( const QTime & t ) const" +.SH "bool TQTime::operator!= ( const TQTime & t ) const" Returns TRUE if this time is different from \fIt\fR; otherwise returns FALSE. -.SH "bool QTime::operator< ( const QTime & t ) const" +.SH "bool TQTime::operator< ( const TQTime & t ) const" Returns TRUE if this time is earlier than \fIt\fR; otherwise returns FALSE. -.SH "bool QTime::operator<= ( const QTime & t ) const" +.SH "bool TQTime::operator<= ( const TQTime & t ) const" Returns TRUE if this time is earlier than or equal to \fIt\fR; otherwise returns FALSE. -.SH "bool QTime::operator== ( const QTime & t ) const" +.SH "bool TQTime::operator== ( const TQTime & t ) const" Returns TRUE if this time is equal to \fIt\fR; otherwise returns FALSE. -.SH "bool QTime::operator> ( const QTime & t ) const" +.SH "bool TQTime::operator> ( const TQTime & t ) const" Returns TRUE if this time is later than \fIt\fR; otherwise returns FALSE. -.SH "bool QTime::operator>= ( const QTime & t ) const" +.SH "bool TQTime::operator>= ( const TQTime & t ) const" Returns TRUE if this time is later than or equal to \fIt\fR; otherwise returns FALSE. -.SH "int QTime::restart ()" +.SH "int TQTime::restart ()" Sets this time to the current time and returns the number of milliseconds that have elapsed since the last time start() or restart() was called. .PP This function is guaranteed to be atomic and is thus very handy for repeated measurements. Call start() to start the first measurement and then restart() for each later measurement. @@ -264,30 +264,30 @@ Note that the counter wraps to zero 24 hours after the last call to start() or r \fBWarning:\fR If the system's clock setting has been changed since the last time start() or restart() was called, the result is undefined. This can happen when daylight savings time is turned on or off. .PP See also start(), elapsed(), and currentTime(). -.SH "int QTime::second () const" +.SH "int TQTime::second () const" Returns the second part (0..59) of the time. .PP Example: tictac/tictac.cpp. -.SH "int QTime::secsTo ( const QTime & t ) const" +.SH "int TQTime::secsTo ( const TQTime & t ) const" Returns the number of seconds from this time to \fIt\fR (which is negative if \fIt\fR is earlier than this time). .PP -Because QTime measures time within a day and there are 86400 seconds in a day, the result is always between -86400 and 86400. +Because TQTime measures time within a day and there are 86400 seconds in a day, the result is always between -86400 and 86400. .PP -See also addSecs() and QDateTime::secsTo(). +See also addSecs() and TQDateTime::secsTo(). .PP Example: t12/cannon.cpp. -.SH "bool QTime::setHMS ( int h, int m, int s, int ms = 0 )" +.SH "bool TQTime::setHMS ( int h, int m, int s, int ms = 0 )" Sets the time to hour \fIh\fR, minute \fIm\fR, seconds \fIs\fR and milliseconds \fIms\fR. .PP \fIh\fR must be in the range 0..23, \fIm\fR and \fIs\fR must be in the range 0..59, and \fIms\fR must be in the range 0..999. Returns TRUE if the set time is valid; otherwise returns FALSE. .PP See also isValid(). -.SH "void QTime::start ()" +.SH "void TQTime::start ()" Sets this time to the current time. This is practical for timing: .PP .nf .br - QTime t; + TQTime t; .br t.start(); .br @@ -298,7 +298,7 @@ Sets this time to the current time. This is practical for timing: .fi .PP See also restart(), elapsed(), and currentTime(). -.SH "TQString QTime::toString ( const TQString & format ) const" +.SH "TQString TQTime::toString ( const TQString & format ) const" Returns the time as a string. The \fIformat\fR parameter determines the format of the result string. .PP These expressions may be used: @@ -312,7 +312,7 @@ l - l. Expression Output h the hour without a leading zero (0..23 or 1..12 if AM .PP All other input characters will be ignored. .PP -Example format strings (assuming that the QTime is 14:13:09.042) +Example format strings (assuming that the TQTime is 14:13:09.042) .PP <center>.nf .TS @@ -323,8 +323,8 @@ l - l. Format Result hh:mm:ss.zzz 14:13:09.042 h:m:s ap .PP If the time is an invalid time, then TQString::null will be returned. .PP -See also QDate::toString() and QDateTime::toString(). -.SH "TQString QTime::toString ( TQt::DateFormat f = TQt::TextDate ) const" +See also TQDate::toString() and TQDateTime::toString(). +.SH "TQString TQTime::toString ( TQt::DateFormat f = TQt::TextDate ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the time as a string. Milliseconds are not included. The \fIf\fR parameter determines the format of the string. @@ -337,17 +337,17 @@ If \fIf\fR is TQt::LocalDate, the string format depends on the locale settings o .PP If the time is an invalid time, then TQString::null will be returned. .SH RELATED FUNCTION DOCUMENTATION -.SH "QDataStream & operator<< ( QDataStream & s, const QTime & t )" +.SH "QDataStream & operator<< ( QDataStream & s, const TQTime & t )" Writes time \fIt\fR to the stream \fIs\fR. .PP See also Format of the QDataStream operators. -.SH "QDataStream & operator>> ( QDataStream & s, QTime & t )" +.SH "QDataStream & operator>> ( QDataStream & s, TQTime & t )" Reads a time from the stream \fIs\fR into \fIt\fR. .PP See also Format of the QDataStream operators. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qtime.html +.BR http://doc.trolltech.com/tqtime.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqtimeedit.3qt b/doc/man/man3/tqtimeedit.3qt index 5d832cf8d..2f57919fa 100644 --- a/doc/man/man3/tqtimeedit.3qt +++ b/doc/man/man3/tqtimeedit.3qt @@ -1,5 +1,5 @@ '\" t -.TH QTimeEdit 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQTimeEdit 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,11 +7,11 @@ .ad l .nh .SH NAME -QTimeEdit \- Time editor +TQTimeEdit \- Time editor .SH SYNOPSIS -\fC#include <ntqdatetimeedit.h>\fR +\fC#include <tqdatetimeedit.h>\fR .PP -Inherits QDateTimeEditBase. +Inherits TQDateTimeEditBase. .PP .SS "Public Members" .in +1c @@ -19,16 +19,16 @@ Inherits QDateTimeEditBase. .BI "enum \fBDisplay\fR { Hours = 0x01, Minutes = 0x02, Seconds = 0x04, AMPM = 0x10 }" .br .ti -1c -.BI "\fBQTimeEdit\fR ( TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQTimeEdit\fR ( TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQTimeEdit\fR ( const QTime & time, TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQTimeEdit\fR ( const TQTime & time, TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QTimeEdit\fR ()" +.BI "\fB~TQTimeEdit\fR ()" .br .ti -1c -.BI "QTime \fBtime\fR () const" +.BI "TQTime \fBtime\fR () const" .br .ti -1c .BI "virtual void \fBsetAutoAdvance\fR ( bool advance )" @@ -37,19 +37,19 @@ Inherits QDateTimeEditBase. .BI "bool \fBautoAdvance\fR () const" .br .ti -1c -.BI "virtual void \fBsetMinValue\fR ( const QTime & d )" +.BI "virtual void \fBsetMinValue\fR ( const TQTime & d )" .br .ti -1c -.BI "QTime \fBminValue\fR () const" +.BI "TQTime \fBminValue\fR () const" .br .ti -1c -.BI "virtual void \fBsetMaxValue\fR ( const QTime & d )" +.BI "virtual void \fBsetMaxValue\fR ( const TQTime & d )" .br .ti -1c -.BI "QTime \fBmaxValue\fR () const" +.BI "TQTime \fBmaxValue\fR () const" .br .ti -1c -.BI "virtual void \fBsetRange\fR ( const QTime & min, const QTime & max )" +.BI "virtual void \fBsetRange\fR ( const TQTime & min, const TQTime & max )" .br .ti -1c .BI "TQString \fBseparator\fR () const" @@ -67,13 +67,13 @@ Inherits QDateTimeEditBase. .SS "Public Slots" .in +1c .ti -1c -.BI "virtual void \fBsetTime\fR ( const QTime & time )" +.BI "virtual void \fBsetTime\fR ( const TQTime & time )" .br .in -1c .SS "Signals" .in +1c .ti -1c -.BI "void \fBvalueChanged\fR ( const QTime & time )" +.BI "void \fBvalueChanged\fR ( const TQTime & time )" .br .in -1c .SS "Properties" @@ -85,13 +85,13 @@ Inherits QDateTimeEditBase. .BI "Display \fBdisplay\fR - the sections that are displayed in the time edit" .br .ti -1c -.BI "QTime \fBmaxValue\fR - the maximum time value" +.BI "TQTime \fBmaxValue\fR - the maximum time value" .br .ti -1c -.BI "QTime \fBminValue\fR - the minimum time value" +.BI "TQTime \fBminValue\fR - the minimum time value" .br .ti -1c -.BI "QTime \fBtime\fR - the editor's time value" +.BI "TQTime \fBtime\fR - the editor's time value" .br .in -1c .SS "Protected Members" @@ -110,24 +110,24 @@ Inherits QDateTimeEditBase. .br .in -1c .SH DESCRIPTION -The QTimeEdit class provides a time editor. +The TQTimeEdit class provides a time editor. .PP -QTimeEdit allows the user to edit times by using the keyboard or the arrow keys to increase/decrease time values. The arrow keys can be used to move from section to section within the QTimeEdit box. The user can automatically be moved to the next section once they complete a section using setAutoAdvance(). Times appear in hour, minute, second order. It is recommended that the QTimeEdit is initialised with a time, e.g. +TQTimeEdit allows the user to edit times by using the keyboard or the arrow keys to increase/decrease time values. The arrow keys can be used to move from section to section within the TQTimeEdit box. The user can automatically be moved to the next section once they complete a section using setAutoAdvance(). Times appear in hour, minute, second order. It is recommended that the TQTimeEdit is initialised with a time, e.g. .PP .nf .br - QTime timeNow = QTime::currentTime(); + TQTime timeNow = TQTime::currentTime(); .br - QTimeEdit *timeEdit = new QTimeEdit( timeNow, this ); + TQTimeEdit *timeEdit = new TQTimeEdit( timeNow, this ); .br timeEdit->setRange( timeNow, timeNow.addSecs( 60 * 60 ) ); .br .fi -Here we've created a QTimeEdit widget set to the current time. We've also set the minimum value to the current time and the maximum time to one hour from now. +Here we've created a TQTimeEdit widget set to the current time. We've also set the minimum value to the current time and the maximum time to one hour from now. .PP -The maximum and minimum values for a time value in the time editor default to the maximum and minimum values for a QTime. You can change this by calling setMinValue(), setMaxValue() or setRange(). +The maximum and minimum values for a time value in the time editor default to the maximum and minimum values for a TQTime. You can change this by calling setMinValue(), setMaxValue() or setRange(). .PP -Terminology: A QTimeWidget consists of three sections, one each for the hour, minute and second. You can change the separator character using setSeparator(), by default the separator is read from the system's settings. +Terminology: A TQTimeWidget consists of three sections, one each for the hour, minute and second. You can change the separator character using setSeparator(), by default the separator is read from the system's settings. .PP <center> .ce 1 @@ -135,64 +135,64 @@ Terminology: A QTimeWidget consists of three sections, one each for the hour, mi .PP </center> .PP -See also QTime, QDateEdit, QDateTimeEdit, Advanced Widgets, and Time and Date. +See also TQTime, TQDateEdit, TQDateTimeEdit, Advanced Widgets, and Time and Date. .SS "Member Type Documentation" -.SH "QTimeEdit::Display" +.SH "TQTimeEdit::Display" This enum defines the sections that comprise a time .TP -\fCQTimeEdit::Hours\fR - The hours section +\fCTQTimeEdit::Hours\fR - The hours section .TP -\fCQTimeEdit::Minutes\fR - The minutes section +\fCTQTimeEdit::Minutes\fR - The minutes section .TP -\fCQTimeEdit::Seconds\fR - The seconds section +\fCTQTimeEdit::Seconds\fR - The seconds section .TP -\fCQTimeEdit::AMPM\fR - The AM/PM section +\fCTQTimeEdit::AMPM\fR - The AM/PM section .PP The values can be or'ed together to show any combination. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QTimeEdit::QTimeEdit ( TQWidget * parent = 0, const char * name = 0 )" +.SH "TQTimeEdit::TQTimeEdit ( TQWidget * parent = 0, const char * name = 0 )" Constructs an empty time edit with parent \fIparent\fR and called \fIname\fR. -.SH "QTimeEdit::QTimeEdit ( const QTime & time, TQWidget * parent = 0, const char * name = 0 )" +.SH "TQTimeEdit::TQTimeEdit ( const TQTime & time, 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 time edit with the initial time value, \fItime\fR, parent \fIparent\fR and called \fIname\fR. -.SH "QTimeEdit::~QTimeEdit ()" +.SH "TQTimeEdit::~TQTimeEdit ()" Destroys the object and frees any allocated resources. -.SH "bool QTimeEdit::autoAdvance () const" +.SH "bool TQTimeEdit::autoAdvance () const" Returns TRUE if the editor automatically advances to the next section; otherwise returns FALSE. See the "autoAdvance" property for details. -.SH "uint QTimeEdit::display () const" +.SH "uint TQTimeEdit::display () const" Returns the sections that are displayed in the time edit. See the "display" property for details. -.SH "QTime QTimeEdit::maxValue () const" +.SH "TQTime TQTimeEdit::maxValue () const" Returns the maximum time value. See the "maxValue" property for details. -.SH "QTime QTimeEdit::minValue () const" +.SH "TQTime TQTimeEdit::minValue () const" Returns the minimum time value. See the "minValue" property for details. -.SH "TQString QTimeEdit::sectionFormattedText ( int sec )\fC [virtual protected]\fR" +.SH "TQString TQTimeEdit::sectionFormattedText ( int sec )\fC [virtual protected]\fR" Returns the formatted number for section \fIsec\fR. This will correspond to either the hour, minute or second section, depending on \fIsec\fR. -.SH "TQString QTimeEdit::separator () const" +.SH "TQString TQTimeEdit::separator () const" Returns the editor's separator. -.SH "void QTimeEdit::setAutoAdvance ( bool advance )\fC [virtual]\fR" +.SH "void TQTimeEdit::setAutoAdvance ( bool advance )\fC [virtual]\fR" Sets whether the editor automatically advances to the next section to \fIadvance\fR. See the "autoAdvance" property for details. -.SH "void QTimeEdit::setDisplay ( uint disp )" +.SH "void TQTimeEdit::setDisplay ( uint disp )" Sets the sections that are displayed in the time edit to \fIdisp\fR. See the "display" property for details. -.SH "void QTimeEdit::setHour ( int h )\fC [virtual protected]\fR" +.SH "void TQTimeEdit::setHour ( int h )\fC [virtual protected]\fR" Sets the hour to \fIh\fR, which must be a valid hour, i.e. in the range 0..24. -.SH "void QTimeEdit::setMaxValue ( const QTime & d )\fC [virtual]\fR" +.SH "void TQTimeEdit::setMaxValue ( const TQTime & d )\fC [virtual]\fR" Sets the maximum time value to \fId\fR. See the "maxValue" property for details. -.SH "void QTimeEdit::setMinValue ( const QTime & d )\fC [virtual]\fR" +.SH "void TQTimeEdit::setMinValue ( const TQTime & d )\fC [virtual]\fR" Sets the minimum time value to \fId\fR. See the "minValue" property for details. -.SH "void QTimeEdit::setMinute ( int m )\fC [virtual protected]\fR" +.SH "void TQTimeEdit::setMinute ( int m )\fC [virtual protected]\fR" Sets the minute to \fIm\fR, which must be a valid minute, i.e. in the range 0..59. -.SH "void QTimeEdit::setRange ( const QTime & min, const QTime & max )\fC [virtual]\fR" +.SH "void TQTimeEdit::setRange ( const TQTime & min, const TQTime & max )\fC [virtual]\fR" Sets the valid input range for the editor to be from \fImin\fR to \fImax\fR inclusive. If \fImin\fR is invalid no minimum time is set. Similarly, if \fImax\fR is invalid no maximum time is set. -.SH "void QTimeEdit::setSecond ( int s )\fC [virtual protected]\fR" +.SH "void TQTimeEdit::setSecond ( int s )\fC [virtual protected]\fR" Sets the second to \fIs\fR, which must be a valid second, i.e. in the range 0..59. -.SH "void QTimeEdit::setSeparator ( const TQString & s )\fC [virtual]\fR" +.SH "void TQTimeEdit::setSeparator ( const TQString & s )\fC [virtual]\fR" Sets the separator to \fIs\fR. Note that currently only the first character of \fIs\fR is used. -.SH "void QTimeEdit::setTime ( const QTime & time )\fC [virtual slot]\fR" +.SH "void TQTimeEdit::setTime ( const TQTime & time )\fC [virtual slot]\fR" Sets the editor's time value to \fItime\fR. See the "time" property for details. -.SH "QTime QTimeEdit::time () const" +.SH "TQTime TQTimeEdit::time () const" Returns the editor's time value. See the "time" property for details. -.SH "void QTimeEdit::valueChanged ( const QTime & time )\fC [signal]\fR" +.SH "void TQTimeEdit::valueChanged ( const TQTime & time )\fC [signal]\fR" This signal is emitted whenever the editor's value changes. The \fItime\fR parameter is the new value. .SS "Property Documentation" .SH "bool autoAdvance" @@ -207,23 +207,23 @@ This property holds the sections that are displayed in the time edit. The value can be any combination of the values in the Display enum. By default, the widget displays hours, minutes and seconds. .PP Set this property's value with setDisplay() and get this property's value with display(). -.SH "QTime maxValue" +.SH "TQTime maxValue" This property holds the maximum time value. .PP -Setting the maximum time value is equivalent to calling QTimeEdit::setRange( minValue(), \fIt\fR ), where \fIt\fR is the maximum time. The default maximum time is 23:59:59. +Setting the maximum time value is equivalent to calling TQTimeEdit::setRange( minValue(), \fIt\fR ), where \fIt\fR is the maximum time. The default maximum time is 23:59:59. .PP See also minValue and setRange(). .PP Set this property's value with setMaxValue() and get this property's value with maxValue(). -.SH "QTime minValue" +.SH "TQTime minValue" This property holds the minimum time value. .PP -Setting the minimum time value is equivalent to calling QTimeEdit::setRange( \fIt\fR, maxValue() ), where \fIt\fR is the minimum time. The default minimum time is 00:00:00. +Setting the minimum time value is equivalent to calling TQTimeEdit::setRange( \fIt\fR, maxValue() ), where \fIt\fR is the minimum time. The default minimum time is 00:00:00. .PP See also maxValue and setRange(). .PP Set this property's value with setMinValue() and get this property's value with minValue(). -.SH "QTime time" +.SH "TQTime time" This property holds the editor's time value. .PP When changing the time property, if the time is less than minValue(), or is greater than maxValue(), nothing happens. @@ -231,7 +231,7 @@ When changing the time property, if the time is less than minValue(), or is grea Set this property's value with setTime() and get this property's value with time(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qtimeedit.html +.BR http://doc.trolltech.com/tqtimeedit.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqtimer.3qt b/doc/man/man3/tqtimer.3qt index 14a67dc74..0750c2d76 100644 --- a/doc/man/man3/tqtimer.3qt +++ b/doc/man/man3/tqtimer.3qt @@ -1,5 +1,5 @@ '\" t -.TH QTimer 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQTimer 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,19 +7,19 @@ .ad l .nh .SH NAME -QTimer \- Timer signals and single-shot timers +TQTimer \- Timer signals and single-shot timers .SH SYNOPSIS -\fC#include <ntqtimer.h>\fR +\fC#include <tqtimer.h>\fR .PP Inherits TQObject. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQTimer\fR ( TQObject * parent = 0, const char * name = 0 )" +.BI "\fBTQTimer\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QTimer\fR ()" +.BI "\fB~TQTimer\fR ()" .br .ti -1c .BI "bool \fBisActive\fR () const" @@ -50,17 +50,17 @@ Inherits TQObject. .br .in -1c .SH DESCRIPTION -The QTimer class provides timer signals and single-shot timers. +The TQTimer class provides timer signals and single-shot timers. .PP -It uses timer events internally to provide a more versatile timer. QTimer is very easy to use: create a QTimer, call start() to start it and connect its timeout() to the appropriate slots. When the time is up it will emit the timeout() signal. +It uses timer events internally to provide a more versatile timer. TQTimer is very easy to use: create a TQTimer, call start() to start it and connect its timeout() to the appropriate slots. When the time is up it will emit the timeout() signal. .PP -Note that a QTimer object is destroyed automatically when its parent object is destroyed. +Note that a TQTimer object is destroyed automatically when its parent object is destroyed. .PP Example: .PP .nf .br - QTimer *timer = new QTimer( myObject ); + TQTimer *timer = new TQTimer( myObject ); .br connect( timer, TQ_SIGNAL(timeout()), myObject, TQ_SLOT(timerDone()) ); .br @@ -70,13 +70,13 @@ Example: .PP You can also use the static singleShot() function to create a single shot timer. .PP -As a special case, a QTimer with timeout 0 times out as soon as all the events in the window system's event queue have been processed. +As a special case, a TQTimer with timeout 0 times out as soon as all the events in the window system's event queue have been processed. .PP This can be used to do heavy work while providing a snappy user interface: .PP .nf .br - QTimer *t = new QTimer( myObject ); + TQTimer *t = new TQTimer( myObject ); .br connect( t, TQ_SIGNAL(timeout()), TQ_SLOT(processOneThing()) ); .br @@ -86,34 +86,34 @@ This can be used to do heavy work while providing a snappy user interface: .PP myObject->processOneThing() will be called repeatedly and should return quickly (typically after processing one data item) so that TQt can deliver events to widgets and stop the timer as soon as it has done all its work. This is the traditional way of implementing heavy work in GUI applications; multi-threading is now becoming available on more and more platforms, and we expect that null events will eventually be replaced by threading. .PP -Note that QTimer's accuracy depends on the underlying operating system and hardware. Most platforms support an accuracy of 20ms; some provide more. If TQt is unable to deliver the requested number of timer clicks, it will silently discard some. +Note that TQTimer's accuracy depends on the underlying operating system and hardware. Most platforms support an accuracy of 20ms; some provide more. If TQt is unable to deliver the requested number of timer clicks, it will silently discard some. .PP -An alternative to using QTimer is to call TQObject::startTimer() for your object and reimplement the TQObject::timerEvent() event handler in your class (which must, of course, inherit TQObject). The disadvantage is that timerEvent() does not support such high-level features as single-shot timers or signals. +An alternative to using TQTimer is to call TQObject::startTimer() for your object and reimplement the TQObject::timerEvent() event handler in your class (which must, of course, inherit TQObject). The disadvantage is that timerEvent() does not support such high-level features as single-shot timers or signals. .PP Some operating systems limit the number of timers that may be used; TQt tries to work around these limitations. .PP See also Event Classes and Time and Date. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QTimer::QTimer ( TQObject * parent = 0, const char * name = 0 )" +.SH "TQTimer::TQTimer ( TQObject * parent = 0, const char * name = 0 )" Constructs a timer called \fIname\fR, with the parent \fIparent\fR. .PP Note that the parent object's destructor will destroy this timer object. -.SH "QTimer::~QTimer ()" +.SH "TQTimer::~TQTimer ()" Destroys the timer. -.SH "void QTimer::changeInterval ( int msec )" +.SH "void TQTimer::changeInterval ( int msec )" Changes the timeout interval to \fImsec\fR milliseconds. .PP If the timer signal is pending, it will be stopped and restarted; otherwise it will be started. .PP See also start() and isActive(). -.SH "bool QTimer::isActive () const" +.SH "bool TQTimer::isActive () const" Returns TRUE if the timer is running (pending); otherwise returns FALSE. .PP Example: t11/cannon.cpp. -.SH "void QTimer::singleShot ( int msec, TQObject * receiver, const char * member )\fC [static]\fR" +.SH "void TQTimer::singleShot ( int msec, TQObject * receiver, const char * member )\fC [static]\fR" This static function calls a slot after a given time interval. .PP -It is very convenient to use this function because you do not need to bother with a timerEvent or to create a local QTimer object. +It is very convenient to use this function because you do not need to bother with a timerEvent or to create a local TQTimer object. .PP Example: .PP @@ -121,7 +121,7 @@ Example: .br #include <ntqapplication.h> .br - #include <ntqtimer.h> + #include <tqtimer.h> .br .br int main( int argc, char **argv ) @@ -130,7 +130,7 @@ Example: .br QApplication a( argc, argv ); .br - QTimer::singleShot( 10*60*1000, &a, TQ_SLOT(quit()) ); + TQTimer::singleShot( 10*60*1000, &a, TQ_SLOT(quit()) ); .br ... // create and show your widgets .br @@ -143,7 +143,7 @@ Example: This sample program automatically terminates after 10 minutes (i.e. 600000 milliseconds). .PP The \fIreceiver\fR is the receiving object and the \fImember\fR is the slot. The time interval is \fImsec\fR. -.SH "int QTimer::start ( int msec, bool sshot = FALSE )" +.SH "int TQTimer::start ( int msec, bool sshot = FALSE )" Starts the timer with a \fImsec\fR milliseconds timeout, and returns the ID of the timer, or zero when starting the timer failed. .PP If \fIsshot\fR is TRUE, the timer will be activated only once; otherwise it will continue until it is stopped. @@ -154,24 +154,24 @@ See also singleShot(), stop(), changeInterval(), and isActive(). .PP Examples: .)l aclock/aclock.cpp, dirview/dirview.cpp, distributor/distributor.ui.h, forever/forever.cpp, hello/hello.cpp, t11/cannon.cpp, and t13/cannon.cpp. -.SH "void QTimer::stop ()" +.SH "void TQTimer::stop ()" Stops the timer. .PP See also start(). .PP Examples: .)l dirview/dirview.cpp, t11/cannon.cpp, t12/cannon.cpp, and t13/cannon.cpp. -.SH "void QTimer::timeout ()\fC [signal]\fR" +.SH "void TQTimer::timeout ()\fC [signal]\fR" This signal is emitted when the timer is activated. .PP Examples: .)l aclock/aclock.cpp, dirview/dirview.cpp, distributor/distributor.ui.h, forever/forever.cpp, hello/hello.cpp, and t11/cannon.cpp. -.SH "int QTimer::timerId () const" +.SH "int TQTimer::timerId () const" Returns the ID of the timer if the timer is running; otherwise returns -1. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqtimer.html +.BR http://doc.trolltech.com/tqtimer.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqtimerevent.3qt b/doc/man/man3/tqtimerevent.3qt index 5b1d44e49..524e2cbde 100644 --- a/doc/man/man3/tqtimerevent.3qt +++ b/doc/man/man3/tqtimerevent.3qt @@ -1,5 +1,5 @@ '\" t -.TH QTimerEvent 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQTimerEvent 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,7 +7,7 @@ .ad l .nh .SH NAME -QTimerEvent \- Parameters that describe a timer event +TQTimerEvent \- Parameters that describe a timer event .SH SYNOPSIS \fC#include <ntqevent.h>\fR .PP @@ -16,32 +16,32 @@ Inherits QEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQTimerEvent\fR ( int timerId )" +.BI "\fBTQTimerEvent\fR ( int timerId )" .br .ti -1c .BI "int \fBtimerId\fR () const" .br .in -1c .SH DESCRIPTION -The QTimerEvent class contains parameters that describe a timer event. +The TQTimerEvent class contains parameters that describe a timer event. .PP Timer events are sent at regular intervals to objects that have started one or more timers. Each timer has a unique identifier. A timer is started with TQObject::startTimer(). .PP -The QTimer class provides a high-level programming interface that uses signals instead of events. It also provides one-shot timers. +The TQTimer class provides a high-level programming interface that uses signals instead of events. It also provides one-shot timers. .PP The event handler TQObject::timerEvent() receives timer events. .PP -See also QTimer, TQObject::timerEvent(), TQObject::startTimer(), TQObject::killTimer(), TQObject::killTimers(), and Event Classes. +See also TQTimer, TQObject::timerEvent(), TQObject::startTimer(), TQObject::killTimer(), TQObject::killTimers(), and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QTimerEvent::QTimerEvent ( int timerId )" +.SH "TQTimerEvent::TQTimerEvent ( int timerId )" Constructs a timer event object with the timer identifier set to \fItimerId\fR. -.SH "int QTimerEvent::timerId () const" +.SH "int TQTimerEvent::timerId () const" Returns the unique timer identifier, which is the same identifier as returned from TQObject::startTimer(). .PP Example: dclock/dclock.cpp. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qtimerevent.html +.BR http://doc.trolltech.com/tqtimerevent.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqurlinfo.3qt b/doc/man/man3/tqurlinfo.3qt index 04acc5c0d..4d96e2987 100644 --- a/doc/man/man3/tqurlinfo.3qt +++ b/doc/man/man3/tqurlinfo.3qt @@ -26,10 +26,10 @@ QUrlInfo \- Stores information about URLs .BI "\fBQUrlInfo\fR ( const QUrlInfo & ui )" .br .ti -1c -.BI "\fBQUrlInfo\fR ( const TQString & name, int permissions, const TQString & owner, const TQString & group, uint size, const QDateTime & lastModified, const QDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable )" +.BI "\fBQUrlInfo\fR ( const TQString & name, int permissions, const TQString & owner, const TQString & group, uint size, const TQDateTime & lastModified, const TQDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable )" .br .ti -1c -.BI "\fBQUrlInfo\fR ( const QUrl & url, int permissions, const TQString & owner, const TQString & group, uint size, const QDateTime & lastModified, const QDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable )" +.BI "\fBQUrlInfo\fR ( const QUrl & url, int permissions, const TQString & owner, const TQString & group, uint size, const TQDateTime & lastModified, const TQDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable )" .br .ti -1c .BI "QUrlInfo & \fBoperator=\fR ( const QUrlInfo & ui )" @@ -68,7 +68,7 @@ QUrlInfo \- Stores information about URLs .BI "virtual void \fBsetPermissions\fR ( int p )" .br .ti -1c -.BI "virtual void \fBsetLastModified\fR ( const QDateTime & dt )" +.BI "virtual void \fBsetLastModified\fR ( const TQDateTime & dt )" .br .ti -1c .BI "bool \fBisValid\fR () const" @@ -89,10 +89,10 @@ QUrlInfo \- Stores information about URLs .BI "uint \fBsize\fR () const" .br .ti -1c -.BI "QDateTime \fBlastModified\fR () const" +.BI "TQDateTime \fBlastModified\fR () const" .br .ti -1c -.BI "QDateTime \fBlastRead\fR () const" +.BI "TQDateTime \fBlastRead\fR () const" .br .ti -1c .BI "bool \fBisDir\fR () const" @@ -174,11 +174,11 @@ If \fIfile\fR is empty, it defaults to the QUrlOperator \fIpath\fR, i.e. to the See also isValid() and QUrlOperator::info(). .SH "QUrlInfo::QUrlInfo ( const QUrlInfo & ui )" Copy constructor, copies \fIui\fR to this URL info object. -.SH "QUrlInfo::QUrlInfo ( const TQString & name, int permissions, const TQString & owner, const TQString & group, uint size, const QDateTime & lastModified, const QDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable )" +.SH "QUrlInfo::QUrlInfo ( const TQString & name, int permissions, const TQString & owner, const TQString & group, uint size, const TQDateTime & lastModified, const TQDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable )" Constructs a QUrlInfo object by specifying all the URL's information. .PP The information that is passed is the \fIname\fR, file \fIpermissions\fR, \fIowner\fR and \fIgroup\fR and the file's \fIsize\fR. Also passed is the \fIlastModified\fR date/time and the \fIlastRead\fR date/time. Flags are also passed, specifically, \fIisDir\fR, \fIisFile\fR, \fIisSymLink\fR, \fIisWritable\fR, \fIisReadable\fR and \fIisExecutable\fR. -.SH "QUrlInfo::QUrlInfo ( const QUrl & url, int permissions, const TQString & owner, const TQString & group, uint size, const QDateTime & lastModified, const QDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable )" +.SH "QUrlInfo::QUrlInfo ( const QUrl & url, int permissions, const TQString & owner, const TQString & group, uint size, const TQDateTime & lastModified, const TQDateTime & lastRead, bool isDir, bool isFile, bool isSymLink, bool isWritable, bool isReadable, bool isExecutable )" Constructs a QUrlInfo object by specifying all the URL's information. .PP The information that is passed is the \fIurl\fR, file \fIpermissions\fR, \fIowner\fR and \fIgroup\fR and the file's \fIsize\fR. Also passed is the \fIlastModified\fR date/time and the \fIlastRead\fR date/time. Flags are also passed, specifically, \fIisDir\fR, \fIisFile\fR, \fIisSymLink\fR, \fIisWritable\fR, \fIisReadable\fR and \fIisExecutable\fR. @@ -225,13 +225,13 @@ You should always check if the URL info is valid before relying on the values. Returns TRUE if the URL is writable; otherwise returns FALSE. .PP See also isValid(). -.SH "QDateTime QUrlInfo::lastModified () const" +.SH "TQDateTime QUrlInfo::lastModified () const" Returns the last modification date of the URL. .PP See also isValid(). .PP Example: network/ftpclient/ftpmainwindow.ui.h. -.SH "QDateTime QUrlInfo::lastRead () const" +.SH "TQDateTime QUrlInfo::lastRead () const" Returns the date when the URL was last read. .PP See also isValid(). @@ -277,7 +277,7 @@ Specifies that the owning group of the URL is called \fIs\fR. If you call this function for an invalid URL info, this function turns it into a valid one. .PP See also isValid(). -.SH "void QUrlInfo::setLastModified ( const QDateTime & dt )\fC [virtual]\fR" +.SH "void QUrlInfo::setLastModified ( const TQDateTime & dt )\fC [virtual]\fR" Specifies that the object the URL refers to was last modified at \fIdt\fR. .PP If you call this function for an invalid URL info, this function turns it into a valid one. diff --git a/doc/man/man3/tqvariant.3qt b/doc/man/man3/tqvariant.3qt index a46e3567d..460c44083 100644 --- a/doc/man/man3/tqvariant.3qt +++ b/doc/man/man3/tqvariant.3qt @@ -86,13 +86,13 @@ QVariant \- Acts like a union for the most common TQt data types .BI "\fBQVariant\fR ( const QCursor & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QDate & val )" +.BI "\fBQVariant\fR ( const TQDate & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QTime & val )" +.BI "\fBQVariant\fR ( const TQTime & val )" .br .ti -1c -.BI "\fBQVariant\fR ( const QDateTime & val )" +.BI "\fBQVariant\fR ( const TQDateTime & val )" .br .ti -1c .BI "\fBQVariant\fR ( const QByteArray & val )" @@ -218,13 +218,13 @@ QVariant \- Acts like a union for the most common TQt data types .BI "const QCursor \fBtoCursor\fR () const" .br .ti -1c -.BI "const QDate \fBtoDate\fR () const" +.BI "const TQDate \fBtoDate\fR () const" .br .ti -1c -.BI "const QTime \fBtoTime\fR () const" +.BI "const TQTime \fBtoTime\fR () const" .br .ti -1c -.BI "const QDateTime \fBtoDateTime\fR () const" +.BI "const TQDateTime \fBtoDateTime\fR () const" .br .ti -1c .BI "const QByteArray \fBtoByteArray\fR () const" @@ -341,13 +341,13 @@ QVariant \- Acts like a union for the most common TQt data types .BI "QCursor & \fBasCursor\fR ()" .br .ti -1c -.BI "QDate & \fBasDate\fR ()" +.BI "TQDate & \fBasDate\fR ()" .br .ti -1c -.BI "QTime & \fBasTime\fR ()" +.BI "TQTime & \fBasTime\fR ()" .br .ti -1c -.BI "QDateTime & \fBasDateTime\fR ()" +.BI "TQDateTime & \fBasDateTime\fR ()" .br .ti -1c .BI "QByteArray & \fBasByteArray\fR ()" @@ -492,9 +492,9 @@ This enum type defines the types of variable that a QVariant can contain. .TP \fCQVariant::Cursor\fR - a QCursor .TP -\fCQVariant::Date\fR - a QDate +\fCQVariant::Date\fR - a TQDate .TP -\fCQVariant::DateTime\fR - a QDateTime +\fCQVariant::DateTime\fR - a TQDateTime .TP \fCQVariant::Double\fR - a double .TP @@ -540,7 +540,7 @@ This enum type defines the types of variable that a QVariant can contain. .TP \fCQVariant::StringList\fR - a TQStringList .TP -\fCQVariant::Time\fR - a QTime +\fCQVariant::Time\fR - a TQTime .TP \fCQVariant::UInt\fR - an unsigned int .PP @@ -604,11 +604,11 @@ Constructs a new variant with a region value, \fIval\fR. Constructs a new variant with a bitmap value, \fIval\fR. .SH "QVariant::QVariant ( const QCursor & val )" Constructs a new variant with a cursor value, \fIval\fR. -.SH "QVariant::QVariant ( const QDate & val )" +.SH "QVariant::QVariant ( const TQDate & val )" Constructs a new variant with a date value, \fIval\fR. -.SH "QVariant::QVariant ( const QTime & val )" +.SH "QVariant::QVariant ( const TQTime & val )" Constructs a new variant with a time value, \fIval\fR. -.SH "QVariant::QVariant ( const QDateTime & val )" +.SH "QVariant::QVariant ( const TQDateTime & val )" Constructs a new variant with a date/time value, \fIval\fR. .SH "QVariant::QVariant ( const QByteArray & val )" Constructs a new variant with a bytearray value, \fIval\fR. @@ -684,14 +684,14 @@ Tries to convert the variant to hold a QCursor value. If that is not possible th Returns a reference to the stored cursor. .PP See also toCursor(). -.SH "QDate & QVariant::asDate ()" -Tries to convert the variant to hold a QDate value. If that is not possible then the variant is set to an invalid date. +.SH "TQDate & QVariant::asDate ()" +Tries to convert the variant to hold a TQDate value. If that is not possible then the variant is set to an invalid date. .PP Returns a reference to the stored date. .PP See also toDate(). -.SH "QDateTime & QVariant::asDateTime ()" -Tries to convert the variant to hold a QDateTime value. If that is not possible then the variant is set to an invalid date/time. +.SH "TQDateTime & QVariant::asDateTime ()" +Tries to convert the variant to hold a TQDateTime value. If that is not possible then the variant is set to an invalid date/time. .PP Returns a reference to the stored date/time. .PP @@ -846,8 +846,8 @@ Note that if you want to iterate over the list, you should iterate over a copy, .fi .PP See also toStringList(). -.SH "QTime & QVariant::asTime ()" -Tries to convert the variant to hold a QTime value. If that is not possible then the variant is set to an invalid time. +.SH "TQTime & QVariant::asTime ()" +Tries to convert the variant to hold a TQTime value. If that is not possible then the variant is set to an invalid time. .PP Returns a reference to the stored time. .PP @@ -953,16 +953,16 @@ See also asColorGroup(). Returns the variant as a QCursor if the variant has type() Cursor; otherwise returns the default arrow cursor. .PP See also asCursor(). -.SH "const QDate QVariant::toDate () const" -Returns the variant as a QDate if the variant can be cast to Date; otherwise returns an invalid date. +.SH "const TQDate QVariant::toDate () const" +Returns the variant as a TQDate if the variant can be cast to Date; otherwise returns an invalid date. .PP Note that if the type() is String, CString or ByteArray an invalid date will be returned if the string cannot be parsed as a TQt::ISODate format date. .PP See also asDate() and canCast(). -.SH "const QDateTime QVariant::toDateTime () const" -Returns the variant as a QDateTime if the variant can be cast to DateTime; otherwise returns an invalid QDateTime. +.SH "const TQDateTime QVariant::toDateTime () const" +Returns the variant as a TQDateTime if the variant can be cast to DateTime; otherwise returns an invalid TQDateTime. .PP -Note that if the type() is String, CString or ByteArray an invalid QDateTime will be returned if the string cannot be parsed as a TQt::ISODate format date/time. +Note that if the type() is String, CString or ByteArray an invalid TQDateTime will be returned if the string cannot be parsed as a TQt::ISODate format date/time. .PP See also asDateTime(). .SH "double QVariant::toDouble ( bool * ok = 0 ) const" @@ -1103,8 +1103,8 @@ Note that if you want to iterate over the list, you should iterate over a copy, .fi .PP See also asStringList(). -.SH "const QTime QVariant::toTime () const" -Returns the variant as a QTime if the variant can be cast to Time; otherwise returns an invalid date. +.SH "const TQTime QVariant::toTime () const" +Returns the variant as a TQTime if the variant can be cast to Time; otherwise returns an invalid date. .PP Note that if the type() is String, CString or ByteArray an invalid time will be returned if the string cannot be parsed as a TQt::ISODate format time. .PP diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index 2c1dd41fb..7051e7c3c 100644 --- a/doc/man/man3/tqwidget.3qt +++ b/doc/man/man3/tqwidget.3qt @@ -13,7 +13,7 @@ TQWidget \- The base class of all user interface objects .PP Inherits TQObject and QPaintDevice. .PP -Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, QDateTimeEditBase, QDateTimeEdit, QDesktopWidget, QDial, QDockArea, QGLWidget, QHeader, QMainWindow, QMotifWidget, QNPWidget, QScrollBar, QSizeGrip, QSlider, QSpinBox, QSplashScreen, QStatusBar, QTabBar, QTabWidget, QWorkspace, and QXtWidget. +Inherited by QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, QDesktopWidget, QDial, QDockArea, QGLWidget, QHeader, QMainWindow, QMotifWidget, QNPWidget, QScrollBar, QSizeGrip, QSlider, QSpinBox, QSplashScreen, QStatusBar, QTabBar, QTabWidget, QWorkspace, and QXtWidget. .PP .SS "Public Members" .in +1c |