[Reproducible-commits] [qt4-x11] 01/01: Bumped to version 4:4.8.7+dfsg-5 and updated patch.
Eduard Sanou
dhole-guest at moszumanska.debian.org
Fri Feb 12 23:37:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
dhole-guest pushed a commit to branch pu/reproducible_builds
in repository qt4-x11.
commit 6ad74605ee90ee517cd51860ab5988da505a6745
Author: Eduard Sanou <dhole at openmailbox.org>
Date: Sat Feb 13 00:34:22 2016 +0100
Bumped to version 4:4.8.7+dfsg-5 and updated patch.
Now the patch, instead of using the date from SOURCE_DATE_EPOCH uses a
fixed date as it happens in qt5 qhelpgenerator.
---
.../src/corelib/tools/qdatetime.cpp | 5898 --------------------
.../src/corelib/tools/qdatetime.h | 340 --
.pc/applied-patches | 3 +-
.../src}/network/ssl/qsslsocket_openssl.cpp | 0
.../network/ssl/qsslsocket_openssl_symbols.cpp | 0
.../.timestamp | 0
.../tools/assistant/lib/qhelpgenerator.cpp | 0
.../assistant/tools/qcollectiongenerator/main.cpp | 0
.../tools/shared/collectionconfiguration.cpp | 0
debian/README.source | 2 +-
debian/changelog | 37 +-
debian/control | 9 +-
debian/libqt4-declarative.symbols | 10 +-
debian/libqt4-designer.symbols | 50 +-
debian/libqt4-help.symbols | 2 -
debian/libqt4-network.symbols | 3 +-
debian/libqt4-opengl.symbols | 21 +-
debian/libqt4-qt3support.symbols | 11 +-
debian/libqt4-script.symbols | 4 +-
debian/libqt4-scripttools.symbols | 7 +-
debian/libqt4-svg.symbols | 2 +-
debian/libqt4-xmlpatterns.symbols | 4 +-
debian/libqtcore4.symbols | 282 +-
debian/libqtdbus4.symbols | 3 +-
debian/libqtgui4.symbols | 14 +-
..._with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch | 102 -
debian/patches/no-ssl3.patch | 66 +
...estamps_with_fixed_date_in_qhelpgenerator.patch | 51 +
debian/patches/series | 3 +-
.../webkit/WebKitLibraries/libWebCoreSQLite3.a | Bin 4157656 -> 0 bytes
.../libWebKitSystemInterfaceLeopard.a | Bin 1742208 -> 0 bytes
.../WebKitLibraries/libWebKitSystemInterfaceLion.a | Bin 942816 -> 0 bytes
.../libWebKitSystemInterfaceMountainLion.a | Bin 647568 -> 0 bytes
.../libWebKitSystemInterfaceSnowLeopard.a | Bin 1472252 -> 0 bytes
src/network/ssl/qsslsocket_openssl.cpp | 4 +
src/network/ssl/qsslsocket_openssl_symbols.cpp | 8 +
src/tools/uic/qclass_lib_map.h | 1463 -----
tools/assistant/lib/qhelpgenerator.cpp | 4 +-
.../assistant/tools/qcollectiongenerator/main.cpp | 2 +-
.../tools/shared/collectionconfiguration.cpp | 2 +-
40 files changed, 214 insertions(+), 8193 deletions(-)
diff --git a/.pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/src/corelib/tools/qdatetime.cpp b/.pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/src/corelib/tools/qdatetime.cpp
deleted file mode 100644
index 8adbb55..0000000
--- a/.pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/src/corelib/tools/qdatetime.cpp
+++ /dev/null
@@ -1,5898 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2015 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the QtCore module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see http://www.qt.io/terms-conditions. For further
-** information use the contact form at http://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 or version 3 as published by the Free
-** Software Foundation and appearing in the file LICENSE.LGPLv21 and
-** LICENSE.LGPLv3 included in the packaging of this file. Please review the
-** following information to ensure the GNU Lesser General Public License
-** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** As a special exception, The Qt Company gives you certain additional
-** rights. These rights are described in The Qt Company LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3.0 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU General Public License version 3.0 requirements will be
-** met: http://www.gnu.org/copyleft/gpl.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#include "qplatformdefs.h"
-#include "private/qdatetime_p.h"
-
-#include "qdatastream.h"
-#include "qset.h"
-#include "qlocale.h"
-#include "qdatetime.h"
-#include "qregexp.h"
-#include "qdebug.h"
-#if defined(Q_OS_WIN32) || defined(Q_OS_WINCE)
-#include <qt_windows.h>
-#endif
-#ifndef Q_WS_WIN
-#include <locale.h>
-#endif
-
-#include <time.h>
-#if defined(Q_OS_WINCE)
-#include "qfunctions_wince.h"
-#endif
-
-//#define QDATETIMEPARSER_DEBUG
-#if defined (QDATETIMEPARSER_DEBUG) && !defined(QT_NO_DEBUG_STREAM)
-# define QDTPDEBUG qDebug() << QString("%1:%2").arg(__FILE__).arg(__LINE__)
-# define QDTPDEBUGN qDebug
-#else
-# define QDTPDEBUG if (false) qDebug()
-# define QDTPDEBUGN if (false) qDebug
-#endif
-
-#if defined(Q_WS_MAC)
-#include <private/qcore_mac_p.h>
-#endif
-
-#if defined(Q_OS_SYMBIAN)
-#include <e32std.h>
-#include <tz.h>
-#endif
-
-QT_BEGIN_NAMESPACE
-
-enum {
- FIRST_YEAR = -4713,
- FIRST_MONTH = 1,
- FIRST_DAY = 2, // ### Qt 5: make FIRST_DAY = 1, by support jd == 0 as valid
- SECS_PER_DAY = 86400,
- MSECS_PER_DAY = 86400000,
- SECS_PER_HOUR = 3600,
- MSECS_PER_HOUR = 3600000,
- SECS_PER_MIN = 60,
- MSECS_PER_MIN = 60000,
- JULIAN_DAY_FOR_EPOCH = 2440588 // result of julianDayFromGregorianDate(1970, 1, 1)
-};
-
-static inline QDate fixedDate(int y, int m, int d)
-{
- QDate result(y, m, 1);
- result.setDate(y, m, qMin(d, result.daysInMonth()));
- return result;
-}
-
-static inline uint julianDayFromGregorianDate(int year, int month, int day)
-{
- // Gregorian calendar starting from October 15, 1582
- // Algorithm from Henry F. Fliegel and Thomas C. Van Flandern
- return (1461 * (year + 4800 + (month - 14) / 12)) / 4
- + (367 * (month - 2 - 12 * ((month - 14) / 12))) / 12
- - (3 * ((year + 4900 + (month - 14) / 12) / 100)) / 4
- + day - 32075;
-}
-
-static uint julianDayFromDate(int year, int month, int day)
-{
- if (year < 0)
- ++year;
-
- if (year > 1582 || (year == 1582 && (month > 10 || (month == 10 && day >= 15)))) {
- return julianDayFromGregorianDate(year, month, day);
- } else if (year < 1582 || (year == 1582 && (month < 10 || (month == 10 && day <= 4)))) {
- // Julian calendar until October 4, 1582
- // Algorithm from Frequently Asked Questions about Calendars by Claus Toendering
- int a = (14 - month) / 12;
- return (153 * (month + (12 * a) - 3) + 2) / 5
- + (1461 * (year + 4800 - a)) / 4
- + day - 32083;
- } else {
- // the day following October 4, 1582 is October 15, 1582
- return 0;
- }
-}
-
-static void getDateFromJulianDay(uint julianDay, int *year, int *month, int *day)
-{
- int y, m, d;
-
- if (julianDay >= 2299161) {
- // Gregorian calendar starting from October 15, 1582
- // This algorithm is from Henry F. Fliegel and Thomas C. Van Flandern
- qulonglong ell, n, i, j;
- ell = qulonglong(julianDay) + 68569;
- n = (4 * ell) / 146097;
- ell = ell - (146097 * n + 3) / 4;
- i = (4000 * (ell + 1)) / 1461001;
- ell = ell - (1461 * i) / 4 + 31;
- j = (80 * ell) / 2447;
- d = ell - (2447 * j) / 80;
- ell = j / 11;
- m = j + 2 - (12 * ell);
- y = 100 * (n - 49) + i + ell;
- } else {
- // Julian calendar until October 4, 1582
- // Algorithm from Frequently Asked Questions about Calendars by Claus Toendering
- julianDay += 32082;
- int dd = (4 * julianDay + 3) / 1461;
- int ee = julianDay - (1461 * dd) / 4;
- int mm = ((5 * ee) + 2) / 153;
- d = ee - (153 * mm + 2) / 5 + 1;
- m = mm + 3 - 12 * (mm / 10);
- y = dd - 4800 + (mm / 10);
- if (y <= 0)
- --y;
- }
- if (year)
- *year = y;
- if (month)
- *month = m;
- if (day)
- *day = d;
-}
-
-
-static const char monthDays[] = { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
-
-#ifndef QT_NO_TEXTDATE
-static const char * const qt_shortMonthNames[] = {
- "Jan", "Feb", "Mar", "Apr", "May", "Jun",
- "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
-#endif
-#ifndef QT_NO_DATESTRING
-static QString fmtDateTime(const QString& f, const QTime* dt = 0, const QDate* dd = 0);
-#endif
-
-/*****************************************************************************
- QDate member functions
- *****************************************************************************/
-
-/*!
- \since 4.5
-
- \enum QDate::MonthNameType
-
- This enum describes the types of the string representation used
- for the month name.
-
- \value DateFormat This type of name can be used for date-to-string formatting.
- \value StandaloneFormat This type is used when you need to enumerate months or weekdays.
- Usually standalone names are represented in singular forms with
- capitalized first letter.
-*/
-
-/*!
- \class QDate
- \reentrant
- \brief The QDate class provides date functions.
-
-
- A QDate object contains a calendar date, i.e. year, month, and day
- numbers, in the Gregorian calendar. (see \l{QDate G and J} {Use of
- Gregorian and Julian Calendars} for dates prior to 15 October
- 1582). It can read the current date from the system clock. It
- provides functions for comparing dates, and for manipulating
- dates. For example, it is possible to add and subtract days,
- months, and years to dates.
-
- A QDate object is typically created either by giving the year,
- month, and day numbers explicitly. Note that QDate interprets two
- digit years as is, i.e., years 0 - 99. A QDate can also be
- constructed with the static function currentDate(), which creates
- a QDate object containing the system clock's date. An explicit
- date can also be set using setDate(). The fromString() function
- returns a QDate given a string and a date format which is used to
- interpret the date within the string.
-
- 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.
-
- QDate provides a full set of operators to compare two QDate
- objects where smaller means earlier, and larger means later.
-
- 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.
-
- The daysInMonth() and daysInYear() functions return how many days
- there are in this date's month and year, respectively. The
- isLeapYear() function indicates whether a date is in a leap year.
-
- \section1
-
- \target QDate G and J
- \section2 Use of Gregorian and Julian Calendars
-
- QDate uses the Gregorian calendar in all locales, beginning
- on the date 15 October 1582. For dates up to and including 4
- October 1582, the Julian calendar is used. This means there is a
- 10-day gap in the internal calendar between the 4th and the 15th
- of October 1582. When you use QDateTime for dates in that epoch,
- the day after 4 October 1582 is 15 October 1582, and the dates in
- the gap are invalid.
-
- The Julian to Gregorian changeover date used here is the date when
- the Gregorian calendar was first introduced, by Pope Gregory
- XIII. That change was not universally accepted and some localities
- only executed it at a later date (if at all). QDateTime
- doesn't take any of these historical facts into account. If an
- application must support a locale-specific dating system, it must
- do so on its own, remembering to convert the dates using the
- Julian day.
-
- \section2 No Year 0
-
- There is no year 0. Dates in that year are considered invalid. The
- year -1 is the year "1 before Christ" or "1 before current era."
- The day before 0001-01-01 is December 31st, 1 BCE.
-
- \section2 Range of Valid Dates
-
- The range of valid dates is from January 2nd, 4713 BCE, to
- sometime in the year 11 million CE. The Julian Day returned by
- QDate::toJulianDay() is a number in the contiguous range from 1 to
- \e{overflow}, even across QDateTime's "date holes". It is suitable
- for use in applications that must convert a QDateTime to a date in
- another calendar system, e.g., Hebrew, Islamic or Chinese.
-
- \sa QTime, QDateTime, QDateEdit, QDateTimeEdit, QCalendarWidget
-*/
-
-/*!
- \fn QDate::QDate()
-
- Constructs a null date. Null dates are invalid.
-
- \sa isNull(), isValid()
-*/
-
-/*!
- Constructs a date with year \a y, month \a m and day \a d.
-
- If the specified date is invalid, the date is not set and
- isValid() returns false. A date before 2 January 4713 B.C. is
- considered invalid.
-
- \warning Years 0 to 99 are interpreted as is, i.e., years
- 0-99.
-
- \sa isValid()
-*/
-
-QDate::QDate(int y, int m, int d)
-{
- setDate(y, m, d);
-}
-
-
-/*!
- \fn bool QDate::isNull() const
-
- Returns true if the date is null; otherwise returns false. A null
- date is invalid.
-
- \note The behavior of this function is equivalent to isValid().
-
- \sa isValid()
-*/
-
-
-/*!
- Returns true if this date is valid; otherwise returns false.
-
- \sa isNull()
-*/
-
-bool QDate::isValid() const
-{
- return !isNull();
-}
-
-
-/*!
- Returns the year of this date. Negative numbers indicate years
- before 1 A.D. = 1 C.E., such that year -44 is 44 B.C.
-
- \sa month(), day()
-*/
-
-int QDate::year() const
-{
- int y;
- getDateFromJulianDay(jd, &y, 0, 0);
- return y;
-}
-
-/*!
- Returns the number corresponding to the month of this date, using
- the following convention:
-
- \list
- \i 1 = "January"
- \i 2 = "February"
- \i 3 = "March"
- \i 4 = "April"
- \i 5 = "May"
- \i 6 = "June"
- \i 7 = "July"
- \i 8 = "August"
- \i 9 = "September"
- \i 10 = "October"
- \i 11 = "November"
- \i 12 = "December"
- \endlist
-
- \sa year(), day()
-*/
-
-int QDate::month() const
-{
- int m;
- getDateFromJulianDay(jd, 0, &m, 0);
- return m;
-}
-
-/*!
- Returns the day of the month (1 to 31) of this date.
-
- \sa year(), month(), dayOfWeek()
-*/
-
-int QDate::day() const
-{
- int d;
- getDateFromJulianDay(jd, 0, 0, &d);
- return d;
-}
-
-/*!
- Returns the weekday (1 = Monday to 7 = Sunday) for this date.
-
- \sa day(), dayOfYear(), Qt::DayOfWeek
-*/
-
-int QDate::dayOfWeek() const
-{
- return (jd % 7) + 1;
-}
-
-/*!
- Returns the day of the year (1 to 365 or 366 on leap years) for
- this date.
-
- \sa day(), dayOfWeek()
-*/
-
-int QDate::dayOfYear() const
-{
- return jd - julianDayFromDate(year(), 1, 1) + 1;
-}
-
-/*!
- Returns the number of days in the month (28 to 31) for this date.
-
- \sa day(), daysInYear()
-*/
-
-int QDate::daysInMonth() const
-{
- int y, m, d;
- getDateFromJulianDay(jd, &y, &m, &d);
- if (m == 2 && isLeapYear(y))
- return 29;
- else
- return monthDays[m];
-}
-
-/*!
- Returns the number of days in the year (365 or 366) for this date.
-
- \sa day(), daysInMonth()
-*/
-
-int QDate::daysInYear() const
-{
- int y, m, d;
- getDateFromJulianDay(jd, &y, &m, &d);
- return isLeapYear(y) ? 366 : 365;
-}
-
-/*!
- Returns the week number (1 to 53), and stores the year in
- *\a{yearNumber} unless \a yearNumber is null (the default).
-
- Returns 0 if the date is invalid.
-
- In accordance with ISO 8601, weeks start on Monday and the first
- Thursday of a year is always in week 1 of that year. Most years
- have 52 weeks, but some have 53.
-
- *\a{yearNumber} is not always the same as year(). For example, 1
- January 2000 has week number 52 in the year 1999, and 31 December
- 2002 has week number 1 in the year 2003.
-
- \sa isValid()
-*/
-
-int QDate::weekNumber(int *yearNumber) const
-{
- if (!isValid())
- return 0;
-
- int year = QDate::year();
- int yday = dayOfYear();
- int wday = dayOfWeek();
-
- int week = (yday - wday + 10) / 7;
-
- if (week == 0) {
- // last week of previous year
- --year;
- week = (yday + 365 + (QDate::isLeapYear(year) ? 1 : 0) - wday + 10) / 7;
- Q_ASSERT(week == 52 || week == 53);
- } else if (week == 53) {
- // maybe first week of next year
- int w = (yday - 365 - (QDate::isLeapYear(year + 1) ? 1 : 0) - wday + 10) / 7;
- if (w > 0) {
- ++year;
- week = w;
- }
- Q_ASSERT(week == 53 || week == 1);
- }
-
- if (yearNumber != 0)
- *yearNumber = year;
- return week;
-}
-
-#ifndef QT_NO_TEXTDATE
-/*!
- \since 4.5
-
- Returns the short name of the \a month for the representation specified
- by \a type.
-
- The months are enumerated using the following convention:
-
- \list
- \i 1 = "Jan"
- \i 2 = "Feb"
- \i 3 = "Mar"
- \i 4 = "Apr"
- \i 5 = "May"
- \i 6 = "Jun"
- \i 7 = "Jul"
- \i 8 = "Aug"
- \i 9 = "Sep"
- \i 10 = "Oct"
- \i 11 = "Nov"
- \i 12 = "Dec"
- \endlist
-
- The month names will be localized according to the system's default
- locale settings.
-
- \sa toString(), longMonthName(), shortDayName(), longDayName()
-*/
-
-QString QDate::shortMonthName(int month, QDate::MonthNameType type)
-{
- if (month < 1 || month > 12) {
- month = 1;
- }
- switch (type) {
- case QDate::DateFormat:
- return QLocale::system().monthName(month, QLocale::ShortFormat);
- case QDate::StandaloneFormat:
- return QLocale::system().standaloneMonthName(month, QLocale::ShortFormat);
- default:
- break;
- }
- return QString();
-}
-
-/*!
- Returns the short version of the name of the \a month. The
- returned name is in normal type which can be used for date formatting.
-
- \sa toString(), longMonthName(), shortDayName(), longDayName()
- */
-
-QString QDate::shortMonthName(int month)
-{
- return shortMonthName(month, QDate::DateFormat);
-}
-
-/*!
- \since 4.5
-
- Returns the long name of the \a month for the representation specified
- by \a type.
-
- The months are enumerated using the following convention:
-
- \list
- \i 1 = "January"
- \i 2 = "February"
- \i 3 = "March"
- \i 4 = "April"
- \i 5 = "May"
- \i 6 = "June"
- \i 7 = "July"
- \i 8 = "August"
- \i 9 = "September"
- \i 10 = "October"
- \i 11 = "November"
- \i 12 = "December"
- \endlist
-
- The month names will be localized according to the system's default
- locale settings.
-
- \sa toString(), shortMonthName(), shortDayName(), longDayName()
-*/
-
-QString QDate::longMonthName(int month, MonthNameType type)
-{
- if (month < 1 || month > 12) {
- month = 1;
- }
- switch (type) {
- case QDate::DateFormat:
- return QLocale::system().monthName(month, QLocale::LongFormat);
- case QDate::StandaloneFormat:
- return QLocale::system().standaloneMonthName(month, QLocale::LongFormat);
- default:
- break;
- }
- return QString();
-}
-
-/*!
- Returns the long version of the name of the \a month. The
- returned name is in normal type which can be used for date formatting.
-
- \sa toString(), shortMonthName(), shortDayName(), longDayName()
- */
-
-QString QDate::longMonthName(int month)
-{
- if (month < 1 || month > 12) {
- month = 1;
- }
- return QLocale::system().monthName(month, QLocale::LongFormat);
-}
-
-/*!
- \since 4.5
-
- Returns the short name of the \a weekday for the representation specified
- by \a type.
-
- The days are enumerated using the following convention:
-
- \list
- \i 1 = "Mon"
- \i 2 = "Tue"
- \i 3 = "Wed"
- \i 4 = "Thu"
- \i 5 = "Fri"
- \i 6 = "Sat"
- \i 7 = "Sun"
- \endlist
-
- The day names will be localized according to the system's default
- locale settings.
-
- \sa toString(), shortMonthName(), longMonthName(), longDayName()
-*/
-
-QString QDate::shortDayName(int weekday, MonthNameType type)
-{
- if (weekday < 1 || weekday > 7) {
- weekday = 1;
- }
- switch (type) {
- case QDate::DateFormat:
- return QLocale::system().dayName(weekday, QLocale::ShortFormat);
- case QDate::StandaloneFormat:
- return QLocale::system().standaloneDayName(weekday, QLocale::ShortFormat);
- default:
- break;
- }
- return QString();
-}
-
-/*!
- Returns the short version of the name of the \a weekday. The
- returned name is in normal type which can be used for date formatting.
-
- \sa toString(), longDayName(), shortMonthName(), longMonthName()
- */
-
-QString QDate::shortDayName(int weekday)
-{
- if (weekday < 1 || weekday > 7) {
- weekday = 1;
- }
- return QLocale::system().dayName(weekday, QLocale::ShortFormat);
-}
-
-/*!
- \since 4.5
-
- Returns the long name of the \a weekday for the representation specified
- by \a type.
-
- The days are enumerated using the following convention:
-
- \list
- \i 1 = "Monday"
- \i 2 = "Tuesday"
- \i 3 = "Wednesday"
- \i 4 = "Thursday"
- \i 5 = "Friday"
- \i 6 = "Saturday"
- \i 7 = "Sunday"
- \endlist
-
- The day names will be localized according to the system's default
- locale settings.
-
- \sa toString(), shortDayName(), shortMonthName(), longMonthName()
-*/
-
-QString QDate::longDayName(int weekday, MonthNameType type)
-{
- if (weekday < 1 || weekday > 7) {
- weekday = 1;
- }
- switch (type) {
- case QDate::DateFormat:
- return QLocale::system().dayName(weekday, QLocale::LongFormat);
- case QDate::StandaloneFormat:
- return QLocale::system().standaloneDayName(weekday, QLocale::LongFormat);
- default:
- break;
- }
- return QLocale::system().dayName(weekday, QLocale::LongFormat);
-}
-
-/*!
- Returns the long version of the name of the \a weekday. The
- returned name is in normal type which can be used for date formatting.
-
- \sa toString(), shortDayName(), shortMonthName(), longMonthName()
- */
-
-QString QDate::longDayName(int weekday)
-{
- if (weekday < 1 || weekday > 7) {
- weekday = 1;
- }
- return QLocale::system().dayName(weekday, QLocale::LongFormat);
-}
-#endif //QT_NO_TEXTDATE
-
-#ifndef QT_NO_DATESTRING
-
-/*!
- \fn QString QDate::toString(Qt::DateFormat format) const
-
- \overload
-
- Returns the date as a string. The \a format parameter determines
- the format of the string.
-
- If the \a format is Qt::TextDate, the string is formatted in
- the default way. QDate::shortDayName() and QDate::shortMonthName()
- are used to generate the string, so the day and month names will
- be localized names using the default locale from the system. An
- example of this formatting is "Sat May 20 1995".
-
- If the \a format is Qt::ISODate, the string format corresponds
- to the ISO 8601 extended specification for representations of
- dates and times, taking the form YYYY-MM-DD, where YYYY is the
- year, MM is the month of the year (between 01 and 12), and DD is
- the day of the month between 01 and 31.
-
- If the \a format is Qt::SystemLocaleShortDate or
- Qt::SystemLocaleLongDate, the string format depends on the locale
- settings of the system. Identical to calling
- QLocale::system().toString(date, QLocale::ShortFormat) or
- QLocale::system().toString(date, QLocale::LongFormat).
-
- If the \a format is Qt::DefaultLocaleShortDate or
- Qt::DefaultLocaleLongDate, the string format depends on the
- default application locale. This is the locale set with
- QLocale::setDefault(), or the system locale if no default locale
- has been set. Identical to calling QLocale().toString(date,
- QLocale::ShortFormat) or QLocale().toString(date,
- QLocale::LongFormat).
-
- If the date is invalid, an empty string will be returned.
-
- \warning The Qt::ISODate format is only valid for years in the
- range 0 to 9999. This restriction may apply to locale-aware
- formats as well, depending on the locale settings.
-
- \sa shortDayName(), shortMonthName()
-*/
-QString QDate::toString(Qt::DateFormat f) const
-{
- if (!isValid())
- return QString();
- int y, m, d;
- getDateFromJulianDay(jd, &y, &m, &d);
- switch (f) {
- case Qt::SystemLocaleDate:
- case Qt::SystemLocaleShortDate:
- case Qt::SystemLocaleLongDate:
- return QLocale::system().toString(*this, f == Qt::SystemLocaleLongDate ? QLocale::LongFormat
- : QLocale::ShortFormat);
- case Qt::LocaleDate:
- case Qt::DefaultLocaleShortDate:
- case Qt::DefaultLocaleLongDate:
- return QLocale().toString(*this, f == Qt::DefaultLocaleLongDate ? QLocale::LongFormat
- : QLocale::ShortFormat);
- default:
-#ifndef QT_NO_TEXTDATE
- case Qt::TextDate:
- {
- return QString::fromLatin1("%0 %1 %2 %3")
- .arg(shortDayName(dayOfWeek()))
- .arg(shortMonthName(m))
- .arg(d)
- .arg(y);
- }
-#endif
- case Qt::ISODate:
- {
- if (year() < 0 || year() > 9999)
- return QString();
- QString month(QString::number(m).rightJustified(2, QLatin1Char('0')));
- QString day(QString::number(d).rightJustified(2, QLatin1Char('0')));
- return QString::number(y) + QLatin1Char('-') + month + QLatin1Char('-') + day;
- }
- }
-}
-
-/*!
- Returns the date as a string. The \a format parameter determines
- the format of the result string.
-
- These expressions may be used:
-
- \table
- \header \i Expression \i Output
- \row \i d \i the day as number without a leading zero (1 to 31)
- \row \i dd \i the day as number with a leading zero (01 to 31)
- \row \i ddd
- \i the abbreviated localized day name (e.g. 'Mon' to 'Sun').
- Uses QDate::shortDayName().
- \row \i dddd
- \i the long localized day name (e.g. 'Monday' to 'Sunday').
- Uses QDate::longDayName().
- \row \i M \i the month as number without a leading zero (1 to 12)
- \row \i MM \i the month as number with a leading zero (01 to 12)
- \row \i MMM
- \i the abbreviated localized month name (e.g. 'Jan' to 'Dec').
- Uses QDate::shortMonthName().
- \row \i MMMM
- \i the long localized month name (e.g. 'January' to 'December').
- Uses QDate::longMonthName().
- \row \i yy \i the year as two digit number (00 to 99)
- \row \i yyyy \i the year as four digit number. If the year is negative,
- a minus sign is prepended in addition.
- \endtable
-
- All other input characters will be ignored. Any sequence of characters that
- are enclosed in singlequotes will be treated as text and not be used as an
- expression. Two consecutive singlequotes ("''") are replaced by a singlequote
- in the output.
-
- Example format strings (assuming that the QDate is the 20 July
- 1969):
-
- \table
- \header \o Format \o Result
- \row \o dd.MM.yyyy \o 20.07.1969
- \row \o ddd MMMM d yy \o Sun July 20 69
- \row \o 'The day is' dddd \o The day is Sunday
- \endtable
-
- If the datetime is invalid, an empty string will be returned.
-
- \warning The Qt::ISODate format is only valid for years in the
- range 0 to 9999. This restriction may apply to locale-aware
- formats as well, depending on the locale settings.
-
- \sa QDateTime::toString() QTime::toString()
-
-*/
-QString QDate::toString(const QString& format) const
-{
- if (year() > 9999)
- return QString();
- return fmtDateTime(format, 0, this);
-}
-#endif //QT_NO_DATESTRING
-
-/*!
- \obsolete
-
- Sets the date's year \a y, month \a m, and day \a d.
-
- If \a y is in the range 0 to 99, it is interpreted as 1900 to
- 1999.
-
- Use setDate() instead.
-*/
-
-bool QDate::setYMD(int y, int m, int d)
-{
- if (uint(y) <= 99)
- y += 1900;
- return setDate(y, m, d);
-}
-
-/*!
- \since 4.2
-
- Sets the date's \a year, \a month, and \a day. Returns true if
- the date is valid; otherwise returns false.
-
- If the specified date is invalid, the QDate object is set to be
- invalid. Any date before 2 January 4713 B.C. is considered
- invalid.
-
- \sa isValid()
-*/
-bool QDate::setDate(int year, int month, int day)
-{
- if (!isValid(year, month, day)) {
- jd = 0;
- } else {
- jd = julianDayFromDate(year, month, day);
- }
- return jd != 0;
-}
-
-/*!
- \since 4.5
-
- Extracts the date's year, month, and day, and assigns them to
- *\a year, *\a month, and *\a day. The pointers may be null.
-
- \sa year(), month(), day(), isValid()
-*/
-void QDate::getDate(int *year, int *month, int *day)
-{
- getDateFromJulianDay(jd, year, month, day);
-}
-
-/*!
- Returns a QDate object containing a date \a ndays later than the
- date of this object (or earlier if \a ndays is negative).
-
- \sa addMonths() addYears() daysTo()
-*/
-
-QDate QDate::addDays(int ndays) const
-{
- QDate d;
- // this is basically "d.jd = jd + ndays" with checks for integer overflow
- if (ndays >= 0)
- d.jd = (jd + ndays >= jd) ? jd + ndays : 0;
- else
- d.jd = (jd + ndays < jd) ? jd + ndays : 0;
- return d;
-}
-
-/*!
- Returns a QDate object containing a date \a nmonths later than the
- date of this object (or earlier if \a nmonths is negative).
-
- \note If the ending day/month combination does not exist in the
- resulting month/year, this function will return a date that is the
- latest valid date.
-
- \warning QDate has a date hole around the days introducing the
- Gregorian calendar (the days 5 to 14 October 1582, inclusive, do
- not exist). If the calculation ends in one of those days, QDate
- will return either October 4 or October 15.
-
- \sa addDays() addYears()
-*/
-
-QDate QDate::addMonths(int nmonths) const
-{
- if (!isValid())
- return QDate();
- if (!nmonths)
- return *this;
-
- int old_y, y, m, d;
- getDateFromJulianDay(jd, &y, &m, &d);
- old_y = y;
-
- bool increasing = nmonths > 0;
-
- while (nmonths != 0) {
- if (nmonths < 0 && nmonths + 12 <= 0) {
- y--;
- nmonths+=12;
- } else if (nmonths < 0) {
- m+= nmonths;
- nmonths = 0;
- if (m <= 0) {
- --y;
- m += 12;
- }
- } else if (nmonths - 12 >= 0) {
- y++;
- nmonths -= 12;
- } else if (m == 12) {
- y++;
- m = 0;
- } else {
- m += nmonths;
- nmonths = 0;
- if (m > 12) {
- ++y;
- m -= 12;
- }
- }
- }
-
- // was there a sign change?
- if ((old_y > 0 && y <= 0) ||
- (old_y < 0 && y >= 0))
- // yes, adjust the date by +1 or -1 years
- y += increasing ? +1 : -1;
-
- // did we end up in the Gregorian/Julian conversion hole?
- if (y == 1582 && m == 10 && d > 4 && d < 15)
- d = increasing ? 15 : 4;
-
- return fixedDate(y, m, d);
-}
-
-/*!
- Returns a QDate object containing a date \a nyears later than the
- date of this object (or earlier if \a nyears is negative).
-
- \note If the ending day/month combination does not exist in the
- resulting year (i.e., if the date was Feb 29 and the final year is
- not a leap year), this function will return a date that is the
- latest valid date (that is, Feb 28).
-
- \sa addDays(), addMonths()
-*/
-
-QDate QDate::addYears(int nyears) const
-{
- if (!isValid())
- return QDate();
-
- int y, m, d;
- getDateFromJulianDay(jd, &y, &m, &d);
-
- int old_y = y;
- y += nyears;
-
- // was there a sign change?
- if ((old_y > 0 && y <= 0) ||
- (old_y < 0 && y >= 0))
- // yes, adjust the date by +1 or -1 years
- y += nyears > 0 ? +1 : -1;
-
- return fixedDate(y, m, d);
-}
-
-/*!
- Returns the number of days from this date to \a d (which is
- negative if \a d is earlier than this date).
-
- Example:
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 0
-
- \sa addDays()
-*/
-
-int QDate::daysTo(const QDate &d) const
-{
- return d.jd - jd;
-}
-
-
-/*!
- \fn bool QDate::operator==(const QDate &d) const
-
- Returns true if this date is equal to \a d; otherwise returns
- false.
-
-*/
-
-/*!
- \fn bool QDate::operator!=(const QDate &d) const
-
- Returns true if this date is different from \a d; otherwise
- returns false.
-*/
-
-/*!
- \fn bool QDate::operator<(const QDate &d) const
-
- Returns true if this date is earlier than \a d; otherwise returns
- false.
-*/
-
-/*!
- \fn bool QDate::operator<=(const QDate &d) const
-
- Returns true if this date is earlier than or equal to \a d;
- otherwise returns false.
-*/
-
-/*!
- \fn bool QDate::operator>(const QDate &d) const
-
- Returns true if this date is later than \a d; otherwise returns
- false.
-*/
-
-/*!
- \fn bool QDate::operator>=(const QDate &d) const
-
- Returns true if this date is later than or equal to \a d;
- otherwise returns false.
-*/
-
-/*!
- \fn QDate::currentDate()
- Returns the current date, as reported by the system clock.
-
- \sa QTime::currentTime(), QDateTime::currentDateTime()
-*/
-
-#ifndef QT_NO_DATESTRING
-/*!
- \fn QDate QDate::fromString(const QString &string, Qt::DateFormat format)
-
- Returns the QDate represented by the \a string, using the
- \a format given, or an invalid date if the string cannot be
- parsed.
-
- Note for Qt::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.
-*/
-QDate QDate::fromString(const QString& s, Qt::DateFormat f)
-{
- if (s.isEmpty())
- return QDate();
-
- switch (f) {
- case Qt::ISODate:
- {
- int year(s.mid(0, 4).toInt());
- int month(s.mid(5, 2).toInt());
- int day(s.mid(8, 2).toInt());
- if (year && month && day)
- return QDate(year, month, day);
- }
- break;
- case Qt::SystemLocaleDate:
- case Qt::SystemLocaleShortDate:
- case Qt::SystemLocaleLongDate:
- return fromString(s, QLocale::system().dateFormat(f == Qt::SystemLocaleLongDate ? QLocale::LongFormat
- : QLocale::ShortFormat));
- case Qt::LocaleDate:
- case Qt::DefaultLocaleShortDate:
- case Qt::DefaultLocaleLongDate:
- return fromString(s, QLocale().dateFormat(f == Qt::DefaultLocaleLongDate ? QLocale::LongFormat
- : QLocale::ShortFormat));
- default:
-#ifndef QT_NO_TEXTDATE
- case Qt::TextDate: {
- QStringList parts = s.split(QLatin1Char(' '), QString::SkipEmptyParts);
-
- if (parts.count() != 4) {
- return QDate();
- }
-
- QString monthName = parts.at(1);
- int month = -1;
- // Assume that English monthnames are the default
- for (int i = 0; i < 12; ++i) {
- if (monthName == QLatin1String(qt_shortMonthNames[i])) {
- month = i + 1;
- break;
- }
- }
- // If English names can't be found, search the localized ones
- if (month == -1) {
- for (int i = 1; i <= 12; ++i) {
- if (monthName == QDate::shortMonthName(i)) {
- month = i;
- break;
- }
- }
- }
- if (month < 1 || month > 12) {
- return QDate();
- }
-
- bool ok;
- int day = parts.at(2).toInt(&ok);
- if (!ok) {
- return QDate();
- }
-
- int year = parts.at(3).toInt(&ok);
- if (!ok) {
- return QDate();
- }
-
- return QDate(year, month, day);
- }
-#else
- break;
-#endif
- }
- return QDate();
-}
-
-/*!
- \fn QDate::fromString(const QString &string, const QString &format)
-
- Returns the QDate represented by the \a string, using the \a
- format given, or an invalid date if the string cannot be parsed.
-
- These expressions may be used for the format:
-
- \table
- \header \i Expression \i Output
- \row \i d \i The day as a number without a leading zero (1 to 31)
- \row \i dd \i The day as a number with a leading zero (01 to 31)
- \row \i ddd
- \i The abbreviated localized day name (e.g. 'Mon' to 'Sun').
- Uses QDate::shortDayName().
- \row \i dddd
- \i The long localized day name (e.g. 'Monday' to 'Sunday').
- Uses QDate::longDayName().
- \row \i M \i The month as a number without a leading zero (1 to 12)
- \row \i MM \i The month as a number with a leading zero (01 to 12)
- \row \i MMM
- \i The abbreviated localized month name (e.g. 'Jan' to 'Dec').
- Uses QDate::shortMonthName().
- \row \i MMMM
- \i The long localized month name (e.g. 'January' to 'December').
- Uses QDate::longMonthName().
- \row \i yy \i The year as two digit number (00 to 99)
- \row \i yyyy \i The year as four digit number. If the year is negative,
- a minus sign is prepended in addition.
- \endtable
-
- All other input characters will be treated as text. Any sequence
- of characters that are enclosed in single quotes will also be
- treated as text and will not be used as an expression. For example:
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 1
-
- If the format is not satisfied, an invalid QDate is returned. The
- expressions that don't expect leading zeroes (d, M) will be
- greedy. This means that they will use two digits even if this
- will put them outside the accepted range of values and leaves too
- few digits for other sections. For example, the following format
- string could have meant January 30 but the M will grab two
- digits, resulting in an invalid date:
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 2
-
- For any field that is not represented in the format the following
- defaults are used:
-
- \table
- \header \i Field \i Default value
- \row \i Year \i 1900
- \row \i Month \i 1
- \row \i Day \i 1
- \endtable
-
- The following examples demonstrate the default values:
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 3
-
- \sa QDateTime::fromString(), QTime::fromString(), QDate::toString(),
- QDateTime::toString(), QTime::toString()
-*/
-
-QDate QDate::fromString(const QString &string, const QString &format)
-{
- QDate date;
-#ifndef QT_BOOTSTRAPPED
- QDateTimeParser dt(QVariant::Date, QDateTimeParser::FromString);
- if (dt.parseFormat(format))
- dt.fromString(string, &date, 0);
-#else
- Q_UNUSED(string);
- Q_UNUSED(format);
-#endif
- return date;
-}
-#endif // QT_NO_DATESTRING
-
-/*!
- \overload
-
- Returns true if the specified date (\a year, \a month, and \a
- day) is valid; otherwise returns false.
-
- Example:
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 4
-
- \sa isNull(), setDate()
-*/
-
-bool QDate::isValid(int year, int month, int day)
-{
- if (year < FIRST_YEAR
- || (year == FIRST_YEAR &&
- (month < FIRST_MONTH
- || (month == FIRST_MONTH && day < FIRST_DAY)))
- || year == 0) // there is no year 0 in the Julian calendar
- return false;
-
- // passage from Julian to Gregorian calendar
- if (year == 1582 && month == 10 && day > 4 && day < 15)
- return 0;
-
- return (day > 0 && month > 0 && month <= 12) &&
- (day <= monthDays[month] || (day == 29 && month == 2 && isLeapYear(year)));
-}
-
-/*!
- \fn bool QDate::isLeapYear(int year)
-
- Returns true if the specified \a year is a leap year; otherwise
- returns false.
-*/
-
-bool QDate::isLeapYear(int y)
-{
- if (y < 1582) {
- if ( y < 1) { // No year 0 in Julian calendar, so -1, -5, -9 etc are leap years
- ++y;
- }
- return y % 4 == 0;
- } else {
- return (y % 4 == 0 && y % 100 != 0) || y % 400 == 0;
- }
-}
-
-/*!
- \internal
-
- This function has a confusing name and shouldn't be part of the
- API anyway, since we have toJulian() and fromJulian().
- ### Qt 5: remove it
-*/
-uint QDate::gregorianToJulian(int y, int m, int d)
-{
- return julianDayFromDate(y, m, d);
-}
-
-/*!
- \internal
-
- This function has a confusing name and shouldn't be part of the
- API anyway, since we have toJulian() and fromJulian().
- ### Qt 5: remove it
-*/
-void QDate::julianToGregorian(uint jd, int &y, int &m, int &d)
-{
- getDateFromJulianDay(jd, &y, &m, &d);
-}
-
-/*! \fn static QDate QDate::fromJulianDay(int jd)
-
- Converts the Julian day \a jd to a QDate.
-
- \sa toJulianDay()
-*/
-
-/*! \fn int QDate::toJulianDay() const
-
- Converts the date to a Julian day.
-
- \sa fromJulianDay()
-*/
-
-/*****************************************************************************
- QTime member functions
- *****************************************************************************/
-
-/*!
- \class QTime
- \reentrant
-
- \brief The QTime class provides clock time functions.
-
-
- 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 milliseconds.
-
- QTime uses the 24-hour clock format; it has no concept of AM/PM.
- Unlike QDateTime, QTime knows nothing about time zones or
- daylight savings time (DST).
-
- 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 local time. Note that the
- accuracy depends on the accuracy of the underlying operating
- system; not all systems provide 1-millisecond accuracy.
-
- 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.
-
- 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.
-
- 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 seconds or milliseconds
- between two times can be found using secsTo() or msecsTo().
-
- QTime can be used to measure a span of elapsed time using the
- start(), restart(), and elapsed() functions.
-
- \sa QDate, QDateTime
-*/
-
-/*!
- \fn QTime::QTime()
-
- Constructs a null time object. A null time can be a QTime(0, 0, 0, 0)
- (i.e., midnight) object, except that isNull() returns true and isValid()
- returns false.
-
- \sa isNull(), isValid()
-*/
-
-/*!
- Constructs a time with hour \a h, minute \a m, seconds \a s and
- milliseconds \a ms.
-
- \a h must be in the range 0 to 23, \a m and \a s must be in the
- range 0 to 59, and \a ms must be in the range 0 to 999.
-
- \sa isValid()
-*/
-
-QTime::QTime(int h, int m, int s, int ms)
-{
- setHMS(h, m, s, ms);
-}
-
-
-/*!
- \fn bool QTime::isNull() const
-
- Returns true if the time is null (i.e., the QTime object was
- constructed using the default constructor); otherwise returns
- false. A null time is also an invalid time.
-
- \sa isValid()
-*/
-
-/*!
- Returns true if the time is valid; otherwise returns false. For example,
- the time 23:30:55.746 is valid, but 24:12:30 is invalid.
-
- \sa isNull()
-*/
-
-bool QTime::isValid() const
-{
- return mds > NullTime && mds < MSECS_PER_DAY;
-}
-
-
-/*!
- Returns the hour part (0 to 23) of the time.
-
- \sa minute(), second(), msec()
-*/
-
-int QTime::hour() const
-{
- return ds() / MSECS_PER_HOUR;
-}
-
-/*!
- Returns the minute part (0 to 59) of the time.
-
- \sa hour(), second(), msec()
-*/
-
-int QTime::minute() const
-{
- return (ds() % MSECS_PER_HOUR) / MSECS_PER_MIN;
-}
-
-/*!
- Returns the second part (0 to 59) of the time.
-
- \sa hour(), minute(), msec()
-*/
-
-int QTime::second() const
-{
- return (ds() / 1000)%SECS_PER_MIN;
-}
-
-/*!
- Returns the millisecond part (0 to 999) of the time.
-
- \sa hour(), minute(), second()
-*/
-
-int QTime::msec() const
-{
- return ds() % 1000;
-}
-
-#ifndef QT_NO_DATESTRING
-/*!
- \overload
-
- Returns the time as a string. Milliseconds are not included. The
- \a format parameter determines the format of the string.
-
- If \a format is Qt::TextDate, the string format is HH:mm:ss; e.g. 1
- second before midnight would be "23:59:59".
-
- If \a format is Qt::ISODate, the string format corresponds to the
- ISO 8601 extended specification for representations of dates,
- which is also HH:mm:ss. (However, contrary to ISO 8601, dates
- before 15 October 1582 are handled as Julian dates, not Gregorian
- dates. See \l{QDate G and J} {Use of Gregorian and Julian
- Calendars}. This might change in a future version of Qt.)
-
- If the \a format is Qt::SystemLocaleShortDate or
- Qt::SystemLocaleLongDate, the string format depends on the locale
- settings of the system. Identical to calling
- QLocale::system().toString(time, QLocale::ShortFormat) or
- QLocale::system().toString(time, QLocale::LongFormat).
-
- If the \a format is Qt::DefaultLocaleShortDate or
- Qt::DefaultLocaleLongDate, the string format depends on the
- default application locale. This is the locale set with
- QLocale::setDefault(), or the system locale if no default locale
- has been set. Identical to calling QLocale().toString(time,
- QLocale::ShortFormat) or QLocale().toString(time,
- QLocale::LongFormat).
-
- If the time is invalid, an empty string will be returned.
-*/
-
-QString QTime::toString(Qt::DateFormat format) const
-{
- if (!isValid())
- return QString();
-
- switch (format) {
- case Qt::SystemLocaleDate:
- case Qt::SystemLocaleShortDate:
- case Qt::SystemLocaleLongDate:
- return QLocale::system().toString(*this, format == Qt::SystemLocaleLongDate ? QLocale::LongFormat
- : QLocale::ShortFormat);
- case Qt::LocaleDate:
- case Qt::DefaultLocaleShortDate:
- case Qt::DefaultLocaleLongDate:
- return QLocale().toString(*this, format == Qt::DefaultLocaleLongDate ? QLocale::LongFormat
- : QLocale::ShortFormat);
-
- default:
- case Qt::ISODate:
- case Qt::TextDate:
- return QString::fromLatin1("%1:%2:%3")
- .arg(hour(), 2, 10, QLatin1Char('0'))
- .arg(minute(), 2, 10, QLatin1Char('0'))
- .arg(second(), 2, 10, QLatin1Char('0'));
- }
-}
-
-/*!
- Returns the time as a string. The \a format parameter determines
- the format of the result string.
-
- These expressions may be used:
-
- \table
- \header \i Expression \i Output
- \row \i h
- \i the hour without a leading zero (0 to 23 or 1 to 12 if AM/PM display)
- \row \i hh
- \i the hour with a leading zero (00 to 23 or 01 to 12 if AM/PM display)
- \row \i H
- \i the hour without a leading zero (0 to 23, even with AM/PM display)
- \row \i HH
- \i the hour with a leading zero (00 to 23, even with AM/PM display)
- \row \i m \i the minute without a leading zero (0 to 59)
- \row \i mm \i the minute with a leading zero (00 to 59)
- \row \i s \i the second without a leading zero (0 to 59)
- \row \i ss \i the second with a leading zero (00 to 59)
- \row \i z \i the milliseconds without leading zeroes (0 to 999)
- \row \i zzz \i the milliseconds with leading zeroes (000 to 999)
- \row \i AP or A
- \i use AM/PM display. \e AP will be replaced by either "AM" or "PM".
- \row \i ap or a
- \i use am/pm display. \e ap will be replaced by either "am" or "pm".
- \row \i t \i the timezone (for example "CEST")
- \endtable
-
- All other input characters will be ignored. Any sequence of characters that
- are enclosed in singlequotes will be treated as text and not be used as an
- expression. Two consecutive singlequotes ("''") are replaced by a singlequote
- in the output.
-
- Example format strings (assuming that the QTime is 14:13:09.042)
-
- \table
- \header \i Format \i Result
- \row \i hh:mm:ss.zzz \i 14:13:09.042
- \row \i h:m:s ap \i 2:13:9 pm
- \row \i H:m:s a \i 14:13:9 pm
- \endtable
-
- If the datetime is invalid, an empty string will be returned.
- If \a format is empty, the default format "hh:mm:ss" is used.
-
- \sa QDate::toString() QDateTime::toString()
-*/
-QString QTime::toString(const QString& format) const
-{
- return fmtDateTime(format, this, 0);
-}
-#endif //QT_NO_DATESTRING
-/*!
- Sets the time to hour \a h, minute \a m, seconds \a s and
- milliseconds \a ms.
-
- \a h must be in the range 0 to 23, \a m and \a s must be in the
- range 0 to 59, and \a ms must be in the range 0 to 999.
- Returns true if the set time is valid; otherwise returns false.
-
- \sa isValid()
-*/
-
-bool QTime::setHMS(int h, int m, int s, int ms)
-{
-#if defined(Q_OS_WINCE)
- startTick = NullTime;
-#endif
- if (!isValid(h,m,s,ms)) {
- mds = NullTime; // make this invalid
- return false;
- }
- mds = (h*SECS_PER_HOUR + m*SECS_PER_MIN + s)*1000 + ms;
- return true;
-}
-
-/*!
- Returns a QTime object containing a time \a s seconds later
- than the time of this object (or earlier if \a s is negative).
-
- Note that the time will wrap if it passes midnight.
-
- Example:
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 5
-
- \sa addMSecs(), secsTo(), QDateTime::addSecs()
-*/
-
-QTime QTime::addSecs(int s) const
-{
- return addMSecs(s * 1000);
-}
-
-/*!
- Returns the number of seconds from this time to \a t.
- If \a t is earlier than this time, the number of seconds returned
- is negative.
-
- Because QTime measures time within a day and there are 86400
- seconds in a day, the result is always between -86400 and 86400.
-
- secsTo() does not take into account any milliseconds.
-
- \sa addSecs(), QDateTime::secsTo()
-*/
-
-int QTime::secsTo(const QTime &t) const
-{
- return (t.ds() - ds()) / 1000;
-}
-
-/*!
- Returns a QTime object containing a time \a ms milliseconds later
- than the time of this object (or earlier if \a ms is negative).
-
- Note that the time will wrap if it passes midnight. See addSecs()
- for an example.
-
- \sa addSecs(), msecsTo(), QDateTime::addMSecs()
-*/
-
-QTime QTime::addMSecs(int ms) const
-{
- QTime t;
- if (ms < 0) {
- // % not well-defined for -ve, but / is.
- int negdays = (MSECS_PER_DAY - ms) / MSECS_PER_DAY;
- t.mds = (ds() + ms + negdays * MSECS_PER_DAY) % MSECS_PER_DAY;
- } else {
- t.mds = (ds() + ms) % MSECS_PER_DAY;
- }
-#if defined(Q_OS_WINCE)
- if (startTick > NullTime)
- t.startTick = (startTick + ms) % MSECS_PER_DAY;
-#endif
- return t;
-}
-
-/*!
- Returns the number of milliseconds from this time to \a t.
- If \a t is earlier than this time, the number of milliseconds returned
- is negative.
-
- Because QTime measures time within a day and there are 86400
- seconds in a day, the result is always between -86400000 and
- 86400000 ms.
-
- \sa secsTo(), addMSecs(), QDateTime::msecsTo()
-*/
-
-int QTime::msecsTo(const QTime &t) const
-{
-#if defined(Q_OS_WINCE)
- // GetLocalTime() for Windows CE has no milliseconds resolution
- if (t.startTick > NullTime && startTick > NullTime)
- return t.startTick - startTick;
- else
-#endif
- return t.ds() - ds();
-}
-
-
-/*!
- \fn bool QTime::operator==(const QTime &t) const
-
- Returns true if this time is equal to \a t; otherwise returns false.
-*/
-
-/*!
- \fn bool QTime::operator!=(const QTime &t) const
-
- Returns true if this time is different from \a t; otherwise returns false.
-*/
-
-/*!
- \fn bool QTime::operator<(const QTime &t) const
-
- Returns true if this time is earlier than \a t; otherwise returns false.
-*/
-
-/*!
- \fn bool QTime::operator<=(const QTime &t) const
-
- Returns true if this time is earlier than or equal to \a t;
- otherwise returns false.
-*/
-
-/*!
- \fn bool QTime::operator>(const QTime &t) const
-
- Returns true if this time is later than \a t; otherwise returns false.
-*/
-
-/*!
- \fn bool QTime::operator>=(const QTime &t) const
-
- Returns true if this time is later than or equal to \a t;
- otherwise returns false.
-*/
-
-/*!
- \fn QTime::currentTime()
-
- Returns the current time as reported by the system clock.
-
- Note that the accuracy depends on the accuracy of the underlying
- operating system; not all systems provide 1-millisecond accuracy.
-*/
-
-#ifndef QT_NO_DATESTRING
-/*!
- \fn QTime QTime::fromString(const QString &string, Qt::DateFormat format)
-
- Returns the time represented in the \a string as a QTime using the
- \a format given, or an invalid time if this is not possible.
-
- Note that fromString() uses a "C" locale encoded string to convert
- milliseconds to a float value. If the default locale is not "C",
- this may result in two conversion attempts (if the conversion
- fails for the default locale). This should be considered an
- implementation detail.
-*/
-QTime QTime::fromString(const QString& s, Qt::DateFormat f)
-{
- if (s.isEmpty()) {
- QTime t;
- t.mds = NullTime;
- return t;
- }
-
- switch (f) {
- case Qt::SystemLocaleDate:
- case Qt::SystemLocaleShortDate:
- case Qt::SystemLocaleLongDate:
- return fromString(s, QLocale::system().timeFormat(f == Qt::SystemLocaleLongDate ? QLocale::LongFormat
- : QLocale::ShortFormat));
- case Qt::LocaleDate:
- case Qt::DefaultLocaleShortDate:
- case Qt::DefaultLocaleLongDate:
- return fromString(s, QLocale().timeFormat(f == Qt::DefaultLocaleLongDate ? QLocale::LongFormat
- : QLocale::ShortFormat));
- default:
- {
- bool ok = true;
- const int hour(s.mid(0, 2).toInt(&ok));
- if (!ok)
- return QTime();
- const int minute(s.mid(3, 2).toInt(&ok));
- if (!ok)
- return QTime();
- const int second(s.mid(6, 2).toInt(&ok));
- if (!ok)
- return QTime();
- const QString msec_s(QLatin1String("0.") + s.mid(9, 4));
- const float msec(msec_s.toFloat(&ok));
- if (!ok)
- return QTime(hour, minute, second, 0);
- return QTime(hour, minute, second, qMin(qRound(msec * 1000.0), 999));
- }
- }
-}
-
-/*!
- \fn QTime::fromString(const QString &string, const QString &format)
-
- Returns the QTime represented by the \a string, using the \a
- format given, or an invalid time if the string cannot be parsed.
-
- These expressions may be used for the format:
-
- \table
- \header \i Expression \i Output
- \row \i h
- \i the hour without a leading zero (0 to 23 or 1 to 12 if AM/PM display)
- \row \i hh
- \i the hour with a leading zero (00 to 23 or 01 to 12 if AM/PM display)
- \row \i m \i the minute without a leading zero (0 to 59)
- \row \i mm \i the minute with a leading zero (00 to 59)
- \row \i s \i the second without a leading zero (0 to 59)
- \row \i ss \i the second with a leading zero (00 to 59)
- \row \i z \i the milliseconds without leading zeroes (0 to 999)
- \row \i zzz \i the milliseconds with leading zeroes (000 to 999)
- \row \i AP
- \i interpret as an AM/PM time. \e AP must be either "AM" or "PM".
- \row \i ap
- \i Interpret as an AM/PM time. \e ap must be either "am" or "pm".
- \endtable
-
- All other input characters will be treated as text. Any sequence
- of characters that are enclosed in single quotes will also be
- treated as text and not be used as an expression.
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 6
-
- If the format is not satisfied an invalid QTime is returned.
- Expressions that do not expect leading zeroes to be given (h, m, s
- and z) are greedy. This means that they will use two digits even if
- this puts them outside the range of accepted values and leaves too
- few digits for other sections. For example, the following string
- could have meant 00:07:10, but the m will grab two digits, resulting
- in an invalid time:
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 7
-
- Any field that is not represented in the format will be set to zero.
- For example:
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 8
-
- \sa QDateTime::fromString() QDate::fromString() QDate::toString()
- QDateTime::toString() QTime::toString()
-*/
-
-QTime QTime::fromString(const QString &string, const QString &format)
-{
- QTime time;
-#ifndef QT_BOOTSTRAPPED
- QDateTimeParser dt(QVariant::Time, QDateTimeParser::FromString);
- if (dt.parseFormat(format))
- dt.fromString(string, 0, &time);
-#else
- Q_UNUSED(string);
- Q_UNUSED(format);
-#endif
- return time;
-}
-
-#endif // QT_NO_DATESTRING
-
-
-/*!
- \overload
-
- Returns true if the specified time is valid; otherwise returns
- false.
-
- The time is valid if \a h is in the range 0 to 23, \a m and
- \a s are in the range 0 to 59, and \a ms is in the range 0 to 999.
-
- Example:
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 9
-*/
-
-bool QTime::isValid(int h, int m, int s, int ms)
-{
- return (uint)h < 24 && (uint)m < 60 && (uint)s < 60 && (uint)ms < 1000;
-}
-
-
-/*!
- Sets this time to the current time. This is practical for timing:
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 10
-
- \sa restart(), elapsed(), currentTime()
-*/
-
-void QTime::start()
-{
- *this = currentTime();
-}
-
-/*!
- 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.
-
- This function is guaranteed to be atomic and is thus very handy
- for repeated measurements. Call start() to start the first
- measurement, and restart() for each later measurement.
-
- Note that the counter wraps to zero 24 hours after the last call
- to start() or restart().
-
- \warning 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.
-
- \sa start(), elapsed(), currentTime()
-*/
-
-int QTime::restart()
-{
- QTime t = currentTime();
- int n = msecsTo(t);
- if (n < 0) // passed midnight
- n += 86400*1000;
- *this = t;
- return n;
-}
-
-/*!
- Returns the number of milliseconds that have elapsed since the
- last time start() or restart() was called.
-
- Note that the counter wraps to zero 24 hours after the last call
- to start() or restart.
-
- Note that the accuracy depends on the accuracy of the underlying
- operating system; not all systems provide 1-millisecond accuracy.
-
- \warning 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.
-
- \sa start(), restart()
-*/
-
-int QTime::elapsed() const
-{
- int n = msecsTo(currentTime());
- if (n < 0) // passed midnight
- n += 86400 * 1000;
- return n;
-}
-
-
-/*****************************************************************************
- QDateTime member functions
- *****************************************************************************/
-
-/*!
- \class QDateTime
- \reentrant
- \brief The QDateTime class provides date and time functions.
-
-
- 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 QDateTime object is typically created either by giving a date
- and time explicitly in the constructor, or by using the static
- function currentDateTime() that 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 that 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
- used to interpret the date within the string.
-
- 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.
-
- QDateTime provides a full set of operators to compare two
- QDateTime objects where smaller means earlier and larger means
- later.
-
- You can increment (or decrement) a datetime by a given number of
- milliseconds using addMSecs(), 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,
- secsTo() returns the number of seconds between two datetimes, and
- msecsTo() returns the number of milliseconds between two datetimes.
-
- QDateTime can store datetimes as \l{Qt::LocalTime}{local time} or
- as \l{Qt::UTC}{UTC}. QDateTime::currentDateTime() returns a
- QDateTime expressed as local time; use toUTC() to convert it to
- UTC. You can also use timeSpec() to find out if a QDateTime
- object stores a UTC time or a local time. Operations such as
- addSecs() and secsTo() are aware of daylight saving time (DST).
-
- \note QDateTime does not account for leap seconds.
-
- \section1
-
- \target QDateTime G and J
- \section2 Use of Gregorian and Julian Calendars
-
- QDate uses the Gregorian calendar in all locales, beginning
- on the date 15 October 1582. For dates up to and including 4
- October 1582, the Julian calendar is used. This means there is a
- 10-day gap in the internal calendar between the 4th and the 15th
- of October 1582. When you use QDateTime for dates in that epoch,
- the day after 4 October 1582 is 15 October 1582, and the dates in
- the gap are invalid.
-
- The Julian to Gregorian changeover date used here is the date when
- the Gregorian calendar was first introduced, by Pope Gregory
- XIII. That change was not universally accepted and some localities
- only executed it at a later date (if at all). QDateTime
- doesn't take any of these historical facts into account. If an
- application must support a locale-specific dating system, it must
- do so on its own, remembering to convert the dates using the
- Julian day.
-
- \section2 No Year 0
-
- There is no year 0. Dates in that year are considered invalid. The
- year -1 is the year "1 before Christ" or "1 before current era."
- The day before 0001-01-01 is December 31st, 1 BCE.
-
- \section2 Range of Valid Dates
-
- The range of valid dates is from January 2nd, 4713 BCE, to
- sometime in the year 11 million CE. The Julian Day returned by
- QDate::toJulianDay() is a number in the contiguous range from 1 to
- \e{overflow}, even across QDateTime's "date holes". It is suitable
- for use in applications that must convert a QDateTime to a date in
- another calendar system, e.g., Hebrew, Islamic or Chinese.
-
- The Gregorian calendar was introduced in different places around
- the world on different dates. QDateTime uses QDate to store the
- date, so it uses the Gregorian calendar for all locales, beginning
- on the date 15 October 1582. For dates up to and including 4
- October 1582, QDateTime uses the Julian calendar. This means
- there is a 10-day gap in the QDateTime calendar between the 4th
- and the 15th of October 1582. When you use QDateTime for dates in
- that epoch, the day after 4 October 1582 is 15 October 1582, and
- the dates in the gap are invalid.
-
- \section2
- Use of System Timezone
-
- QDateTime uses the system's time zone information to determine the
- offset of local time from UTC. If the system is not configured
- correctly or not up-to-date, QDateTime will give wrong results as
- well.
-
- \section2 Daylight Savings Time (DST)
-
- QDateTime takes into account the system's time zone information
- when dealing with DST. On modern Unix systems, this means it
- applies the correct historical DST data whenever possible. On
- Windows and Windows CE, where the system doesn't support
- historical DST data, historical accuracy is not maintained with
- respect to DST.
-
- The range of valid dates taking DST into account is 1970-01-01 to
- the present, and rules are in place for handling DST correctly
- until 2037-12-31, but these could change. For dates falling
- outside that range, QDateTime makes a \e{best guess} using the
- rules for year 1970 or 2037, but we can't guarantee accuracy. This
- means QDateTime doesn't take into account changes in a locale's
- time zone before 1970, even if the system's time zone database
- supports that information.
-
- \sa QDate QTime QDateTimeEdit
-*/
-
-/*!
- Constructs a null datetime (i.e. null date and null time). A null
- datetime is invalid, since the date is invalid.
-
- \sa isValid()
-*/
-QDateTime::QDateTime()
- : d(new QDateTimePrivate)
-{
-}
-
-
-/*!
- Constructs a datetime with the given \a date, a valid
- time(00:00:00.000), and sets the timeSpec() to Qt::LocalTime.
-*/
-
-QDateTime::QDateTime(const QDate &date)
- : d(new QDateTimePrivate)
-{
- d->date = date;
- d->time = QTime(0, 0, 0);
-}
-
-/*!
- Constructs a datetime with the given \a date and \a time, using
- the time specification defined by \a spec.
-
- If \a date is valid and \a time is not, the time will be set to midnight.
-*/
-
-QDateTime::QDateTime(const QDate &date, const QTime &time, Qt::TimeSpec spec)
- : d(new QDateTimePrivate)
-{
- d->date = date;
- d->time = date.isValid() && !time.isValid() ? QTime(0, 0, 0) : time;
- d->spec = (spec == Qt::UTC) ? QDateTimePrivate::UTC : QDateTimePrivate::LocalUnknown;
-}
-
-/*!
- Constructs a copy of the \a other datetime.
-*/
-
-QDateTime::QDateTime(const QDateTime &other)
- : d(other.d)
-{
-}
-
-/*!
- Destroys the datetime.
-*/
-QDateTime::~QDateTime()
-{
-}
-
-/*!
- Makes a copy of the \a other datetime and returns a reference to the
- copy.
-*/
-
-QDateTime &QDateTime::operator=(const QDateTime &other)
-{
- d = other.d;
- return *this;
-}
-
-/*!
- Returns true if both the date and the time are null; otherwise
- returns false. A null datetime is invalid.
-
- \sa QDate::isNull(), QTime::isNull(), isValid()
-*/
-
-bool QDateTime::isNull() const
-{
- return d->date.isNull() && d->time.isNull();
-}
-
-/*!
- Returns true if both the date and the time are valid; otherwise
- returns false.
-
- \sa QDate::isValid(), QTime::isValid()
-*/
-
-bool QDateTime::isValid() const
-{
- return d->date.isValid() && d->time.isValid();
-}
-
-/*!
- Returns the date part of the datetime.
-
- \sa setDate(), time(), timeSpec()
-*/
-
-QDate QDateTime::date() const
-{
- return d->date;
-}
-
-/*!
- Returns the time part of the datetime.
-
- \sa setTime(), date(), timeSpec()
-*/
-
-QTime QDateTime::time() const
-{
- return d->time;
-}
-
-/*!
- Returns the time specification of the datetime.
-
- \sa setTimeSpec(), date(), time(), Qt::TimeSpec
-*/
-
-Qt::TimeSpec QDateTime::timeSpec() const
-{
- switch(d->spec)
- {
- case QDateTimePrivate::UTC:
- return Qt::UTC;
- case QDateTimePrivate::OffsetFromUTC:
- return Qt::OffsetFromUTC;
- default:
- return Qt::LocalTime;
- }
-}
-
-/*!
- Sets the date part of this datetime to \a date.
- If no time is set, it is set to midnight.
-
- \sa date(), setTime(), setTimeSpec()
-*/
-
-void QDateTime::setDate(const QDate &date)
-{
- detach();
- d->date = date;
- if (d->spec == QDateTimePrivate::LocalStandard
- || d->spec == QDateTimePrivate::LocalDST)
- d->spec = QDateTimePrivate::LocalUnknown;
- if (date.isValid() && !d->time.isValid())
- d->time = QTime(0, 0, 0);
-}
-
-/*!
- Sets the time part of this datetime to \a time.
-
- \sa time(), setDate(), setTimeSpec()
-*/
-
-void QDateTime::setTime(const QTime &time)
-{
- detach();
- if (d->spec == QDateTimePrivate::LocalStandard
- || d->spec == QDateTimePrivate::LocalDST)
- d->spec = QDateTimePrivate::LocalUnknown;
- d->time = time;
-}
-
-/*!
- Sets the time specification used in this datetime to \a spec.
-
- \sa timeSpec(), setDate(), setTime(), Qt::TimeSpec
-*/
-
-void QDateTime::setTimeSpec(Qt::TimeSpec spec)
-{
- detach();
-
- switch(spec)
- {
- case Qt::UTC:
- d->spec = QDateTimePrivate::UTC;
- break;
- case Qt::OffsetFromUTC:
- d->spec = QDateTimePrivate::OffsetFromUTC;
- break;
- default:
- d->spec = QDateTimePrivate::LocalUnknown;
- break;
- }
-}
-
-qint64 toMSecsSinceEpoch_helper(qint64 jd, int msecs)
-{
- qint64 days = jd - JULIAN_DAY_FOR_EPOCH;
- qint64 retval = (days * MSECS_PER_DAY) + msecs;
- return retval;
-}
-
-/*!
- \since 4.7
-
- Returns the datetime as the number of milliseconds that have passed
- since 1970-01-01T00:00:00.000, Coordinated Universal Time (Qt::UTC).
-
- On systems that do not support time zones, this function will
- behave as if local time were Qt::UTC.
-
- The behavior for this function is undefined if the datetime stored in
- this object is not valid. However, for all valid dates, this function
- returns a unique value.
-
- \sa toTime_t(), setMSecsSinceEpoch()
-*/
-qint64 QDateTime::toMSecsSinceEpoch() const
-{
- QDate utcDate;
- QTime utcTime;
- d->getUTC(utcDate, utcTime);
-
- return toMSecsSinceEpoch_helper(utcDate.jd, utcTime.ds());
-}
-
-/*!
- Returns the datetime as the number of seconds that have passed
- since 1970-01-01T00:00:00, Coordinated Universal Time (Qt::UTC).
-
- On systems that do not support time zones, this function will
- behave as if local time were Qt::UTC.
-
- \note This function returns a 32-bit unsigned integer, so it does not
- support dates before 1970, but it does support dates after
- 2038-01-19T03:14:06, which may not be valid time_t values. Be careful
- when passing those time_t values to system functions, which could
- interpret them as negative dates.
-
- If the date is outside the range 1970-01-01T00:00:00 to
- 2106-02-07T06:28:14, this function returns -1 cast to an unsigned integer
- (i.e., 0xFFFFFFFF).
-
- To get an extended range, use toMSecsSinceEpoch().
-
- \sa toMSecsSinceEpoch(), setTime_t()
-*/
-
-uint QDateTime::toTime_t() const
-{
- qint64 retval = toMSecsSinceEpoch() / 1000;
- if (quint64(retval) >= Q_UINT64_C(0xFFFFFFFF))
- return uint(-1);
- return uint(retval);
-}
-
-/*!
- \since 4.7
-
- Sets the date and time given the number of milliseconds,\a msecs, that have
- passed since 1970-01-01T00:00:00.000, Coordinated Universal Time
- (Qt::UTC). On systems that do not support time zones this function
- will behave as if local time were Qt::UTC.
-
- Note that there are possible values for \a msecs that lie outside the
- valid range of QDateTime, both negative and positive. The behavior of
- this function is undefined for those values.
-
- \sa toMSecsSinceEpoch(), setTime_t()
-*/
-void QDateTime::setMSecsSinceEpoch(qint64 msecs)
-{
- detach();
-
- QDateTimePrivate::Spec oldSpec = d->spec;
-
- int ddays = msecs / MSECS_PER_DAY;
- msecs %= MSECS_PER_DAY;
- if (msecs < 0) {
- // negative
- --ddays;
- msecs += MSECS_PER_DAY;
- }
-
- d->date = QDate(1970, 1, 1).addDays(ddays);
- d->time = QTime().addMSecs(msecs);
- d->spec = QDateTimePrivate::UTC;
-
- if (oldSpec != QDateTimePrivate::UTC)
- d->spec = d->getLocal(d->date, d->time);
-}
-
-/*!
- \fn void QDateTime::setTime_t(uint seconds)
-
- Sets the date and time given the number of \a seconds that have
- passed since 1970-01-01T00:00:00, Coordinated Universal Time
- (Qt::UTC). On systems that do not support time zones this function
- will behave as if local time were Qt::UTC.
-
- \sa toTime_t()
-*/
-
-void QDateTime::setTime_t(uint secsSince1Jan1970UTC)
-{
- detach();
-
- QDateTimePrivate::Spec oldSpec = d->spec;
-
- d->date = QDate(1970, 1, 1).addDays(secsSince1Jan1970UTC / SECS_PER_DAY);
- d->time = QTime().addSecs(secsSince1Jan1970UTC % SECS_PER_DAY);
- d->spec = QDateTimePrivate::UTC;
-
- if (oldSpec != QDateTimePrivate::UTC)
- d->spec = d->getLocal(d->date, d->time);
-}
-
-#ifndef QT_NO_DATESTRING
-/*!
- \fn QString QDateTime::toString(Qt::DateFormat format) const
-
- \overload
-
- Returns the datetime as a string in the \a format given.
-
- If the \a format is Qt::TextDate, the string is formatted in
- the default way. QDate::shortDayName(), QDate::shortMonthName(),
- and QTime::toString() are used to generate the string, so the
- day and month names will be localized names. An example of this
- formatting is "Wed May 20 03:40:13 1998".
-
- If the \a format is Qt::ISODate, the string format corresponds
- to the ISO 8601 extended specification for representations of
- dates and times, taking the form YYYY-MM-DDTHH:mm:ss[Z|[+|-]HH:mm],
- depending on the timeSpec() of the QDateTime. If the timeSpec()
- is Qt::UTC, Z will be appended to the string; if the timeSpec() is
- Qt::OffsetFromUTC the offset in hours and minutes from UTC will
- be appended to the string.
-
- If the \a format is Qt::SystemLocaleShortDate or
- Qt::SystemLocaleLongDate, the string format depends on the locale
- settings of the system. Identical to calling
- QLocale::system().toString(datetime, QLocale::ShortFormat) or
- QLocale::system().toString(datetime, QLocale::LongFormat).
-
- If the \a format is Qt::DefaultLocaleShortDate or
- Qt::DefaultLocaleLongDate, the string format depends on the
- default application locale. This is the locale set with
- QLocale::setDefault(), or the system locale if no default locale
- has been set. Identical to calling QLocale().toString(datetime,
- QLocale::ShortFormat) or QLocale().toString(datetime,
- QLocale::LongFormat).
-
- If the datetime is invalid, an empty string will be returned.
-
- \warning The Qt::ISODate format is only valid for years in the
- range 0 to 9999. This restriction may apply to locale-aware
- formats as well, depending on the locale settings.
-
- \sa QDate::toString() QTime::toString() Qt::DateFormat
-*/
-
-QString QDateTime::toString(Qt::DateFormat f) const
-{
- QString buf;
- if (!isValid())
- return buf;
-
- if (f == Qt::ISODate) {
- buf = d->date.toString(Qt::ISODate);
- if (buf.isEmpty())
- return QString(); // failed to convert
- buf += QLatin1Char('T');
- buf += d->time.toString(Qt::ISODate);
- switch (d->spec) {
- case QDateTimePrivate::UTC:
- buf += QLatin1Char('Z');
- break;
- case QDateTimePrivate::OffsetFromUTC: {
- int sign = d->utcOffset >= 0 ? 1: -1;
- buf += QString::fromLatin1("%1%2:%3").
- arg(sign == 1 ? QLatin1Char('+') : QLatin1Char('-')).
- arg(d->utcOffset * sign / SECS_PER_HOUR, 2, 10, QLatin1Char('0')).
- arg((d->utcOffset / 60) % 60, 2, 10, QLatin1Char('0'));
- break;
- }
- default:
- break;
- }
- }
-#ifndef QT_NO_TEXTDATE
- else if (f == Qt::TextDate) {
-#ifndef Q_WS_WIN
- buf = d->date.shortDayName(d->date.dayOfWeek());
- buf += QLatin1Char(' ');
- buf += d->date.shortMonthName(d->date.month());
- buf += QLatin1Char(' ');
- buf += QString::number(d->date.day());
-#else
- wchar_t out[255];
- GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_ILDATE, out, 255);
- QString winstr = QString::fromWCharArray(out);
- switch (winstr.toInt()) {
- case 1:
- buf = d->date.shortDayName(d->date.dayOfWeek());
- buf += QLatin1Char(' ');
- buf += QString::number(d->date.day());
- buf += QLatin1String(". ");
- buf += d->date.shortMonthName(d->date.month());
- break;
- default:
- buf = d->date.shortDayName(d->date.dayOfWeek());
- buf += QLatin1Char(' ');
- buf += d->date.shortMonthName(d->date.month());
- buf += QLatin1Char(' ');
- buf += QString::number(d->date.day());
- }
-#endif
- buf += QLatin1Char(' ');
- buf += d->time.toString();
- buf += QLatin1Char(' ');
- buf += QString::number(d->date.year());
- }
-#endif
- else {
- buf = d->date.toString(f);
- if (buf.isEmpty())
- return QString(); // failed to convert
- buf += QLatin1Char(' ');
- buf += d->time.toString(f);
- }
-
- return buf;
-}
-
-/*!
- Returns the datetime as a string. The \a format parameter
- determines the format of the result string.
-
- These expressions may be used for the date:
-
- \table
- \header \i Expression \i Output
- \row \i d \i the day as number without a leading zero (1 to 31)
- \row \i dd \i the day as number with a leading zero (01 to 31)
- \row \i ddd
- \i the abbreviated localized day name (e.g. 'Mon' to 'Sun').
- Uses QDate::shortDayName().
- \row \i dddd
- \i the long localized day name (e.g. 'Monday' to 'Qt::Sunday').
- Uses QDate::longDayName().
- \row \i M \i the month as number without a leading zero (1-12)
- \row \i MM \i the month as number with a leading zero (01-12)
- \row \i MMM
- \i the abbreviated localized month name (e.g. 'Jan' to 'Dec').
- Uses QDate::shortMonthName().
- \row \i MMMM
- \i the long localized month name (e.g. 'January' to 'December').
- Uses QDate::longMonthName().
- \row \i yy \i the year as two digit number (00-99)
- \row \i yyyy \i the year as four digit number
- \endtable
-
- These expressions may be used for the time:
-
- \table
- \header \i Expression \i Output
- \row \i h
- \i the hour without a leading zero (0 to 23 or 1 to 12 if AM/PM display)
- \row \i hh
- \i the hour with a leading zero (00 to 23 or 01 to 12 if AM/PM display)
- \row \i m \i the minute without a leading zero (0 to 59)
- \row \i mm \i the minute with a leading zero (00 to 59)
- \row \i s \i the second without a leading zero (0 to 59)
- \row \i ss \i the second with a leading zero (00 to 59)
- \row \i z \i the milliseconds without leading zeroes (0 to 999)
- \row \i zzz \i the milliseconds with leading zeroes (000 to 999)
- \row \i AP
- \i use AM/PM display. \e AP will be replaced by either "AM" or "PM".
- \row \i ap
- \i use am/pm display. \e ap will be replaced by either "am" or "pm".
- \endtable
-
- All other input characters will be ignored. Any sequence of characters that
- are enclosed in singlequotes will be treated as text and not be used as an
- expression. Two consecutive singlequotes ("''") are replaced by a singlequote
- in the output.
-
- Example format strings (assumed that the QDateTime is 21 May 2001
- 14:13:09):
-
- \table
- \header \i Format \i Result
- \row \i dd.MM.yyyy \i 21.05.2001
- \row \i ddd MMMM d yy \i Tue May 21 01
- \row \i hh:mm:ss.zzz \i 14:13:09.042
- \row \i h:m:s ap \i 2:13:9 pm
- \endtable
-
- If the datetime is invalid, an empty string will be returned.
-
- \sa QDate::toString() QTime::toString()
-*/
-QString QDateTime::toString(const QString& format) const
-{
- return fmtDateTime(format, &d->time, &d->date);
-}
-#endif //QT_NO_DATESTRING
-
-/*!
- Returns a QDateTime object containing a datetime \a ndays days
- later than the datetime of this object (or earlier if \a ndays is
- negative).
-
- \sa daysTo(), addMonths(), addYears(), addSecs()
-*/
-
-QDateTime QDateTime::addDays(int ndays) const
-{
- return QDateTime(d->date.addDays(ndays), d->time, timeSpec());
-}
-
-/*!
- Returns a QDateTime object containing a datetime \a nmonths months
- later than the datetime of this object (or earlier if \a nmonths
- is negative).
-
- \sa daysTo(), addDays(), addYears(), addSecs()
-*/
-
-QDateTime QDateTime::addMonths(int nmonths) const
-{
- return QDateTime(d->date.addMonths(nmonths), d->time, timeSpec());
-}
-
-/*!
- Returns a QDateTime object containing a datetime \a nyears years
- later than the datetime of this object (or earlier if \a nyears is
- negative).
-
- \sa daysTo(), addDays(), addMonths(), addSecs()
-*/
-
-QDateTime QDateTime::addYears(int nyears) const
-{
- return QDateTime(d->date.addYears(nyears), d->time, timeSpec());
-}
-
-QDateTime QDateTimePrivate::addMSecs(const QDateTime &dt, qint64 msecs)
-{
- QDate utcDate;
- QTime utcTime;
- dt.d->getUTC(utcDate, utcTime);
-
- addMSecs(utcDate, utcTime, msecs);
-
- return QDateTime(utcDate, utcTime, Qt::UTC).toTimeSpec(dt.timeSpec());
-}
-
-/*!
- Adds \a msecs to utcDate and \a utcTime as appropriate. It is assumed that
- utcDate and utcTime are adjusted to UTC.
-
- \since 4.5
- \internal
- */
-void QDateTimePrivate::addMSecs(QDate &utcDate, QTime &utcTime, qint64 msecs)
-{
- uint dd = utcDate.jd;
- int tt = utcTime.ds();
- int sign = 1;
- if (msecs < 0) {
- msecs = -msecs;
- sign = -1;
- }
- if (msecs >= int(MSECS_PER_DAY)) {
- dd += sign * (msecs / MSECS_PER_DAY);
- msecs %= MSECS_PER_DAY;
- }
-
- tt += sign * msecs;
- if (tt < 0) {
- tt = MSECS_PER_DAY - tt - 1;
- dd -= tt / MSECS_PER_DAY;
- tt = tt % MSECS_PER_DAY;
- tt = MSECS_PER_DAY - tt - 1;
- } else if (tt >= int(MSECS_PER_DAY)) {
- dd += tt / MSECS_PER_DAY;
- tt = tt % MSECS_PER_DAY;
- }
-
- utcDate.jd = dd;
- utcTime.mds = tt;
-}
-
-/*!
- Returns a QDateTime object containing a datetime \a s seconds
- later than the datetime of this object (or earlier if \a s is
- negative).
-
- \sa addMSecs(), secsTo(), addDays(), addMonths(), addYears()
-*/
-
-QDateTime QDateTime::addSecs(int s) const
-{
- return d->addMSecs(*this, qint64(s) * 1000);
-}
-
-/*!
- Returns a QDateTime object containing a datetime \a msecs miliseconds
- later than the datetime of this object (or earlier if \a msecs is
- negative).
-
- \sa addSecs(), msecsTo(), addDays(), addMonths(), addYears()
-*/
-QDateTime QDateTime::addMSecs(qint64 msecs) const
-{
- return d->addMSecs(*this, msecs);
-}
-
-/*!
- Returns the number of days from this datetime to the \a other
- datetime. If the \a other datetime is earlier than this datetime,
- the value returned is negative.
-
- \sa addDays(), secsTo(), msecsTo()
-*/
-
-int QDateTime::daysTo(const QDateTime &other) const
-{
- return d->date.daysTo(other.d->date);
-}
-
-/*!
- Returns the number of seconds from this datetime to the \a other
- datetime. If the \a other datetime is earlier than this datetime,
- the value returned is negative.
-
- Before performing the comparison, the two datetimes are converted
- to Qt::UTC to ensure that the result is correct if one of the two
- datetimes has daylight saving time (DST) and the other doesn't.
-
- Example:
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 11
-
- \sa addSecs(), daysTo(), QTime::secsTo()
-*/
-
-int QDateTime::secsTo(const QDateTime &other) const
-{
- QDate date1, date2;
- QTime time1, time2;
-
- d->getUTC(date1, time1);
- other.d->getUTC(date2, time2);
-
- return (date1.daysTo(date2) * SECS_PER_DAY) + time1.secsTo(time2);
-}
-
-/*!
- \since 4.7
-
- Returns the number of milliseconds from this datetime to the \a other
- datetime. If the \a other datetime is earlier than this datetime,
- the value returned is negative.
-
- Before performing the comparison, the two datetimes are converted
- to Qt::UTC to ensure that the result is correct if one of the two
- datetimes has daylight saving time (DST) and the other doesn't.
-
- \sa addMSecs(), daysTo(), QTime::msecsTo()
-*/
-
-qint64 QDateTime::msecsTo(const QDateTime &other) const
-{
- QDate selfDate;
- QDate otherDate;
- QTime selfTime;
- QTime otherTime;
-
- d->getUTC(selfDate, selfTime);
- other.d->getUTC(otherDate, otherTime);
-
- return (static_cast<qint64>(selfDate.daysTo(otherDate)) * static_cast<qint64>(MSECS_PER_DAY))
- + static_cast<qint64>(selfTime.msecsTo(otherTime));
-}
-
-
-/*!
- \fn QDateTime QDateTime::toTimeSpec(Qt::TimeSpec specification) const
-
- Returns a copy of this datetime configured to use the given time
- \a specification.
-
- \sa timeSpec(), toUTC(), toLocalTime()
-*/
-
-QDateTime QDateTime::toTimeSpec(Qt::TimeSpec spec) const
-{
- if ((d->spec == QDateTimePrivate::UTC) == (spec == Qt::UTC))
- return *this;
-
- QDateTime ret;
- if (spec == Qt::UTC) {
- d->getUTC(ret.d->date, ret.d->time);
- ret.d->spec = QDateTimePrivate::UTC;
- } else {
- ret.d->spec = d->getLocal(ret.d->date, ret.d->time);
- }
- return ret;
-}
-
-/*!
- Returns true if this datetime is equal to the \a other datetime;
- otherwise returns false.
-
- \sa operator!=()
-*/
-
-bool QDateTime::operator==(const QDateTime &other) const
-{
- if (d->spec == other.d->spec && d->utcOffset == other.d->utcOffset)
- return d->time == other.d->time && d->date == other.d->date;
- else {
- QDate date1, date2;
- QTime time1, time2;
-
- d->getUTC(date1, time1);
- other.d->getUTC(date2, time2);
- return time1 == time2 && date1 == date2;
- }
-}
-
-/*!
- \fn bool QDateTime::operator!=(const QDateTime &other) const
-
- Returns true if this datetime is different from the \a other
- datetime; otherwise returns false.
-
- Two datetimes are different if either the date, the time, or the
- time zone components are different.
-
- \sa operator==()
-*/
-
-/*!
- Returns true if this datetime is earlier than the \a other
- datetime; otherwise returns false.
-*/
-
-bool QDateTime::operator<(const QDateTime &other) const
-{
- if (d->spec == other.d->spec && d->spec != QDateTimePrivate::OffsetFromUTC) {
- if (d->date != other.d->date)
- return d->date < other.d->date;
- return d->time < other.d->time;
- } else {
- QDate date1, date2;
- QTime time1, time2;
- d->getUTC(date1, time1);
- other.d->getUTC(date2, time2);
- if (date1 != date2)
- return date1 < date2;
- return time1 < time2;
- }
-}
-
-/*!
- \fn bool QDateTime::operator<=(const QDateTime &other) const
-
- Returns true if this datetime is earlier than or equal to the
- \a other datetime; otherwise returns false.
-*/
-
-/*!
- \fn bool QDateTime::operator>(const QDateTime &other) const
-
- Returns true if this datetime is later than the \a other datetime;
- otherwise returns false.
-*/
-
-/*!
- \fn bool QDateTime::operator>=(const QDateTime &other) const
-
- Returns true if this datetime is later than or equal to the
- \a other datetime; otherwise returns false.
-*/
-
-/*!
- \fn QDateTime QDateTime::currentDateTime()
- Returns the current datetime, as reported by the system clock, in
- the local time zone.
-
- \sa currentDateTimeUtc(), QDate::currentDate(), QTime::currentTime(), toTimeSpec()
-*/
-
-/*!
- \fn QDateTime QDateTime::currentDateTimeUtc()
- \since 4.7
- Returns the current datetime, as reported by the system clock, in
- UTC.
-
- \sa currentDateTime(), QDate::currentDate(), QTime::currentTime(), toTimeSpec()
-*/
-
-/*!
- \fn qint64 QDateTime::currentMSecsSinceEpoch()
- \since 4.7
-
- Returns the number of milliseconds since 1970-01-01T00:00:00 Universal
- Coordinated Time. This number is like the POSIX time_t variable, but
- expressed in milliseconds instead.
-
- \sa currentDateTime(), currentDateTimeUtc(), toTime_t(), toTimeSpec()
-*/
-
-static inline uint msecsFromDecomposed(int hour, int minute, int sec, int msec = 0)
-{
- return MSECS_PER_HOUR * hour + MSECS_PER_MIN * minute + 1000 * sec + msec;
-}
-
-#if defined(Q_OS_WIN)
-QDate QDate::currentDate()
-{
- QDate d;
- SYSTEMTIME st;
- memset(&st, 0, sizeof(SYSTEMTIME));
- GetLocalTime(&st);
- d.jd = julianDayFromDate(st.wYear, st.wMonth, st.wDay);
- return d;
-}
-
-QTime QTime::currentTime()
-{
- QTime ct;
- SYSTEMTIME st;
- memset(&st, 0, sizeof(SYSTEMTIME));
- GetLocalTime(&st);
- ct.mds = msecsFromDecomposed(st.wHour, st.wMinute, st.wSecond, st.wMilliseconds);
-#if defined(Q_OS_WINCE)
- ct.startTick = GetTickCount() % MSECS_PER_DAY;
-#endif
- return ct;
-}
-
-QDateTime QDateTime::currentDateTime()
-{
- QDate d;
- QTime t;
- SYSTEMTIME st;
- memset(&st, 0, sizeof(SYSTEMTIME));
- GetLocalTime(&st);
- d.jd = julianDayFromDate(st.wYear, st.wMonth, st.wDay);
- t.mds = msecsFromDecomposed(st.wHour, st.wMinute, st.wSecond, st.wMilliseconds);
- return QDateTime(d, t);
-}
-
-QDateTime QDateTime::currentDateTimeUtc()
-{
- QDate d;
- QTime t;
- SYSTEMTIME st;
- memset(&st, 0, sizeof(SYSTEMTIME));
- GetSystemTime(&st);
- d.jd = julianDayFromDate(st.wYear, st.wMonth, st.wDay);
- t.mds = msecsFromDecomposed(st.wHour, st.wMinute, st.wSecond, st.wMilliseconds);
- return QDateTime(d, t, Qt::UTC);
-}
-
-qint64 QDateTime::currentMSecsSinceEpoch()
-{
- QDate d;
- QTime t;
- SYSTEMTIME st;
- memset(&st, 0, sizeof(SYSTEMTIME));
- GetSystemTime(&st);
-
- return msecsFromDecomposed(st.wHour, st.wMinute, st.wSecond, st.wMilliseconds) +
- qint64(julianDayFromGregorianDate(st.wYear, st.wMonth, st.wDay)
- - julianDayFromGregorianDate(1970, 1, 1)) * Q_INT64_C(86400000);
-}
-
-#elif defined(Q_OS_SYMBIAN)
-QDate QDate::currentDate()
-{
- QDate d;
- TTime localTime;
- localTime.HomeTime();
- TDateTime localDateTime = localTime.DateTime();
- // months and days are zero indexed
- d.jd = julianDayFromDate(localDateTime.Year(), localDateTime.Month() + 1, localDateTime.Day() + 1 );
- return d;
-}
-
-QTime QTime::currentTime()
-{
- QTime ct;
- TTime localTime;
- localTime.HomeTime();
- TDateTime localDateTime = localTime.DateTime();
- ct.mds = msecsFromDecomposed(localDateTime.Hour(), localDateTime.Minute(),
- localDateTime.Second(), localDateTime.MicroSecond() / 1000);
- return ct;
-}
-
-QDateTime QDateTime::currentDateTime()
-{
- QDate d;
- QTime ct;
- TTime localTime;
- localTime.HomeTime();
- TDateTime localDateTime = localTime.DateTime();
- // months and days are zero indexed
- d.jd = julianDayFromDate(localDateTime.Year(), localDateTime.Month() + 1, localDateTime.Day() + 1);
- ct.mds = msecsFromDecomposed(localDateTime.Hour(), localDateTime.Minute(),
- localDateTime.Second(), localDateTime.MicroSecond() / 1000);
- return QDateTime(d, ct);
-}
-
-QDateTime QDateTime::currentDateTimeUtc()
-{
- QDate d;
- QTime ct;
- TTime gmTime;
- gmTime.UniversalTime();
- TDateTime gmtDateTime = gmTime.DateTime();
- // months and days are zero indexed
- d.jd = julianDayFromDate(gmtDateTime.Year(), gmtDateTime.Month() + 1, gmtDateTime.Day() + 1);
- ct.mds = msecsFromDecomposed(gmtDateTime.Hour(), gmtDateTime.Minute(),
- gmtDateTime.Second(), gmtDateTime.MicroSecond() / 1000);
- return QDateTime(d, ct, Qt::UTC);
-}
-
-qint64 QDateTime::currentMSecsSinceEpoch()
-{
- QDate d;
- QTime ct;
- TTime gmTime;
- gmTime.UniversalTime();
- TDateTime gmtDateTime = gmTime.DateTime();
-
- // according to the documentation, the value is:
- // "a date and time as a number of microseconds since midnight, January 1st, 0 AD nominal Gregorian"
- qint64 value = gmTime.Int64();
-
- // whereas 1970-01-01T00:00:00 is (in the same representation):
- // ((1970 * 365) + (1970 / 4) - (1970 / 100) + (1970 / 400) - 13) * 86400 * 1000000
- static const qint64 unixEpoch = Q_INT64_C(0xdcddb30f2f8000);
-
- return (value - unixEpoch) / 1000;
-}
-
-#elif defined(Q_OS_UNIX)
-QDate QDate::currentDate()
-{
- QDate d;
- // posix compliant system
- time_t ltime;
- time(<ime);
- struct tm *t = 0;
-
-#if !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
- // use the reentrant version of localtime() where available
- tzset();
- struct tm res;
- t = localtime_r(<ime, &res);
-#else
- t = localtime(<ime);
-#endif // !QT_NO_THREAD && _POSIX_THREAD_SAFE_FUNCTIONS
-
- d.jd = julianDayFromDate(t->tm_year + 1900, t->tm_mon + 1, t->tm_mday);
- return d;
-}
-
-QTime QTime::currentTime()
-{
- QTime ct;
- // posix compliant system
- struct timeval tv;
- gettimeofday(&tv, 0);
- time_t ltime = tv.tv_sec;
- struct tm *t = 0;
-
-#if !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
- // use the reentrant version of localtime() where available
- tzset();
- struct tm res;
- t = localtime_r(<ime, &res);
-#else
- t = localtime(<ime);
-#endif
- Q_CHECK_PTR(t);
-
- ct.mds = msecsFromDecomposed(t->tm_hour, t->tm_min, t->tm_sec, tv.tv_usec / 1000);
- return ct;
-}
-
-QDateTime QDateTime::currentDateTime()
-{
- // posix compliant system
- // we have milliseconds
- struct timeval tv;
- gettimeofday(&tv, 0);
- time_t ltime = tv.tv_sec;
- struct tm *t = 0;
-
-#if !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
- // use the reentrant version of localtime() where available
- tzset();
- struct tm res;
- t = localtime_r(<ime, &res);
-#else
- t = localtime(<ime);
-#endif
-
- QDateTime dt;
- dt.d->time.mds = msecsFromDecomposed(t->tm_hour, t->tm_min, t->tm_sec, tv.tv_usec / 1000);
-
- dt.d->date.jd = julianDayFromDate(t->tm_year + 1900, t->tm_mon + 1, t->tm_mday);
- dt.d->spec = t->tm_isdst > 0 ? QDateTimePrivate::LocalDST :
- t->tm_isdst == 0 ? QDateTimePrivate::LocalStandard :
- QDateTimePrivate::LocalUnknown;
- return dt;
-}
-
-QDateTime QDateTime::currentDateTimeUtc()
-{
- // posix compliant system
- // we have milliseconds
- struct timeval tv;
- gettimeofday(&tv, 0);
- time_t ltime = tv.tv_sec;
- struct tm *t = 0;
-
-#if !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
- // use the reentrant version of localtime() where available
- struct tm res;
- t = gmtime_r(<ime, &res);
-#else
- t = gmtime(<ime);
-#endif
-
- QDateTime dt;
- dt.d->time.mds = msecsFromDecomposed(t->tm_hour, t->tm_min, t->tm_sec, tv.tv_usec / 1000);
-
- dt.d->date.jd = julianDayFromDate(t->tm_year + 1900, t->tm_mon + 1, t->tm_mday);
- dt.d->spec = QDateTimePrivate::UTC;
- return dt;
-}
-
-qint64 QDateTime::currentMSecsSinceEpoch()
-{
- // posix compliant system
- // we have milliseconds
- struct timeval tv;
- gettimeofday(&tv, 0);
- return qint64(tv.tv_sec) * Q_INT64_C(1000) + tv.tv_usec / 1000;
-}
-
-#else
-#error "What system is this?"
-#endif
-
-/*!
- \since 4.2
-
- Returns a datetime whose date and time are the number of \a seconds
- that have passed since 1970-01-01T00:00:00, Coordinated Universal
- Time (Qt::UTC). On systems that do not support time zones, the time
- will be set as if local time were Qt::UTC.
-
- \sa toTime_t(), setTime_t()
-*/
-QDateTime QDateTime::fromTime_t(uint seconds)
-{
- QDateTime d;
- d.setTime_t(seconds);
- return d;
-}
-
-/*!
- \since 4.7
-
- Returns a datetime whose date and time are the number of milliseconds, \a msecs,
- that have passed since 1970-01-01T00:00:00.000, Coordinated Universal
- Time (Qt::UTC). On systems that do not support time zones, the time
- will be set as if local time were Qt::UTC.
-
- Note that there are possible values for \a msecs that lie outside the valid
- range of QDateTime, both negative and positive. The behavior of this
- function is undefined for those values.
-
- \sa toTime_t(), setTime_t()
-*/
-QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs)
-{
- QDateTime d;
- d.setMSecsSinceEpoch(msecs);
- return d;
-}
-
-/*!
- \since 4.4
- \internal
-
- Sets the offset from UTC to \a seconds, and also sets timeSpec() to
- Qt::OffsetFromUTC.
-
- The maximum and minimum offset is 14 positive or negative hours. If
- \a seconds is larger or smaller than that, the result is undefined.
-
- 0 as offset is identical to UTC. Therefore, if \a seconds is 0, the
- timeSpec() will be set to Qt::UTC. Hence the UTC offset always
- relates to UTC, and can never relate to local time.
-
- \sa isValid(), utcOffset()
- */
-void QDateTime::setUtcOffset(int seconds)
-{
- detach();
-
- /* The motivation to also setting d->spec is to ensure that the QDateTime
- * instance stay in well-defined states all the time, instead of that
- * we instruct the user to ensure it. */
- if(seconds == 0)
- d->spec = QDateTimePrivate::UTC;
- else
- d->spec = QDateTimePrivate::OffsetFromUTC;
-
- /* Even if seconds is 0 we assign it to utcOffset. */
- d->utcOffset = seconds;
-}
-
-/*!
- \since 4.4
- \internal
-
- Returns the UTC offset in seconds. If the timeSpec() isn't
- Qt::OffsetFromUTC, 0 is returned. However, since 0 is a valid UTC
- offset the return value of this function cannot be used to determine
- whether a utcOffset() is used or is valid, timeSpec() must be
- checked.
-
- Likewise, if this QDateTime() is invalid or if timeSpec() isn't
- Qt::OffsetFromUTC, 0 is returned.
-
- The UTC offset only applies if the timeSpec() is Qt::OffsetFromUTC.
-
- \sa isValid(), setUtcOffset()
- */
-int QDateTime::utcOffset() const
-{
- if(isValid() && d->spec == QDateTimePrivate::OffsetFromUTC)
- return d->utcOffset;
- else
- return 0;
-}
-
-#ifndef QT_NO_DATESTRING
-
-static int fromShortMonthName(const QString &monthName)
-{
- // Assume that English monthnames are the default
- for (int i = 0; i < 12; ++i) {
- if (monthName == QLatin1String(qt_shortMonthNames[i]))
- return i + 1;
- }
- // If English names can't be found, search the localized ones
- for (int i = 1; i <= 12; ++i) {
- if (monthName == QDate::shortMonthName(i))
- return i;
- }
- return -1;
-}
-
-/*!
- \fn QDateTime QDateTime::fromString(const QString &string, Qt::DateFormat format)
-
- Returns the QDateTime represented by the \a string, using the
- \a format given, or an invalid datetime if this is not possible.
-
- Note for Qt::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.
-*/
-QDateTime QDateTime::fromString(const QString& s, Qt::DateFormat f)
-{
- if (s.isEmpty()) {
- return QDateTime();
- }
-
- switch (f) {
- case Qt::ISODate: {
- QString tmp = s;
- Qt::TimeSpec ts = Qt::LocalTime;
- const QDate date = QDate::fromString(tmp.left(10), Qt::ISODate);
- if (tmp.size() == 10)
- return QDateTime(date);
-
- tmp = tmp.mid(11);
-
- // Recognize UTC specifications
- if (tmp.endsWith(QLatin1Char('Z'))) {
- ts = Qt::UTC;
- tmp.chop(1);
- }
-
- // Recognize timezone specifications
- QRegExp rx(QLatin1String("[+-]"));
- if (tmp.contains(rx)) {
- int idx = tmp.indexOf(rx);
- QString tmp2 = tmp.mid(idx);
- tmp = tmp.left(idx);
- bool ok = true;
- int ntzhour = 1;
- int ntzminute = 3;
- if ( tmp2.indexOf(QLatin1Char(':')) == 3 )
- ntzminute = 4;
- const int tzhour(tmp2.mid(ntzhour, 2).toInt(&ok));
- const int tzminute(tmp2.mid(ntzminute, 2).toInt(&ok));
- QTime tzt(tzhour, tzminute);
- int utcOffset = (tzt.hour() * 60 + tzt.minute()) * 60;
- if ( utcOffset != 0 ) {
- ts = Qt::OffsetFromUTC;
- QDateTime dt(date, QTime::fromString(tmp, Qt::ISODate), ts);
- dt.setUtcOffset( utcOffset * (tmp2.startsWith(QLatin1Char('-')) ? -1 : 1) );
- return dt;
- }
- }
- return QDateTime(date, QTime::fromString(tmp, Qt::ISODate), ts);
- }
- case Qt::SystemLocaleDate:
- case Qt::SystemLocaleShortDate:
- case Qt::SystemLocaleLongDate:
- return fromString(s, QLocale::system().dateTimeFormat(f == Qt::SystemLocaleLongDate ? QLocale::LongFormat
- : QLocale::ShortFormat));
- case Qt::LocaleDate:
- case Qt::DefaultLocaleShortDate:
- case Qt::DefaultLocaleLongDate:
- return fromString(s, QLocale().dateTimeFormat(f == Qt::DefaultLocaleLongDate ? QLocale::LongFormat
- : QLocale::ShortFormat));
-#if !defined(QT_NO_TEXTDATE)
- case Qt::TextDate: {
- QStringList parts = s.split(QLatin1Char(' '), QString::SkipEmptyParts);
-
- if ((parts.count() < 5) || (parts.count() > 6)) {
- return QDateTime();
- }
-
- // Accept "Sun Dec 1 13:02:00 1974" and "Sun 1. Dec 13:02:00 1974"
- int month = -1, day = -1;
- bool ok;
-
- month = fromShortMonthName(parts.at(1));
- if (month != -1) {
- day = parts.at(2).toInt(&ok);
- if (!ok)
- day = -1;
- }
-
- if (month == -1 || day == -1) {
- // first variant failed, lets try the other
- month = fromShortMonthName(parts.at(2));
- if (month != -1) {
- QString dayStr = parts.at(1);
- if (dayStr.endsWith(QLatin1Char('.'))) {
- dayStr.chop(1);
- day = dayStr.toInt(&ok);
- if (!ok)
- day = -1;
- } else {
- day = -1;
- }
- }
- }
-
- if (month == -1 || day == -1) {
- // both variants failed, give up
- return QDateTime();
- }
-
- int year;
- QStringList timeParts = parts.at(3).split(QLatin1Char(':'));
- if ((timeParts.count() == 3) || (timeParts.count() == 2)) {
- year = parts.at(4).toInt(&ok);
- if (!ok)
- return QDateTime();
- } else {
- timeParts = parts.at(4).split(QLatin1Char(':'));
- if ((timeParts.count() != 3) && (timeParts.count() != 2))
- return QDateTime();
- year = parts.at(3).toInt(&ok);
- if (!ok)
- return QDateTime();
- }
-
- int hour = timeParts.at(0).toInt(&ok);
- if (!ok) {
- return QDateTime();
- }
-
- int minute = timeParts.at(1).toInt(&ok);
- if (!ok) {
- return QDateTime();
- }
-
- int second = (timeParts.count() > 2) ? timeParts.at(2).toInt(&ok) : 0;
- if (!ok) {
- return QDateTime();
- }
-
- QDate date(year, month, day);
- QTime time(hour, minute, second);
-
- if (parts.count() == 5)
- return QDateTime(date, time, Qt::LocalTime);
-
- QString tz = parts.at(5);
- if (!tz.startsWith(QLatin1String("GMT"), Qt::CaseInsensitive))
- return QDateTime();
- QDateTime dt(date, time, Qt::UTC);
- if (tz.length() > 3) {
- int tzoffset = 0;
- QChar sign = tz.at(3);
- if ((sign != QLatin1Char('+'))
- && (sign != QLatin1Char('-'))) {
- return QDateTime();
- }
- int tzhour = tz.mid(4, 2).toInt(&ok);
- if (!ok)
- return QDateTime();
- int tzminute = tz.mid(6).toInt(&ok);
- if (!ok)
- return QDateTime();
- tzoffset = (tzhour*60 + tzminute) * 60;
- if (sign == QLatin1Char('-'))
- tzoffset = -tzoffset;
- dt.setUtcOffset(tzoffset);
- }
- return dt.toLocalTime();
- }
-#endif //QT_NO_TEXTDATE
- }
-
- return QDateTime();
-}
-
-/*!
- \fn QDateTime::fromString(const QString &string, const QString &format)
-
- Returns the QDateTime represented by the \a string, using the \a
- format given, or an invalid datetime if the string cannot be parsed.
-
- These expressions may be used for the date part of the format string:
-
- \table
- \header \i Expression \i Output
- \row \i d \i the day as number without a leading zero (1 to 31)
- \row \i dd \i the day as number with a leading zero (01 to 31)
- \row \i ddd
- \i the abbreviated localized day name (e.g. 'Mon' to 'Sun').
- Uses QDate::shortDayName().
- \row \i dddd
- \i the long localized day name (e.g. 'Monday' to 'Sunday').
- Uses QDate::longDayName().
- \row \i M \i the month as number without a leading zero (1-12)
- \row \i MM \i the month as number with a leading zero (01-12)
- \row \i MMM
- \i the abbreviated localized month name (e.g. 'Jan' to 'Dec').
- Uses QDate::shortMonthName().
- \row \i MMMM
- \i the long localized month name (e.g. 'January' to 'December').
- Uses QDate::longMonthName().
- \row \i yy \i the year as two digit number (00-99)
- \row \i yyyy \i the year as four digit number
- \endtable
-
- \note Unlike the other version of this function, day and month names must
- be given in the user's local language. It is only possible to use the English
- names if the user's language is English.
-
- These expressions may be used for the time part of the format string:
-
- \table
- \header \i Expression \i Output
- \row \i h
- \i the hour without a leading zero (0 to 23 or 1 to 12 if AM/PM display)
- \row \i hh
- \i the hour with a leading zero (00 to 23 or 01 to 12 if AM/PM display)
- \row \i H
- \i the hour without a leading zero (0 to 23, even with AM/PM display)
- \row \i HH
- \i the hour with a leading zero (00 to 23, even with AM/PM display)
- \row \i m \i the minute without a leading zero (0 to 59)
- \row \i mm \i the minute with a leading zero (00 to 59)
- \row \i s \i the second without a leading zero (0 to 59)
- \row \i ss \i the second with a leading zero (00 to 59)
- \row \i z \i the milliseconds without leading zeroes (0 to 999)
- \row \i zzz \i the milliseconds with leading zeroes (000 to 999)
- \row \i AP or A
- \i interpret as an AM/PM time. \e AP must be either "AM" or "PM".
- \row \i ap or a
- \i Interpret as an AM/PM time. \e ap must be either "am" or "pm".
- \endtable
-
- All other input characters will be treated as text. Any sequence
- of characters that are enclosed in singlequotes will also be
- treated as text and not be used as an expression.
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 12
-
- If the format is not satisfied an invalid QDateTime is returned.
- The expressions that don't have leading zeroes (d, M, h, m, s, z) will be
- greedy. This means that they will use two digits even if this will
- put them outside the range and/or leave too few digits for other
- sections.
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 13
-
- This could have meant 1 January 00:30.00 but the M will grab
- two digits.
-
- For any field that is not represented in the format the following
- defaults are used:
-
- \table
- \header \i Field \i Default value
- \row \i Year \i 1900
- \row \i Month \i 1 (January)
- \row \i Day \i 1
- \row \i Hour \i 0
- \row \i Minute \i 0
- \row \i Second \i 0
- \endtable
-
- For example:
-
- \snippet doc/src/snippets/code/src_corelib_tools_qdatetime.cpp 14
-
- \sa QDate::fromString() QTime::fromString() QDate::toString()
- QDateTime::toString() QTime::toString()
-*/
-
-QDateTime QDateTime::fromString(const QString &string, const QString &format)
-{
-#ifndef QT_BOOTSTRAPPED
- QTime time;
- QDate date;
-
- QDateTimeParser dt(QVariant::DateTime, QDateTimeParser::FromString);
- if (dt.parseFormat(format) && dt.fromString(string, &date, &time))
- return QDateTime(date, time);
-#else
- Q_UNUSED(string);
- Q_UNUSED(format);
-#endif
- return QDateTime(QDate(), QTime(-1, -1, -1));
-}
-
-#endif // QT_NO_DATESTRING
-/*!
- \fn QDateTime QDateTime::toLocalTime() const
-
- Returns a datetime containing the date and time information in
- this datetime, but specified using the Qt::LocalTime definition.
-
- \sa toTimeSpec()
-*/
-
-/*!
- \fn QDateTime QDateTime::toUTC() const
-
- Returns a datetime containing the date and time information in
- this datetime, but specified using the Qt::UTC definition.
-
- \sa toTimeSpec()
-*/
-
-/*! \internal
- */
-void QDateTime::detach()
-{
- d.detach();
-}
-
-/*****************************************************************************
- Date/time stream functions
- *****************************************************************************/
-
-#ifndef QT_NO_DATASTREAM
-/*!
- \relates QDate
-
- Writes the \a date to stream \a out.
-
- \sa {Serializing Qt Data Types}
-*/
-
-QDataStream &operator<<(QDataStream &out, const QDate &date)
-{
- return out << (quint32)(date.jd);
-}
-
-/*!
- \relates QDate
-
- Reads a date from stream \a in into the \a date.
-
- \sa {Serializing Qt Data Types}
-*/
-
-QDataStream &operator>>(QDataStream &in, QDate &date)
-{
- quint32 jd;
- in >> jd;
- date.jd = jd;
- return in;
-}
-
-/*!
- \relates QTime
-
- Writes \a time to stream \a out.
-
- \sa {Serializing Qt Data Types}
-*/
-
-QDataStream &operator<<(QDataStream &out, const QTime &time)
-{
- return out << quint32(time.mds);
-}
-
-/*!
- \relates QTime
-
- Reads a time from stream \a in into the given \a time.
-
- \sa {Serializing Qt Data Types}
-*/
-
-QDataStream &operator>>(QDataStream &in, QTime &time)
-{
- quint32 ds;
- in >> ds;
- time.mds = int(ds);
- return in;
-}
-
-/*!
- \relates QDateTime
-
- Writes \a dateTime to the \a out stream.
-
- \sa {Serializing Qt Data Types}
-*/
-QDataStream &operator<<(QDataStream &out, const QDateTime &dateTime)
-{
- out << dateTime.d->date << dateTime.d->time;
- if (out.version() >= 7)
- out << (qint8)dateTime.d->spec;
- return out;
-}
-
-/*!
- \relates QDateTime
-
- Reads a datetime from the stream \a in into \a dateTime.
-
- \sa {Serializing Qt Data Types}
-*/
-
-QDataStream &operator>>(QDataStream &in, QDateTime &dateTime)
-{
- dateTime.detach();
-
- qint8 ts = (qint8)QDateTimePrivate::LocalUnknown;
- in >> dateTime.d->date >> dateTime.d->time;
- if (in.version() >= 7)
- in >> ts;
- dateTime.d->spec = (QDateTimePrivate::Spec)ts;
- return in;
-}
-#endif // QT_NO_DATASTREAM
-
-
-/*!
- \fn QString QDate::monthName(int month)
-
- Use shortMonthName() instead.
-*/
-
-/*!
- \fn QString QDate::dayName(int weekday)
-
- Use shortDayName() instead.
-*/
-
-/*!
- \fn bool QDate::leapYear(int year)
-
- Use isLeapYear() instead.
-*/
-
-/*!
- \fn QDate QDate::currentDate(Qt::TimeSpec spec)
-
- If \a spec is Qt::LocalTime, use the currentDate() overload that
- takes no parameters instead; otherwise, use
- QDateTime::currentDateTime().
-
- \oldcode
- QDate localDate = QDate::currentDate(Qt::LocalTime);
- QDate utcDate = QDate::currentDate(Qt::UTC);
- \newcode
- QDate localDate = QDate::currentDate();
- QDate utcDate = QDateTime::currentDateTime().toUTC().date();
- \endcode
-
- \sa QDateTime::toUTC()
-*/
-
-/*!
- \fn QTime QTime::currentTime(Qt::TimeSpec specification)
-
- Returns the current time for the given \a specification.
-
- To replace uses of this function where the \a specification is Qt::LocalTime,
- use the currentDate() overload that takes no parameters instead; otherwise,
- use QDateTime::currentDateTime() and convert the result to a UTC measurement.
-
- \oldcode
- QTime localTime = QTime::currentTime(Qt::LocalTime);
- QTime utcTime = QTime::currentTime(Qt::UTC);
- \newcode
- QTime localTime = QTime::currentTime();
- QTime utcTime = QTimeTime::currentDateTime().toUTC().time();
- \endcode
-
- \sa QDateTime::toUTC()
-*/
-
-/*!
- \fn void QDateTime::setTime_t(uint secsSince1Jan1970UTC, Qt::TimeSpec spec)
-
- Use the single-argument overload of setTime_t() instead.
-*/
-
-/*!
- \fn QDateTime QDateTime::currentDateTime(Qt::TimeSpec spec)
-
- Use the currentDateTime() overload that takes no parameters
- instead.
-*/
-
-// checks if there is an unqoted 'AP' or 'ap' in the string
-static bool hasUnquotedAP(const QString &f)
-{
- const QLatin1Char quote('\'');
- bool inquote = false;
- const int max = f.size();
- for (int i=0; i<max; ++i) {
- if (f.at(i) == quote) {
- inquote = !inquote;
- } else if (!inquote && f.at(i).toUpper() == QLatin1Char('A')) {
- return true;
- }
- }
- return false;
-}
-
-#ifndef QT_NO_DATESTRING
-/*****************************************************************************
- Some static function used by QDate, QTime and QDateTime
-*****************************************************************************/
-
-// Replaces tokens by their value. See QDateTime::toString() for a list of valid tokens
-static QString getFmtString(const QString& f, const QTime* dt = 0, const QDate* dd = 0, bool am_pm = false)
-{
- if (f.isEmpty())
- return QString();
-
- QString buf = f;
- int removed = 0;
-
- if (dt) {
- if (f.startsWith(QLatin1String("hh")) || f.startsWith(QLatin1String("HH"))) {
- const bool hour12 = f.at(0) == QLatin1Char('h') && am_pm;
- if (hour12 && dt->hour() > 12)
- buf = QString::number(dt->hour() - 12).rightJustified(2, QLatin1Char('0'), true);
- else if (hour12 && dt->hour() == 0)
- buf = QLatin1String("12");
- else
- buf = QString::number(dt->hour()).rightJustified(2, QLatin1Char('0'), true);
- removed = 2;
- } else if (f.at(0) == QLatin1Char('h') || f.at(0) == QLatin1Char('H')) {
- const bool hour12 = f.at(0) == QLatin1Char('h') && am_pm;
- if (hour12 && dt->hour() > 12)
- buf = QString::number(dt->hour() - 12);
- else if (hour12 && dt->hour() == 0)
- buf = QLatin1String("12");
- else
- buf = QString::number(dt->hour());
- removed = 1;
- } else if (f.startsWith(QLatin1String("mm"))) {
- buf = QString::number(dt->minute()).rightJustified(2, QLatin1Char('0'), true);
- removed = 2;
- } else if (f.at(0) == (QLatin1Char('m'))) {
- buf = QString::number(dt->minute());
- removed = 1;
- } else if (f.startsWith(QLatin1String("ss"))) {
- buf = QString::number(dt->second()).rightJustified(2, QLatin1Char('0'), true);
- removed = 2;
- } else if (f.at(0) == QLatin1Char('s')) {
- buf = QString::number(dt->second());
- } else if (f.startsWith(QLatin1String("zzz"))) {
- buf = QString::number(dt->msec()).rightJustified(3, QLatin1Char('0'), true);
- removed = 3;
- } else if (f.at(0) == QLatin1Char('z')) {
- buf = QString::number(dt->msec());
- removed = 1;
- } else if (f.at(0).toUpper() == QLatin1Char('A')) {
- const bool upper = f.at(0) == QLatin1Char('A');
- buf = dt->hour() < 12 ? QLatin1String("am") : QLatin1String("pm");
- if (upper)
- buf = buf.toUpper();
- if (f.size() > 1 && f.at(1).toUpper() == QLatin1Char('P') &&
- f.at(0).isUpper() == f.at(1).isUpper()) {
- removed = 2;
- } else {
- removed = 1;
- }
- }
- }
-
- if (dd) {
- if (f.startsWith(QLatin1String("dddd"))) {
- buf = dd->longDayName(dd->dayOfWeek());
- removed = 4;
- } else if (f.startsWith(QLatin1String("ddd"))) {
- buf = dd->shortDayName(dd->dayOfWeek());
- removed = 3;
- } else if (f.startsWith(QLatin1String("dd"))) {
- buf = QString::number(dd->day()).rightJustified(2, QLatin1Char('0'), true);
- removed = 2;
- } else if (f.at(0) == QLatin1Char('d')) {
- buf = QString::number(dd->day());
- removed = 1;
- } else if (f.startsWith(QLatin1String("MMMM"))) {
- buf = dd->longMonthName(dd->month());
- removed = 4;
- } else if (f.startsWith(QLatin1String("MMM"))) {
- buf = dd->shortMonthName(dd->month());
- removed = 3;
- } else if (f.startsWith(QLatin1String("MM"))) {
- buf = QString::number(dd->month()).rightJustified(2, QLatin1Char('0'), true);
- removed = 2;
- } else if (f.at(0) == QLatin1Char('M')) {
- buf = QString::number(dd->month());
- removed = 1;
- } else if (f.startsWith(QLatin1String("yyyy"))) {
- const int year = dd->year();
- buf = QString::number(qAbs(year)).rightJustified(4, QLatin1Char('0'));
- if(year > 0)
- removed = 4;
- else
- {
- buf.prepend(QLatin1Char('-'));
- removed = 5;
- }
-
- } else if (f.startsWith(QLatin1String("yy"))) {
- buf = QString::number(dd->year()).right(2).rightJustified(2, QLatin1Char('0'));
- removed = 2;
- }
- }
- if (removed == 0 || removed >= f.size()) {
- return buf;
- }
-
- return buf + getFmtString(f.mid(removed), dt, dd, am_pm);
-}
-
-// Parses the format string and uses getFmtString to get the values for the tokens. Ret
-static QString fmtDateTime(const QString& f, const QTime* dt, const QDate* dd)
-{
- const QLatin1Char quote('\'');
- if (f.isEmpty())
- return QString();
- if (dt && !dt->isValid())
- return QString();
- if (dd && !dd->isValid())
- return QString();
-
- const bool ap = hasUnquotedAP(f);
-
- QString buf;
- QString frm;
- QChar status(QLatin1Char('0'));
-
- for (int i = 0; i < (int)f.length(); ++i) {
- if (f.at(i) == quote) {
- if (status == quote) {
- if (i > 0 && f.at(i - 1) == quote)
- buf += QLatin1Char('\'');
- status = QLatin1Char('0');
- } else {
- if (!frm.isEmpty()) {
- buf += getFmtString(frm, dt, dd, ap);
- frm.clear();
- }
- status = quote;
- }
- } else if (status == quote) {
- buf += f.at(i);
- } else if (f.at(i) == status) {
- if ((ap) && ((f.at(i) == QLatin1Char('P')) || (f.at(i) == QLatin1Char('p'))))
- status = QLatin1Char('0');
- frm += f.at(i);
- } else {
- buf += getFmtString(frm, dt, dd, ap);
- frm.clear();
- if ((f.at(i) == QLatin1Char('h')) || (f.at(i) == QLatin1Char('m'))
- || (f.at(i) == QLatin1Char('H'))
- || (f.at(i) == QLatin1Char('s')) || (f.at(i) == QLatin1Char('z'))) {
- status = f.at(i);
- frm += f.at(i);
- } else if ((f.at(i) == QLatin1Char('d')) || (f.at(i) == QLatin1Char('M')) || (f.at(i) == QLatin1Char('y'))) {
- status = f.at(i);
- frm += f.at(i);
- } else if ((ap) && (f.at(i) == QLatin1Char('A'))) {
- status = QLatin1Char('P');
- frm += f.at(i);
- } else if((ap) && (f.at(i) == QLatin1Char('a'))) {
- status = QLatin1Char('p');
- frm += f.at(i);
- } else {
- buf += f.at(i);
- status = QLatin1Char('0');
- }
- }
- }
-
- buf += getFmtString(frm, dt, dd, ap);
-
- return buf;
-}
-#endif // QT_NO_DATESTRING
-
-#ifdef Q_OS_WIN
-static const int LowerYear = 1980;
-#else
-static const int LowerYear = 1970;
-#endif
-static const int UpperYear = 2037;
-
-static QDate adjustDate(QDate date)
-{
- QDate lowerLimit(LowerYear, 1, 2);
- QDate upperLimit(UpperYear, 12, 30);
-
- if (date > lowerLimit && date < upperLimit)
- return date;
-
- int month = date.month();
- int day = date.day();
-
- // neither 1970 nor 2037 are leap years, so make sure date isn't Feb 29
- if (month == 2 && day == 29)
- --day;
-
- if (date < lowerLimit)
- date.setDate(LowerYear, month, day);
- else
- date.setDate(UpperYear, month, day);
-
- return date;
-}
-
-static QDateTimePrivate::Spec utcToLocal(QDate &date, QTime &time)
-{
- QDate fakeDate = adjustDate(date);
-
- // won't overflow because of fakeDate
- time_t secsSince1Jan1970UTC = toMSecsSinceEpoch_helper(fakeDate.toJulianDay(), QTime().msecsTo(time)) / 1000;
- tm *brokenDown = 0;
-
-#if defined(Q_OS_WINCE)
- tm res;
- FILETIME utcTime = time_tToFt(secsSince1Jan1970UTC);
- FILETIME resultTime;
- FileTimeToLocalFileTime(&utcTime , &resultTime);
- SYSTEMTIME sysTime;
- FileTimeToSystemTime(&resultTime , &sysTime);
-
- res.tm_sec = sysTime.wSecond;
- res.tm_min = sysTime.wMinute;
- res.tm_hour = sysTime.wHour;
- res.tm_mday = sysTime.wDay;
- res.tm_mon = sysTime.wMonth - 1;
- res.tm_year = sysTime.wYear - 1900;
- brokenDown = &res;
-#elif defined(Q_OS_SYMBIAN)
- // months and days are zero index based
- _LIT(KUnixEpoch, "19700000:000000.000000");
- TTimeIntervalSeconds tTimeIntervalSecsSince1Jan1970UTC(secsSince1Jan1970UTC);
- TTime epochTTime;
- TInt err = epochTTime.Set(KUnixEpoch);
- tm res;
- if(err == KErrNone) {
- TTime utcTTime = epochTTime + tTimeIntervalSecsSince1Jan1970UTC;
- CTrapCleanup *cleanup = CTrapCleanup::New(); // needed to avoid crashes in apps that previously were able to use this function in static data initialization
- TRAP(err,
- RTz tz;
- User::LeaveIfError(tz.Connect());
- CleanupClosePushL(tz);
- CTzId *tzId = tz.GetTimeZoneIdL();
- CleanupStack::PushL(tzId);
- res.tm_isdst = tz.IsDaylightSavingOnL(*tzId,utcTTime);
- User::LeaveIfError(tz.ConvertToLocalTime(utcTTime));
- CleanupStack::PopAndDestroy(tzId);
- CleanupStack::PopAndDestroy(&tz));
- delete cleanup;
- if (KErrNone == err) {
- TDateTime localDateTime = utcTTime.DateTime();
- res.tm_sec = localDateTime.Second();
- res.tm_min = localDateTime.Minute();
- res.tm_hour = localDateTime.Hour();
- res.tm_mday = localDateTime.Day() + 1; // non-zero based index for tm struct
- res.tm_mon = localDateTime.Month();
- res.tm_year = localDateTime.Year() - 1900;
- // Symbian's timezone server doesn't know how to handle DST before year 1997
- if (res.tm_year < 97)
- res.tm_isdst = -1;
- brokenDown = &res;
- }
- }
-#elif !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
- // use the reentrant version of localtime() where available
- tzset();
- tm res;
- brokenDown = localtime_r(&secsSince1Jan1970UTC, &res);
-#elif defined(_MSC_VER) && _MSC_VER >= 1400
- tm res;
- if (!_localtime64_s(&res, &secsSince1Jan1970UTC))
- brokenDown = &res;
-#else
- brokenDown = localtime(&secsSince1Jan1970UTC);
-#endif
- if (!brokenDown) {
- date = QDate(1970, 1, 1);
- time = QTime();
- return QDateTimePrivate::LocalUnknown;
- } else {
- int deltaDays = fakeDate.daysTo(date);
- date = QDate(brokenDown->tm_year + 1900, brokenDown->tm_mon + 1, brokenDown->tm_mday);
- time = QTime(brokenDown->tm_hour, brokenDown->tm_min, brokenDown->tm_sec, time.msec());
- date = date.addDays(deltaDays);
- if (brokenDown->tm_isdst > 0)
- return QDateTimePrivate::LocalDST;
- else if (brokenDown->tm_isdst < 0)
- return QDateTimePrivate::LocalUnknown;
- else
- return QDateTimePrivate::LocalStandard;
- }
-}
-
-static void localToUtc(QDate &date, QTime &time, int isdst)
-{
- if (!date.isValid())
- return;
-
- QDate fakeDate = adjustDate(date);
-
- tm localTM;
- localTM.tm_sec = time.second();
- localTM.tm_min = time.minute();
- localTM.tm_hour = time.hour();
- localTM.tm_mday = fakeDate.day();
- localTM.tm_mon = fakeDate.month() - 1;
- localTM.tm_year = fakeDate.year() - 1900;
- localTM.tm_isdst = (int)isdst;
-#if defined(Q_OS_WINCE) || defined(Q_OS_SYMBIAN)
- time_t secsSince1Jan1970UTC = (toMSecsSinceEpoch_helper(fakeDate.toJulianDay(), QTime().msecsTo(time)) / 1000);
-#else
-#if defined(Q_OS_WIN)
- _tzset();
-#endif
- time_t secsSince1Jan1970UTC = mktime(&localTM);
-#ifdef Q_OS_QNX
- //mktime sometimes fails on QNX. Following workaround converts the date and time then manually
- if (secsSince1Jan1970UTC == (time_t)-1) {
- QDateTime tempTime = QDateTime(date, time, Qt::UTC);;
- tempTime = tempTime.addMSecs(timezone * 1000);
- date = tempTime.date();
- time = tempTime.time();
- return;
- }
-#endif
-#endif
- tm *brokenDown = 0;
-#if defined(Q_OS_WINCE)
- tm res;
- FILETIME localTime = time_tToFt(secsSince1Jan1970UTC);
- SYSTEMTIME sysTime;
- FileTimeToSystemTime(&localTime, &sysTime);
- FILETIME resultTime;
- LocalFileTimeToFileTime(&localTime , &resultTime);
- FileTimeToSystemTime(&resultTime , &sysTime);
- res.tm_sec = sysTime.wSecond;
- res.tm_min = sysTime.wMinute;
- res.tm_hour = sysTime.wHour;
- res.tm_mday = sysTime.wDay;
- res.tm_mon = sysTime.wMonth - 1;
- res.tm_year = sysTime.wYear - 1900;
- res.tm_isdst = (int)isdst;
- brokenDown = &res;
-#elif defined(Q_OS_SYMBIAN)
- // months and days are zero index based
- _LIT(KUnixEpoch, "19700000:000000.000000");
- TTimeIntervalSeconds tTimeIntervalSecsSince1Jan1970UTC(secsSince1Jan1970UTC);
- TTime epochTTime;
- TInt err = epochTTime.Set(KUnixEpoch);
- tm res;
- if(err == KErrNone) {
- TTime localTTime = epochTTime + tTimeIntervalSecsSince1Jan1970UTC;
- RTz tz;
- if (KErrNone == tz.Connect()) {
- if (KErrNone == tz.ConvertToUniversalTime(localTTime)) {
- TDateTime utcDateTime = localTTime.DateTime();
- res.tm_sec = utcDateTime.Second();
- res.tm_min = utcDateTime.Minute();
- res.tm_hour = utcDateTime.Hour();
- res.tm_mday = utcDateTime.Day() + 1; // non-zero based index for tm struct
- res.tm_mon = utcDateTime.Month();
- res.tm_year = utcDateTime.Year() - 1900;
- res.tm_isdst = (int)isdst;
- brokenDown = &res;
- }
- tz.Close();
- }
- }
-#elif !defined(QT_NO_THREAD) && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
- // use the reentrant version of gmtime() where available
- tm res;
- brokenDown = gmtime_r(&secsSince1Jan1970UTC, &res);
-#elif defined(_MSC_VER) && _MSC_VER >= 1400
- tm res;
- if (!_gmtime64_s(&res, &secsSince1Jan1970UTC))
- brokenDown = &res;
-#else
- brokenDown = gmtime(&secsSince1Jan1970UTC);
-#endif // !QT_NO_THREAD && _POSIX_THREAD_SAFE_FUNCTIONS
- if (!brokenDown) {
- date = QDate(1970, 1, 1);
- time = QTime();
- } else {
- int deltaDays = fakeDate.daysTo(date);
- date = QDate(brokenDown->tm_year + 1900, brokenDown->tm_mon + 1, brokenDown->tm_mday);
- time = QTime(brokenDown->tm_hour, brokenDown->tm_min, brokenDown->tm_sec, time.msec());
- date = date.addDays(deltaDays);
- }
-}
-
-QDateTimePrivate::Spec QDateTimePrivate::getLocal(QDate &outDate, QTime &outTime) const
-{
- outDate = date;
- outTime = time;
- if (spec == QDateTimePrivate::UTC)
- return utcToLocal(outDate, outTime);
- return spec;
-}
-
-void QDateTimePrivate::getUTC(QDate &outDate, QTime &outTime) const
-{
- outDate = date;
- outTime = time;
- const bool isOffset = spec == QDateTimePrivate::OffsetFromUTC;
-
- if (spec != QDateTimePrivate::UTC && !isOffset)
- localToUtc(outDate, outTime, (int)spec);
-
- if (isOffset)
- addMSecs(outDate, outTime, -(qint64(utcOffset) * 1000));
-}
-
-#if !defined(QT_NO_DEBUG_STREAM) && !defined(QT_NO_DATESTRING)
-QDebug operator<<(QDebug dbg, const QDate &date)
-{
- dbg.nospace() << "QDate(" << date.toString() << ')';
- return dbg.space();
-}
-
-QDebug operator<<(QDebug dbg, const QTime &time)
-{
- dbg.nospace() << "QTime(" << time.toString() << ')';
- return dbg.space();
-}
-
-QDebug operator<<(QDebug dbg, const QDateTime &date)
-{
- dbg.nospace() << "QDateTime(" << date.toString() << ')';
- return dbg.space();
-}
-#endif
-
-#ifndef QT_BOOTSTRAPPED
-
-/*!
- \internal
- Gets the digit from a datetime. E.g.
-
- QDateTime var(QDate(2004, 02, 02));
- int digit = getDigit(var, Year);
- // digit = 2004
-*/
-
-int QDateTimeParser::getDigit(const QDateTime &t, int index) const
-{
- if (index < 0 || index >= sectionNodes.size()) {
-#ifndef QT_NO_DATESTRING
- qWarning("QDateTimeParser::getDigit() Internal error (%s %d)",
- qPrintable(t.toString()), index);
-#else
- qWarning("QDateTimeParser::getDigit() Internal error (%d)", index);
-#endif
- return -1;
- }
- const SectionNode &node = sectionNodes.at(index);
- switch (node.type) {
- case Hour24Section: case Hour12Section: return t.time().hour();
- case MinuteSection: return t.time().minute();
- case SecondSection: return t.time().second();
- case MSecSection: return t.time().msec();
- case YearSection2Digits:
- case YearSection: return t.date().year();
- case MonthSection: return t.date().month();
- case DaySection: return t.date().day();
- case DayOfWeekSection: return t.date().day();
- case AmPmSection: return t.time().hour() > 11 ? 1 : 0;
-
- default: break;
- }
-
-#ifndef QT_NO_DATESTRING
- qWarning("QDateTimeParser::getDigit() Internal error 2 (%s %d)",
- qPrintable(t.toString()), index);
-#else
- qWarning("QDateTimeParser::getDigit() Internal error 2 (%d)", index);
-#endif
- return -1;
-}
-
-/*!
- \internal
- Sets a digit in a datetime. E.g.
-
- QDateTime var(QDate(2004, 02, 02));
- int digit = getDigit(var, Year);
- // digit = 2004
- setDigit(&var, Year, 2005);
- digit = getDigit(var, Year);
- // digit = 2005
-*/
-
-bool QDateTimeParser::setDigit(QDateTime &v, int index, int newVal) const
-{
- if (index < 0 || index >= sectionNodes.size()) {
-#ifndef QT_NO_DATESTRING
- qWarning("QDateTimeParser::setDigit() Internal error (%s %d %d)",
- qPrintable(v.toString()), index, newVal);
-#else
- qWarning("QDateTimeParser::setDigit() Internal error (%d %d)", index, newVal);
-#endif
- return false;
- }
- const SectionNode &node = sectionNodes.at(index);
-
- int year, month, day, hour, minute, second, msec;
- year = v.date().year();
- month = v.date().month();
- day = v.date().day();
- hour = v.time().hour();
- minute = v.time().minute();
- second = v.time().second();
- msec = v.time().msec();
-
- switch (node.type) {
- case Hour24Section: case Hour12Section: hour = newVal; break;
- case MinuteSection: minute = newVal; break;
- case SecondSection: second = newVal; break;
- case MSecSection: msec = newVal; break;
- case YearSection2Digits:
- case YearSection: year = newVal; break;
- case MonthSection: month = newVal; break;
- case DaySection:
- case DayOfWeekSection:
- if (newVal > 31) {
- // have to keep legacy behavior. setting the
- // date to 32 should return false. Setting it
- // to 31 for february should return true
- return false;
- }
- day = newVal;
- break;
- case AmPmSection: hour = (newVal == 0 ? hour % 12 : (hour % 12) + 12); break;
- default:
- qWarning("QDateTimeParser::setDigit() Internal error (%s)",
- qPrintable(sectionName(node.type)));
- break;
- }
-
- if (!(node.type & (DaySection|DayOfWeekSection))) {
- if (day < cachedDay)
- day = cachedDay;
- const int max = QDate(year, month, 1).daysInMonth();
- if (day > max) {
- day = max;
- }
- }
- if (QDate::isValid(year, month, day) && QTime::isValid(hour, minute, second, msec)) {
- v = QDateTime(QDate(year, month, day), QTime(hour, minute, second, msec), spec);
- return true;
- }
- return false;
-}
-
-
-
-/*!
- \
-
- Returns the absolute maximum for a section
-*/
-
-int QDateTimeParser::absoluteMax(int s, const QDateTime &cur) const
-{
- const SectionNode &sn = sectionNode(s);
- switch (sn.type) {
- case Hour24Section:
- case Hour12Section: return 23; // this is special-cased in
- // parseSection. We want it to be
- // 23 for the stepBy case.
- case MinuteSection:
- case SecondSection: return 59;
- case MSecSection: return 999;
- case YearSection2Digits:
- case YearSection: return 9999; // sectionMaxSize will prevent
- // people from typing in a larger
- // number in count == 2 sections.
- // stepBy() will work on real years anyway
- case MonthSection: return 12;
- case DaySection:
- case DayOfWeekSection: return cur.isValid() ? cur.date().daysInMonth() : 31;
- case AmPmSection: return 1;
- default: break;
- }
- qWarning("QDateTimeParser::absoluteMax() Internal error (%s)",
- qPrintable(sectionName(sn.type)));
- return -1;
-}
-
-/*!
- \internal
-
- Returns the absolute minimum for a section
-*/
-
-int QDateTimeParser::absoluteMin(int s) const
-{
- const SectionNode &sn = sectionNode(s);
- switch (sn.type) {
- case Hour24Section:
- case Hour12Section:
- case MinuteSection:
- case SecondSection:
- case MSecSection:
- case YearSection2Digits:
- case YearSection: return 0;
- case MonthSection:
- case DaySection:
- case DayOfWeekSection: return 1;
- case AmPmSection: return 0;
- default: break;
- }
- qWarning("QDateTimeParser::absoluteMin() Internal error (%s, %0x)",
- qPrintable(sectionName(sn.type)), sn.type);
- return -1;
-}
-
-/*!
- \internal
-
- Returns the sectionNode for the Section \a s.
-*/
-
-const QDateTimeParser::SectionNode &QDateTimeParser::sectionNode(int sectionIndex) const
-{
- if (sectionIndex < 0) {
- switch (sectionIndex) {
- case FirstSectionIndex:
- return first;
- case LastSectionIndex:
- return last;
- case NoSectionIndex:
- return none;
- }
- } else if (sectionIndex < sectionNodes.size()) {
- return sectionNodes.at(sectionIndex);
- }
-
- qWarning("QDateTimeParser::sectionNode() Internal error (%d)",
- sectionIndex);
- return none;
-}
-
-QDateTimeParser::Section QDateTimeParser::sectionType(int sectionIndex) const
-{
- return sectionNode(sectionIndex).type;
-}
-
-
-/*!
- \internal
-
- Returns the starting position for section \a s.
-*/
-
-int QDateTimeParser::sectionPos(int sectionIndex) const
-{
- return sectionPos(sectionNode(sectionIndex));
-}
-
-int QDateTimeParser::sectionPos(const SectionNode &sn) const
-{
- switch (sn.type) {
- case FirstSection: return 0;
- case LastSection: return displayText().size() - 1;
- default: break;
- }
- if (sn.pos == -1) {
- qWarning("QDateTimeParser::sectionPos Internal error (%s)", qPrintable(sectionName(sn.type)));
- return -1;
- }
- return sn.pos;
-}
-
-
-/*!
- \internal helper function for parseFormat. removes quotes that are
- not escaped and removes the escaping on those that are escaped
-
-*/
-
-static QString unquote(const QString &str)
-{
- const QChar quote(QLatin1Char('\''));
- const QChar slash(QLatin1Char('\\'));
- const QChar zero(QLatin1Char('0'));
- QString ret;
- QChar status(zero);
- const int max = str.size();
- for (int i=0; i<max; ++i) {
- if (str.at(i) == quote) {
- if (status != quote) {
- status = quote;
- } else if (!ret.isEmpty() && str.at(i - 1) == slash) {
- ret[ret.size() - 1] = quote;
- } else {
- status = zero;
- }
- } else {
- ret += str.at(i);
- }
- }
- return ret;
-}
-/*!
- \internal
-
- Parses the format \a newFormat. If successful, returns true and
- sets up the format. Else keeps the old format and returns false.
-
-*/
-
-static inline int countRepeat(const QString &str, int index, int maxCount)
-{
- int count = 1;
- const QChar ch(str.at(index));
- const int max = qMin(index + maxCount, str.size());
- while (index + count < max && str.at(index + count) == ch) {
- ++count;
- }
- return count;
-}
-
-static inline void appendSeparator(QStringList *list, const QString &string, int from, int size, int lastQuote)
-{
- QString str(string.mid(from, size));
- if (lastQuote >= from)
- str = unquote(str);
- list->append(str);
-}
-
-
-bool QDateTimeParser::parseFormat(const QString &newFormat)
-{
- const QLatin1Char quote('\'');
- const QLatin1Char slash('\\');
- const QLatin1Char zero('0');
- if (newFormat == displayFormat && !newFormat.isEmpty()) {
- return true;
- }
-
- QDTPDEBUGN("parseFormat: %s", newFormat.toLatin1().constData());
-
- QVector<SectionNode> newSectionNodes;
- Sections newDisplay = 0;
- QStringList newSeparators;
- int i, index = 0;
- int add = 0;
- QChar status(zero);
- const int max = newFormat.size();
- int lastQuote = -1;
- for (i = 0; i<max; ++i) {
- if (newFormat.at(i) == quote) {
- lastQuote = i;
- ++add;
- if (status != quote) {
- status = quote;
- } else if (newFormat.at(i - 1) != slash) {
- status = zero;
- }
- } else if (status != quote) {
- const char sect = newFormat.at(i).toLatin1();
- switch (sect) {
- case 'H':
- case 'h':
- if (parserType != QVariant::Date) {
- const Section hour = (sect == 'h') ? Hour12Section : Hour24Section;
- const SectionNode sn = { hour, i - add, countRepeat(newFormat, i, 2) };
- newSectionNodes.append(sn);
- appendSeparator(&newSeparators, newFormat, index, i - index, lastQuote);
- i += sn.count - 1;
- index = i + 1;
- newDisplay |= hour;
- }
- break;
- case 'm':
- if (parserType != QVariant::Date) {
- const SectionNode sn = { MinuteSection, i - add, countRepeat(newFormat, i, 2) };
- newSectionNodes.append(sn);
- appendSeparator(&newSeparators, newFormat, index, i - index, lastQuote);
- i += sn.count - 1;
- index = i + 1;
- newDisplay |= MinuteSection;
- }
- break;
- case 's':
- if (parserType != QVariant::Date) {
- const SectionNode sn = { SecondSection, i - add, countRepeat(newFormat, i, 2) };
- newSectionNodes.append(sn);
- appendSeparator(&newSeparators, newFormat, index, i - index, lastQuote);
- i += sn.count - 1;
- index = i + 1;
- newDisplay |= SecondSection;
- }
- break;
-
- case 'z':
- if (parserType != QVariant::Date) {
- const SectionNode sn = { MSecSection, i - add, countRepeat(newFormat, i, 3) < 3 ? 1 : 3 };
- newSectionNodes.append(sn);
- appendSeparator(&newSeparators, newFormat, index, i - index, lastQuote);
- i += sn.count - 1;
- index = i + 1;
- newDisplay |= MSecSection;
- }
- break;
- case 'A':
- case 'a':
- if (parserType != QVariant::Date) {
- const bool cap = (sect == 'A');
- const SectionNode sn = { AmPmSection, i - add, (cap ? 1 : 0) };
- newSectionNodes.append(sn);
- appendSeparator(&newSeparators, newFormat, index, i - index, lastQuote);
- newDisplay |= AmPmSection;
- if (i + 1 < newFormat.size()
- && newFormat.at(i+1) == (cap ? QLatin1Char('P') : QLatin1Char('p'))) {
- ++i;
- }
- index = i + 1;
- }
- break;
- case 'y':
- if (parserType != QVariant::Time) {
- const int repeat = countRepeat(newFormat, i, 4);
- if (repeat >= 2) {
- const SectionNode sn = { repeat == 4 ? YearSection : YearSection2Digits,
- i - add, repeat == 4 ? 4 : 2 };
- newSectionNodes.append(sn);
- appendSeparator(&newSeparators, newFormat, index, i - index, lastQuote);
- i += sn.count - 1;
- index = i + 1;
- newDisplay |= sn.type;
- }
- }
- break;
- case 'M':
- if (parserType != QVariant::Time) {
- const SectionNode sn = { MonthSection, i - add, countRepeat(newFormat, i, 4) };
- newSectionNodes.append(sn);
- newSeparators.append(unquote(newFormat.mid(index, i - index)));
- i += sn.count - 1;
- index = i + 1;
- newDisplay |= MonthSection;
- }
- break;
- case 'd':
- if (parserType != QVariant::Time) {
- const int repeat = countRepeat(newFormat, i, 4);
- const SectionNode sn = { repeat >= 3 ? DayOfWeekSection : DaySection, i - add, repeat };
- newSectionNodes.append(sn);
- appendSeparator(&newSeparators, newFormat, index, i - index, lastQuote);
- i += sn.count - 1;
- index = i + 1;
- newDisplay |= sn.type;
- }
- break;
-
- default:
- break;
- }
- }
- }
- if (newSectionNodes.isEmpty() && context == DateTimeEdit) {
- return false;
- }
-
- if ((newDisplay & (AmPmSection|Hour12Section)) == Hour12Section) {
- const int max = newSectionNodes.size();
- for (int i=0; i<max; ++i) {
- SectionNode &node = newSectionNodes[i];
- if (node.type == Hour12Section)
- node.type = Hour24Section;
- }
- }
-
- if (index < newFormat.size()) {
- appendSeparator(&newSeparators, newFormat, index, index - max, lastQuote);
- } else {
- newSeparators.append(QString());
- }
-
- displayFormat = newFormat;
- separators = newSeparators;
- sectionNodes = newSectionNodes;
- display = newDisplay;
- last.pos = -1;
-
-// for (int i=0; i<sectionNodes.size(); ++i) {
-// QDTPDEBUG << sectionName(sectionNodes.at(i).type) << sectionNodes.at(i).count;
-// }
-
- QDTPDEBUG << newFormat << displayFormat;
- QDTPDEBUGN("separators:\n'%s'", separators.join(QLatin1String("\n")).toLatin1().constData());
-
- return true;
-}
-
-/*!
- \internal
-
- Returns the size of section \a s.
-*/
-
-int QDateTimeParser::sectionSize(int sectionIndex) const
-{
- if (sectionIndex < 0)
- return 0;
-
- if (sectionIndex >= sectionNodes.size()) {
- qWarning("QDateTimeParser::sectionSize Internal error (%d)", sectionIndex);
- return -1;
- }
- if (sectionIndex == sectionNodes.size() - 1) {
- return displayText().size() - sectionPos(sectionIndex) - separators.last().size();
- } else {
- return sectionPos(sectionIndex + 1) - sectionPos(sectionIndex)
- - separators.at(sectionIndex + 1).size();
- }
-}
-
-
-int QDateTimeParser::sectionMaxSize(Section s, int count) const
-{
-#ifndef QT_NO_TEXTDATE
- int mcount = 12;
-#endif
-
- switch (s) {
- case FirstSection:
- case NoSection:
- case LastSection: return 0;
-
- case AmPmSection: {
- const int lowerMax = qMin(getAmPmText(AmText, LowerCase).size(),
- getAmPmText(PmText, LowerCase).size());
- const int upperMax = qMin(getAmPmText(AmText, UpperCase).size(),
- getAmPmText(PmText, UpperCase).size());
- return qMin(4, qMin(lowerMax, upperMax));
- }
-
- case Hour24Section:
- case Hour12Section:
- case MinuteSection:
- case SecondSection:
- case DaySection: return 2;
- case DayOfWeekSection:
-#ifdef QT_NO_TEXTDATE
- return 2;
-#else
- mcount = 7;
- // fall through
-#endif
- case MonthSection:
- if (count <= 2)
- return 2;
-
-#ifdef QT_NO_TEXTDATE
- return 2;
-#else
- {
- int ret = 0;
- const QLocale l = locale();
- for (int i=1; i<=mcount; ++i) {
- const QString str = (s == MonthSection
- ? l.monthName(i, count == 4 ? QLocale::LongFormat : QLocale::ShortFormat)
- : l.dayName(i, count == 4 ? QLocale::LongFormat : QLocale::ShortFormat));
- ret = qMax(str.size(), ret);
- }
- return ret;
- }
-#endif
- case MSecSection: return 3;
- case YearSection: return 4;
- case YearSection2Digits: return 2;
-
- case CalendarPopupSection:
- case Internal:
- case TimeSectionMask:
- case DateSectionMask:
- qWarning("QDateTimeParser::sectionMaxSize: Invalid section %s",
- sectionName(s).toLatin1().constData());
-
- case NoSectionIndex:
- case FirstSectionIndex:
- case LastSectionIndex:
- case CalendarPopupIndex:
- // these cases can't happen
- break;
- }
- return -1;
-}
-
-
-int QDateTimeParser::sectionMaxSize(int index) const
-{
- const SectionNode &sn = sectionNode(index);
- return sectionMaxSize(sn.type, sn.count);
-}
-
-/*!
- \internal
-
- Returns the text of section \a s. This function operates on the
- arg text rather than edit->text().
-*/
-
-
-QString QDateTimeParser::sectionText(const QString &text, int sectionIndex, int index) const
-{
- const SectionNode &sn = sectionNode(sectionIndex);
- switch (sn.type) {
- case NoSectionIndex:
- case FirstSectionIndex:
- case LastSectionIndex:
- return QString();
- default: break;
- }
-
- return text.mid(index, sectionSize(sectionIndex));
-}
-
-QString QDateTimeParser::sectionText(int sectionIndex) const
-{
- const SectionNode &sn = sectionNode(sectionIndex);
- switch (sn.type) {
- case NoSectionIndex:
- case FirstSectionIndex:
- case LastSectionIndex:
- return QString();
- default: break;
- }
-
- return displayText().mid(sn.pos, sectionSize(sectionIndex));
-}
-
-
-#ifndef QT_NO_TEXTDATE
-/*!
- \internal:skipToNextSection
-
- Parses the part of \a text that corresponds to \a s and returns
- the value of that field. Sets *stateptr to the right state if
- stateptr != 0.
-*/
-
-int QDateTimeParser::parseSection(const QDateTime ¤tValue, int sectionIndex,
- QString &text, int &cursorPosition, int index,
- State &state, int *usedptr) const
-{
- state = Invalid;
- int num = 0;
- const SectionNode &sn = sectionNode(sectionIndex);
- if ((sn.type & Internal) == Internal) {
- qWarning("QDateTimeParser::parseSection Internal error (%s %d)",
- qPrintable(sectionName(sn.type)), sectionIndex);
- return -1;
- }
-
- const int sectionmaxsize = sectionMaxSize(sectionIndex);
- QString sectiontext = text.mid(index, sectionmaxsize);
- int sectiontextSize = sectiontext.size();
-
- QDTPDEBUG << "sectionValue for" << sectionName(sn.type)
- << "with text" << text << "and st" << sectiontext
- << text.mid(index, sectionmaxsize)
- << index;
-
- int used = 0;
- switch (sn.type) {
- case AmPmSection: {
- const int ampm = findAmPm(sectiontext, sectionIndex, &used);
- switch (ampm) {
- case AM: // sectiontext == AM
- case PM: // sectiontext == PM
- num = ampm;
- state = Acceptable;
- break;
- case PossibleAM: // sectiontext => AM
- case PossiblePM: // sectiontext => PM
- num = ampm - 2;
- state = Intermediate;
- break;
- case PossibleBoth: // sectiontext => AM|PM
- num = 0;
- state = Intermediate;
- break;
- case Neither:
- state = Invalid;
- QDTPDEBUG << "invalid because findAmPm(" << sectiontext << ") returned -1";
- break;
- default:
- QDTPDEBUGN("This should never happen (findAmPm returned %d)", ampm);
- break;
- }
- if (state != Invalid) {
- QString str = text;
- text.replace(index, used, sectiontext.left(used));
- }
- break; }
- case MonthSection:
- case DayOfWeekSection:
- if (sn.count >= 3) {
- if (sn.type == MonthSection) {
- int min = 1;
- const QDate minDate = getMinimum().date();
- if (currentValue.date().year() == minDate.year()) {
- min = minDate.month();
- }
- num = findMonth(sectiontext.toLower(), min, sectionIndex, §iontext, &used);
- } else {
- num = findDay(sectiontext.toLower(), 1, sectionIndex, §iontext, &used);
- }
-
- if (num != -1) {
- state = (used == sectiontext.size() ? Acceptable : Intermediate);
- QString str = text;
- text.replace(index, used, sectiontext.left(used));
- } else {
- state = Intermediate;
- }
- break; }
- // fall through
- case DaySection:
- case YearSection:
- case YearSection2Digits:
- case Hour12Section:
- case Hour24Section:
- case MinuteSection:
- case SecondSection:
- case MSecSection: {
- if (sectiontextSize == 0) {
- num = 0;
- used = 0;
- state = Intermediate;
- } else {
- const int absMax = absoluteMax(sectionIndex);
- QLocale loc;
- bool ok = true;
- int last = -1;
- used = -1;
-
- QString digitsStr(sectiontext);
- for (int i = 0; i < sectiontextSize; ++i) {
- if (digitsStr.at(i).isSpace()) {
- sectiontextSize = i;
- break;
- }
- }
-
- const int max = qMin(sectionmaxsize, sectiontextSize);
- for (int digits = max; digits >= 1; --digits) {
- digitsStr.truncate(digits);
- int tmp = (int)loc.toUInt(digitsStr, &ok, 10);
- if (ok && sn.type == Hour12Section) {
- if (tmp > 12) {
- tmp = -1;
- ok = false;
- } else if (tmp == 12) {
- tmp = 0;
- }
- }
- if (ok && tmp <= absMax) {
- QDTPDEBUG << sectiontext.left(digits) << tmp << digits;
- last = tmp;
- used = digits;
- break;
- }
- }
-
- if (last == -1) {
- QChar first(sectiontext.at(0));
- if (separators.at(sectionIndex + 1).startsWith(first)) {
- used = 0;
- state = Intermediate;
- } else {
- state = Invalid;
- QDTPDEBUG << "invalid because" << sectiontext << "can't become a uint" << last << ok;
- }
- } else {
- num += last;
- const FieldInfo fi = fieldInfo(sectionIndex);
- const bool done = (used == sectionmaxsize);
- if (!done && fi & Fraction) { // typing 2 in a zzz field should be .200, not .002
- for (int i=used; i<sectionmaxsize; ++i) {
- num *= 10;
- }
- }
- const int absMin = absoluteMin(sectionIndex);
- if (num < absMin) {
- state = done ? Invalid : Intermediate;
- if (done)
- QDTPDEBUG << "invalid because" << num << "is less than absoluteMin" << absMin;
- } else if (num > absMax) {
- state = Intermediate;
- } else if (!done && (fi & (FixedWidth|Numeric)) == (FixedWidth|Numeric)) {
- if (skipToNextSection(sectionIndex, currentValue, digitsStr)) {
- state = Acceptable;
- const int missingZeroes = sectionmaxsize - digitsStr.size();
- text.insert(index, QString().fill(QLatin1Char('0'), missingZeroes));
- used = sectionmaxsize;
- cursorPosition += missingZeroes;
- } else {
- state = Intermediate;;
- }
- } else {
- state = Acceptable;
- }
- }
- }
- break; }
- default:
- qWarning("QDateTimeParser::parseSection Internal error (%s %d)",
- qPrintable(sectionName(sn.type)), sectionIndex);
- return -1;
- }
-
- if (usedptr)
- *usedptr = used;
-
- return (state != Invalid ? num : -1);
-}
-#endif // QT_NO_TEXTDATE
-
-#ifndef QT_NO_DATESTRING
-/*!
- \internal
-*/
-
-QDateTimeParser::StateNode QDateTimeParser::parse(QString &input, int &cursorPosition,
- const QDateTime ¤tValue, bool fixup) const
-{
- const QDateTime minimum = getMinimum();
- const QDateTime maximum = getMaximum();
-
- State state = Acceptable;
-
- QDateTime newCurrentValue;
- int pos = 0;
- bool conflicts = false;
- const int sectionNodesCount = sectionNodes.size();
-
- QDTPDEBUG << "parse" << input;
- {
- int year, month, day, hour12, hour, minute, second, msec, ampm, dayofweek, year2digits;
- getDateFromJulianDay(currentValue.date().toJulianDay(), &year, &month, &day);
- year2digits = year % 100;
- hour = currentValue.time().hour();
- hour12 = -1;
- minute = currentValue.time().minute();
- second = currentValue.time().second();
- msec = currentValue.time().msec();
- dayofweek = currentValue.date().dayOfWeek();
-
- ampm = -1;
- Sections isSet = NoSection;
- int num;
- State tmpstate;
-
- for (int index=0; state != Invalid && index<sectionNodesCount; ++index) {
- if (QStringRef(&input, pos, separators.at(index).size()) != separators.at(index)) {
- QDTPDEBUG << "invalid because" << input.mid(pos, separators.at(index).size())
- << "!=" << separators.at(index)
- << index << pos << currentSectionIndex;
- state = Invalid;
- goto end;
- }
- pos += separators.at(index).size();
- sectionNodes[index].pos = pos;
- int *current = 0;
- const SectionNode sn = sectionNodes.at(index);
- int used;
-
- num = parseSection(currentValue, index, input, cursorPosition, pos, tmpstate, &used);
- QDTPDEBUG << "sectionValue" << sectionName(sectionType(index)) << input
- << "pos" << pos << "used" << used << stateName(tmpstate);
- if (fixup && tmpstate == Intermediate && used < sn.count) {
- const FieldInfo fi = fieldInfo(index);
- if ((fi & (Numeric|FixedWidth)) == (Numeric|FixedWidth)) {
- const QString newText = QString::fromLatin1("%1").arg(num, sn.count, 10, QLatin1Char('0'));
- input.replace(pos, used, newText);
- used = sn.count;
- }
- }
- pos += qMax(0, used);
-
- state = qMin<State>(state, tmpstate);
- if (state == Intermediate && context == FromString) {
- state = Invalid;
- break;
- }
-
- QDTPDEBUG << index << sectionName(sectionType(index)) << "is set to"
- << pos << "state is" << stateName(state);
-
-
- if (state != Invalid) {
- switch (sn.type) {
- case Hour24Section: current = &hour; break;
- case Hour12Section: current = &hour12; break;
- case MinuteSection: current = &minute; break;
- case SecondSection: current = &second; break;
- case MSecSection: current = &msec; break;
- case YearSection: current = &year; break;
- case YearSection2Digits: current = &year2digits; break;
- case MonthSection: current = &month; break;
- case DayOfWeekSection: current = &dayofweek; break;
- case DaySection: current = &day; num = qMax<int>(1, num); break;
- case AmPmSection: current = &m; break;
- default:
- qWarning("QDateTimeParser::parse Internal error (%s)",
- qPrintable(sectionName(sn.type)));
- break;
- }
- if (!current) {
- qWarning("QDateTimeParser::parse Internal error 2");
- return StateNode();
- }
- if (isSet & sn.type && *current != num) {
- QDTPDEBUG << "CONFLICT " << sectionName(sn.type) << *current << num;
- conflicts = true;
- if (index != currentSectionIndex || num == -1) {
- continue;
- }
- }
- if (num != -1)
- *current = num;
- isSet |= sn.type;
- }
- }
-
- if (state != Invalid && QStringRef(&input, pos, input.size() - pos) != separators.last()) {
- QDTPDEBUG << "invalid because" << input.mid(pos)
- << "!=" << separators.last() << pos;
- state = Invalid;
- }
-
- if (state != Invalid) {
- if (parserType != QVariant::Time) {
- if (year % 100 != year2digits) {
- switch (isSet & (YearSection2Digits|YearSection)) {
- case YearSection2Digits:
- year = (year / 100) * 100;
- year += year2digits;
- break;
- case ((uint)YearSection2Digits|(uint)YearSection): {
- conflicts = true;
- const SectionNode &sn = sectionNode(currentSectionIndex);
- if (sn.type == YearSection2Digits) {
- year = (year / 100) * 100;
- year += year2digits;
- }
- break; }
- default:
- break;
- }
- }
-
- const QDate date(year, month, day);
- const int diff = dayofweek - date.dayOfWeek();
- if (diff != 0 && state == Acceptable && isSet & DayOfWeekSection) {
- conflicts = isSet & DaySection;
- const SectionNode &sn = sectionNode(currentSectionIndex);
- if (sn.type == DayOfWeekSection || currentSectionIndex == -1) {
- // dayofweek should be preferred
- day += diff;
- if (day <= 0) {
- day += 7;
- } else if (day > date.daysInMonth()) {
- day -= 7;
- }
- QDTPDEBUG << year << month << day << dayofweek
- << diff << QDate(year, month, day).dayOfWeek();
- }
- }
- bool needfixday = false;
- if (sectionType(currentSectionIndex) & (DaySection|DayOfWeekSection)) {
- cachedDay = day;
- } else if (cachedDay > day) {
- day = cachedDay;
- needfixday = true;
- }
-
- if (!QDate::isValid(year, month, day)) {
- if (day < 32) {
- cachedDay = day;
- }
- if (day > 28 && QDate::isValid(year, month, 1)) {
- needfixday = true;
- }
- }
- if (needfixday) {
- if (context == FromString) {
- state = Invalid;
- goto end;
- }
- if (state == Acceptable && fixday) {
- day = qMin<int>(day, QDate(year, month, 1).daysInMonth());
-
- const QLocale loc = locale();
- for (int i=0; i<sectionNodesCount; ++i) {
- if (sectionType(i) & (DaySection|DayOfWeekSection)) {
- input.replace(sectionPos(i), sectionSize(i), loc.toString(day));
- }
- }
- } else {
- state = qMin(Intermediate, state);
- }
- }
- }
-
- if (parserType != QVariant::Date) {
- if (isSet & Hour12Section) {
- const bool hasHour = isSet & Hour24Section;
- if (ampm == -1) {
- if (hasHour) {
- ampm = (hour < 12 ? 0 : 1);
- } else {
- ampm = 0; // no way to tell if this is am or pm so I assume am
- }
- }
- hour12 = (ampm == 0 ? hour12 % 12 : (hour12 % 12) + 12);
- if (!hasHour) {
- hour = hour12;
- } else if (hour != hour12) {
- conflicts = true;
- }
- } else if (ampm != -1) {
- if (!(isSet & (Hour24Section))) {
- hour = (12 * ampm); // special case. Only ap section
- } else if ((ampm == 0) != (hour < 12)) {
- conflicts = true;
- }
- }
-
- }
-
- newCurrentValue = QDateTime(QDate(year, month, day), QTime(hour, minute, second, msec), spec);
- QDTPDEBUG << year << month << day << hour << minute << second << msec;
- }
- QDTPDEBUGN("'%s' => '%s'(%s)", input.toLatin1().constData(),
- newCurrentValue.toString(QLatin1String("yyyy/MM/dd hh:mm:ss.zzz")).toLatin1().constData(),
- stateName(state).toLatin1().constData());
- }
-end:
- if (newCurrentValue.isValid()) {
- if (context != FromString && state != Invalid && newCurrentValue < minimum) {
- const QLatin1Char space(' ');
- if (newCurrentValue >= minimum)
- qWarning("QDateTimeParser::parse Internal error 3 (%s %s)",
- qPrintable(newCurrentValue.toString()), qPrintable(minimum.toString()));
-
- bool done = false;
- state = Invalid;
- for (int i=0; i<sectionNodesCount && !done; ++i) {
- const SectionNode &sn = sectionNodes.at(i);
- QString t = sectionText(input, i, sn.pos).toLower();
- if ((t.size() < sectionMaxSize(i) && (((int)fieldInfo(i) & (FixedWidth|Numeric)) != Numeric))
- || t.contains(space)) {
- switch (sn.type) {
- case AmPmSection:
- switch (findAmPm(t, i)) {
- case AM:
- case PM:
- state = Acceptable;
- done = true;
- break;
- case Neither:
- state = Invalid;
- done = true;
- break;
- case PossibleAM:
- case PossiblePM:
- case PossibleBoth: {
- const QDateTime copy(newCurrentValue.addSecs(12 * 60 * 60));
- if (copy >= minimum && copy <= maximum) {
- state = Intermediate;
- done = true;
- }
- break; }
- }
- case MonthSection:
- if (sn.count >= 3) {
- int tmp = newCurrentValue.date().month();
- // I know the first possible month makes the date too early
- while ((tmp = findMonth(t, tmp + 1, i)) != -1) {
- const QDateTime copy(newCurrentValue.addMonths(tmp - newCurrentValue.date().month()));
- if (copy >= minimum && copy <= maximum)
- break; // break out of while
- }
- if (tmp == -1) {
- break;
- }
- state = Intermediate;
- done = true;
- break;
- }
- // fallthrough
- default: {
- int toMin;
- int toMax;
-
- if (sn.type & TimeSectionMask) {
- if (newCurrentValue.daysTo(minimum) != 0) {
- break;
- }
- toMin = newCurrentValue.time().msecsTo(minimum.time());
- if (newCurrentValue.daysTo(maximum) > 0) {
- toMax = -1; // can't get to max
- } else {
- toMax = newCurrentValue.time().msecsTo(maximum.time());
- }
- } else {
- toMin = newCurrentValue.daysTo(minimum);
- toMax = newCurrentValue.daysTo(maximum);
- }
- const int maxChange = QDateTimeParser::maxChange(i);
- if (toMin > maxChange) {
- QDTPDEBUG << "invalid because toMin > maxChange" << toMin
- << maxChange << t << newCurrentValue << minimum;
- state = Invalid;
- done = true;
- break;
- } else if (toMax > maxChange) {
- toMax = -1; // can't get to max
- }
-
- const int min = getDigit(minimum, i);
- if (min == -1) {
- qWarning("QDateTimeParser::parse Internal error 4 (%s)",
- qPrintable(sectionName(sn.type)));
- state = Invalid;
- done = true;
- break;
- }
-
- int max = toMax != -1 ? getDigit(maximum, i) : absoluteMax(i, newCurrentValue);
- int pos = cursorPosition - sn.pos;
- if (pos < 0 || pos >= t.size())
- pos = -1;
- if (!potentialValue(t.simplified(), min, max, i, newCurrentValue, pos)) {
- QDTPDEBUG << "invalid because potentialValue(" << t.simplified() << min << max
- << sectionName(sn.type) << "returned" << toMax << toMin << pos;
- state = Invalid;
- done = true;
- break;
- }
- state = Intermediate;
- done = true;
- break; }
- }
- }
- }
- } else {
- if (context == FromString) {
- // optimization
- Q_ASSERT(getMaximum().date().toJulianDay() == 4642999);
- if (newCurrentValue.date().toJulianDay() > 4642999)
- state = Invalid;
- } else {
- if (newCurrentValue > getMaximum())
- state = Invalid;
- }
-
- QDTPDEBUG << "not checking intermediate because newCurrentValue is" << newCurrentValue << getMinimum() << getMaximum();
- }
- }
- StateNode node;
- node.input = input;
- node.state = state;
- node.conflicts = conflicts;
- node.value = newCurrentValue.toTimeSpec(spec);
- text = input;
- return node;
-}
-#endif // QT_NO_DATESTRING
-
-#ifndef QT_NO_TEXTDATE
-/*!
- \internal finds the first possible monthname that \a str1 can
- match. Starting from \a index; str should already by lowered
-*/
-
-int QDateTimeParser::findMonth(const QString &str1, int startMonth, int sectionIndex,
- QString *usedMonth, int *used) const
-{
- int bestMatch = -1;
- int bestCount = 0;
- if (!str1.isEmpty()) {
- const SectionNode &sn = sectionNode(sectionIndex);
- if (sn.type != MonthSection) {
- qWarning("QDateTimeParser::findMonth Internal error");
- return -1;
- }
-
- QLocale::FormatType type = sn.count == 3 ? QLocale::ShortFormat : QLocale::LongFormat;
- QLocale l = locale();
-
- for (int month=startMonth; month<=12; ++month) {
- QString str2 = l.monthName(month, type).toLower();
-
- if (str1.startsWith(str2)) {
- if (used) {
- QDTPDEBUG << "used is set to" << str2.size();
- *used = str2.size();
- }
- if (usedMonth)
- *usedMonth = l.monthName(month, type);
-
- return month;
- }
- if (context == FromString)
- continue;
-
- const int limit = qMin(str1.size(), str2.size());
-
- QDTPDEBUG << "limit is" << limit << str1 << str2;
- bool equal = true;
- for (int i=0; i<limit; ++i) {
- if (str1.at(i) != str2.at(i)) {
- equal = false;
- if (i > bestCount) {
- bestCount = i;
- bestMatch = month;
- }
- break;
- }
- }
- if (equal) {
- if (used)
- *used = limit;
- if (usedMonth)
- *usedMonth = l.monthName(month, type);
- return month;
- }
- }
- if (usedMonth && bestMatch != -1)
- *usedMonth = l.monthName(bestMatch, type);
- }
- if (used) {
- QDTPDEBUG << "used is set to" << bestCount;
- *used = bestCount;
- }
- return bestMatch;
-}
-
-int QDateTimeParser::findDay(const QString &str1, int startDay, int sectionIndex, QString *usedDay, int *used) const
-{
- int bestMatch = -1;
- int bestCount = 0;
- if (!str1.isEmpty()) {
- const SectionNode &sn = sectionNode(sectionIndex);
- if (!(sn.type & (DaySection|DayOfWeekSection))) {
- qWarning("QDateTimeParser::findDay Internal error");
- return -1;
- }
- const QLocale l = locale();
- for (int day=startDay; day<=7; ++day) {
- const QString str2 = l.dayName(day, sn.count == 4 ? QLocale::LongFormat : QLocale::ShortFormat);
-
- if (str1.startsWith(str2.toLower())) {
- if (used)
- *used = str2.size();
- if (usedDay) {
- *usedDay = str2;
- }
- return day;
- }
- if (context == FromString)
- continue;
-
- const int limit = qMin(str1.size(), str2.size());
- bool found = true;
- for (int i=0; i<limit; ++i) {
- if (str1.at(i) != str2.at(i) && !str1.at(i).isSpace()) {
- if (i > bestCount) {
- bestCount = i;
- bestMatch = day;
- }
- found = false;
- break;
- }
-
- }
- if (found) {
- if (used)
- *used = limit;
- if (usedDay)
- *usedDay = str2;
-
- return day;
- }
- }
- if (usedDay && bestMatch != -1) {
- *usedDay = l.dayName(bestMatch, sn.count == 4 ? QLocale::LongFormat : QLocale::ShortFormat);
- }
- }
- if (used)
- *used = bestCount;
-
- return bestMatch;
-}
-#endif // QT_NO_TEXTDATE
-
-/*!
- \internal
-
- returns
- 0 if str == QDateTimeEdit::tr("AM")
- 1 if str == QDateTimeEdit::tr("PM")
- 2 if str can become QDateTimeEdit::tr("AM")
- 3 if str can become QDateTimeEdit::tr("PM")
- 4 if str can become QDateTimeEdit::tr("PM") and can become QDateTimeEdit::tr("AM")
- -1 can't become anything sensible
-
-*/
-
-int QDateTimeParser::findAmPm(QString &str, int index, int *used) const
-{
- const SectionNode &s = sectionNode(index);
- if (s.type != AmPmSection) {
- qWarning("QDateTimeParser::findAmPm Internal error");
- return -1;
- }
- if (used)
- *used = str.size();
- if (str.trimmed().isEmpty()) {
- return PossibleBoth;
- }
- const QLatin1Char space(' ');
- int size = sectionMaxSize(index);
-
- enum {
- amindex = 0,
- pmindex = 1
- };
- QString ampm[2];
- ampm[amindex] = getAmPmText(AmText, s.count == 1 ? UpperCase : LowerCase);
- ampm[pmindex] = getAmPmText(PmText, s.count == 1 ? UpperCase : LowerCase);
- for (int i=0; i<2; ++i)
- ampm[i].truncate(size);
-
- QDTPDEBUG << "findAmPm" << str << ampm[0] << ampm[1];
-
- if (str.indexOf(ampm[amindex], 0, Qt::CaseInsensitive) == 0) {
- str = ampm[amindex];
- return AM;
- } else if (str.indexOf(ampm[pmindex], 0, Qt::CaseInsensitive) == 0) {
- str = ampm[pmindex];
- return PM;
- } else if (context == FromString || (str.count(space) == 0 && str.size() >= size)) {
- return Neither;
- }
- size = qMin(size, str.size());
-
- bool broken[2] = {false, false};
- for (int i=0; i<size; ++i) {
- if (str.at(i) != space) {
- for (int j=0; j<2; ++j) {
- if (!broken[j]) {
- int index = ampm[j].indexOf(str.at(i));
- QDTPDEBUG << "looking for" << str.at(i)
- << "in" << ampm[j] << "and got" << index;
- if (index == -1) {
- if (str.at(i).category() == QChar::Letter_Uppercase) {
- index = ampm[j].indexOf(str.at(i).toLower());
- QDTPDEBUG << "trying with" << str.at(i).toLower()
- << "in" << ampm[j] << "and got" << index;
- } else if (str.at(i).category() == QChar::Letter_Lowercase) {
- index = ampm[j].indexOf(str.at(i).toUpper());
- QDTPDEBUG << "trying with" << str.at(i).toUpper()
- << "in" << ampm[j] << "and got" << index;
- }
- if (index == -1) {
- broken[j] = true;
- if (broken[amindex] && broken[pmindex]) {
- QDTPDEBUG << str << "didn't make it";
- return Neither;
- }
- continue;
- } else {
- str[i] = ampm[j].at(index); // fix case
- }
- }
- ampm[j].remove(index, 1);
- }
- }
- }
- }
- if (!broken[pmindex] && !broken[amindex])
- return PossibleBoth;
- return (!broken[amindex] ? PossibleAM : PossiblePM);
-}
-
-/*!
- \internal
- Max number of units that can be changed by this section.
-*/
-
-int QDateTimeParser::maxChange(int index) const
-{
- const SectionNode &sn = sectionNode(index);
- switch (sn.type) {
- // Time. unit is msec
- case MSecSection: return 999;
- case SecondSection: return 59 * 1000;
- case MinuteSection: return 59 * 60 * 1000;
- case Hour24Section: case Hour12Section: return 59 * 60 * 60 * 1000;
-
- // Date. unit is day
- case DayOfWeekSection: return 7;
- case DaySection: return 30;
- case MonthSection: return 365 - 31;
- case YearSection: return 9999 * 365;
- case YearSection2Digits: return 100 * 365;
- default:
- qWarning("QDateTimeParser::maxChange() Internal error (%s)",
- qPrintable(sectionName(sectionType(index))));
- }
-
- return -1;
-}
-
-QDateTimeParser::FieldInfo QDateTimeParser::fieldInfo(int index) const
-{
- FieldInfo ret = 0;
- const SectionNode &sn = sectionNode(index);
- const Section s = sn.type;
- switch (s) {
- case MSecSection:
- ret |= Fraction;
- // fallthrough
- case SecondSection:
- case MinuteSection:
- case Hour24Section:
- case Hour12Section:
- case YearSection:
- case YearSection2Digits:
- ret |= Numeric;
- if (s != YearSection) {
- ret |= AllowPartial;
- }
- if (sn.count != 1) {
- ret |= FixedWidth;
- }
- break;
- case MonthSection:
- case DaySection:
- switch (sn.count) {
- case 2:
- ret |= FixedWidth;
- // fallthrough
- case 1:
- ret |= (Numeric|AllowPartial);
- break;
- }
- break;
- case DayOfWeekSection:
- if (sn.count == 3)
- ret |= FixedWidth;
- break;
- case AmPmSection:
- ret |= FixedWidth;
- break;
- default:
- qWarning("QDateTimeParser::fieldInfo Internal error 2 (%d %s %d)",
- index, qPrintable(sectionName(sn.type)), sn.count);
- break;
- }
- return ret;
-}
-
-/*!
- \internal Get a number that str can become which is between min
- and max or -1 if this is not possible.
-*/
-
-
-QString QDateTimeParser::sectionFormat(int index) const
-{
- const SectionNode &sn = sectionNode(index);
- return sectionFormat(sn.type, sn.count);
-}
-
-QString QDateTimeParser::sectionFormat(Section s, int count) const
-{
- QChar fillChar;
- switch (s) {
- case AmPmSection: return count == 1 ? QLatin1String("AP") : QLatin1String("ap");
- case MSecSection: fillChar = QLatin1Char('z'); break;
- case SecondSection: fillChar = QLatin1Char('s'); break;
- case MinuteSection: fillChar = QLatin1Char('m'); break;
- case Hour24Section: fillChar = QLatin1Char('H'); break;
- case Hour12Section: fillChar = QLatin1Char('h'); break;
- case DayOfWeekSection:
- case DaySection: fillChar = QLatin1Char('d'); break;
- case MonthSection: fillChar = QLatin1Char('M'); break;
- case YearSection2Digits:
- case YearSection: fillChar = QLatin1Char('y'); break;
- default:
- qWarning("QDateTimeParser::sectionFormat Internal error (%s)",
- qPrintable(sectionName(s)));
- return QString();
- }
- if (fillChar.isNull()) {
- qWarning("QDateTimeParser::sectionFormat Internal error 2");
- return QString();
- }
-
- QString str;
- str.fill(fillChar, count);
- return str;
-}
-
-
-/*! \internal Returns true if str can be modified to represent a
- number that is within min and max.
-*/
-
-bool QDateTimeParser::potentialValue(const QString &str, int min, int max, int index,
- const QDateTime ¤tValue, int insert) const
-{
- if (str.isEmpty()) {
- return true;
- }
- const int size = sectionMaxSize(index);
- int val = (int)locale().toUInt(str);
- const SectionNode &sn = sectionNode(index);
- if (sn.type == YearSection2Digits) {
- val += currentValue.date().year() - (currentValue.date().year() % 100);
- }
- if (val >= min && val <= max && str.size() == size) {
- return true;
- } else if (val > max) {
- return false;
- } else if (str.size() == size && val < min) {
- return false;
- }
-
- const int len = size - str.size();
- for (int i=0; i<len; ++i) {
- for (int j=0; j<10; ++j) {
- if (potentialValue(str + QLatin1Char('0' + j), min, max, index, currentValue, insert)) {
- return true;
- } else if (insert >= 0) {
- QString tmp = str;
- tmp.insert(insert, QLatin1Char('0' + j));
- if (potentialValue(tmp, min, max, index, currentValue, insert))
- return true;
- }
- }
- }
-
- return false;
-}
-
-bool QDateTimeParser::skipToNextSection(int index, const QDateTime ¤t, const QString &text) const
-{
- Q_ASSERT(current >= getMinimum() && current <= getMaximum());
-
- const SectionNode &node = sectionNode(index);
- Q_ASSERT(text.size() < sectionMaxSize(index));
-
- const QDateTime maximum = getMaximum();
- const QDateTime minimum = getMinimum();
- QDateTime tmp = current;
- int min = absoluteMin(index);
- setDigit(tmp, index, min);
- if (tmp < minimum) {
- min = getDigit(minimum, index);
- }
-
- int max = absoluteMax(index, current);
- setDigit(tmp, index, max);
- if (tmp > maximum) {
- max = getDigit(maximum, index);
- }
- int pos = cursorPosition() - node.pos;
- if (pos < 0 || pos >= text.size())
- pos = -1;
-
- const bool potential = potentialValue(text, min, max, index, current, pos);
- return !potential;
-
- /* If the value potentially can become another valid entry we
- * don't want to skip to the next. E.g. In a M field (month
- * without leading 0 if you type 1 we don't want to autoskip but
- * if you type 3 we do
- */
-}
-
-/*!
- \internal
- For debugging. Returns the name of the section \a s.
-*/
-
-QString QDateTimeParser::sectionName(int s) const
-{
- switch (s) {
- case QDateTimeParser::AmPmSection: return QLatin1String("AmPmSection");
- case QDateTimeParser::DaySection: return QLatin1String("DaySection");
- case QDateTimeParser::DayOfWeekSection: return QLatin1String("DayOfWeekSection");
- case QDateTimeParser::Hour24Section: return QLatin1String("Hour24Section");
- case QDateTimeParser::Hour12Section: return QLatin1String("Hour12Section");
- case QDateTimeParser::MSecSection: return QLatin1String("MSecSection");
- case QDateTimeParser::MinuteSection: return QLatin1String("MinuteSection");
- case QDateTimeParser::MonthSection: return QLatin1String("MonthSection");
- case QDateTimeParser::SecondSection: return QLatin1String("SecondSection");
- case QDateTimeParser::YearSection: return QLatin1String("YearSection");
- case QDateTimeParser::YearSection2Digits: return QLatin1String("YearSection2Digits");
- case QDateTimeParser::NoSection: return QLatin1String("NoSection");
- case QDateTimeParser::FirstSection: return QLatin1String("FirstSection");
- case QDateTimeParser::LastSection: return QLatin1String("LastSection");
- default: return QLatin1String("Unknown section ") + QString::number(s);
- }
-}
-
-/*!
- \internal
- For debugging. Returns the name of the state \a s.
-*/
-
-QString QDateTimeParser::stateName(int s) const
-{
- switch (s) {
- case Invalid: return QLatin1String("Invalid");
- case Intermediate: return QLatin1String("Intermediate");
- case Acceptable: return QLatin1String("Acceptable");
- default: return QLatin1String("Unknown state ") + QString::number(s);
- }
-}
-
-#ifndef QT_NO_DATESTRING
-bool QDateTimeParser::fromString(const QString &t, QDate *date, QTime *time) const
-{
- QDateTime val(QDate(1900, 1, 1), QDATETIMEEDIT_TIME_MIN);
- QString text = t;
- int copy = -1;
- const StateNode tmp = parse(text, copy, val, false);
- if (tmp.state != Acceptable || tmp.conflicts) {
- return false;
- }
- if (time) {
- const QTime t = tmp.value.time();
- if (!t.isValid()) {
- return false;
- }
- *time = t;
- }
-
- if (date) {
- const QDate d = tmp.value.date();
- if (!d.isValid()) {
- return false;
- }
- *date = d;
- }
- return true;
-}
-#endif // QT_NO_DATESTRING
-
-QDateTime QDateTimeParser::getMinimum() const
-{
- return QDateTime(QDATETIMEEDIT_DATE_MIN, QDATETIMEEDIT_TIME_MIN, spec);
-}
-
-QDateTime QDateTimeParser::getMaximum() const
-{
- return QDateTime(QDATETIMEEDIT_DATE_MAX, QDATETIMEEDIT_TIME_MAX, spec);
-}
-
-QString QDateTimeParser::getAmPmText(AmPm ap, Case cs) const
-{
- if (ap == AmText) {
- return (cs == UpperCase ? QLatin1String("AM") : QLatin1String("am"));
- } else {
- return (cs == UpperCase ? QLatin1String("PM") : QLatin1String("pm"));
- }
-}
-
-/*
- \internal
-
- I give arg2 preference because arg1 is always a QDateTime.
-*/
-
-bool operator==(const QDateTimeParser::SectionNode &s1, const QDateTimeParser::SectionNode &s2)
-{
- return (s1.type == s2.type) && (s1.pos == s2.pos) && (s1.count == s2.count);
-}
-
-#ifdef Q_OS_SYMBIAN
-const static TTime UnixEpochOffset(I64LIT(0xdcddb30f2f8000));
-const static TInt64 MinimumMillisecondTime(KMinTInt64 / 1000);
-const static TInt64 MaximumMillisecondTime(KMaxTInt64 / 1000);
-QDateTime qt_symbian_TTime_To_QDateTime(const TTime& time)
-{
- TTimeIntervalMicroSeconds absolute = time.MicroSecondsFrom(UnixEpochOffset);
-
- return QDateTime::fromMSecsSinceEpoch(absolute.Int64() / 1000);
-}
-
-TTime qt_symbian_QDateTime_To_TTime(const QDateTime& datetime)
-{
- qint64 absolute = datetime.toMSecsSinceEpoch();
- if(absolute > MaximumMillisecondTime)
- return TTime(KMaxTInt64);
- if(absolute < MinimumMillisecondTime)
- return TTime(KMinTInt64);
- return TTime(absolute * 1000);
-}
-
-time_t qt_symbian_TTime_To_time_t(const TTime& time)
-{
- TTimeIntervalSeconds interval;
- TInt err = time.SecondsFrom(UnixEpochOffset, interval);
- if (err || interval.Int() < 0)
- return (time_t) 0;
- return (time_t) interval.Int();
-}
-
-TTime qt_symbian_time_t_To_TTime(time_t time)
-{
- return UnixEpochOffset + TTimeIntervalSeconds(time);
-}
-#endif //Q_OS_SYMBIAN
-
-#endif // QT_BOOTSTRAPPED
-
-QT_END_NAMESPACE
diff --git a/.pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/src/corelib/tools/qdatetime.h b/.pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/src/corelib/tools/qdatetime.h
deleted file mode 100644
index d7a2c74..0000000
--- a/.pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/src/corelib/tools/qdatetime.h
+++ /dev/null
@@ -1,340 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2015 The Qt Company Ltd.
-** Contact: http://www.qt.io/licensing/
-**
-** This file is part of the QtCore module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see http://www.qt.io/terms-conditions. For further
-** information use the contact form at http://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 2.1 or version 3 as published by the Free
-** Software Foundation and appearing in the file LICENSE.LGPLv21 and
-** LICENSE.LGPLv3 included in the packaging of this file. Please review the
-** following information to ensure the GNU Lesser General Public License
-** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
-** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-**
-** As a special exception, The Qt Company gives you certain additional
-** rights. These rights are described in The Qt Company LGPL Exception
-** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3.0 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU General Public License version 3.0 requirements will be
-** met: http://www.gnu.org/copyleft/gpl.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef QDATETIME_H
-#define QDATETIME_H
-
-#include <QtCore/qstring.h>
-#include <QtCore/qnamespace.h>
-#include <QtCore/qsharedpointer.h>
-
-QT_BEGIN_HEADER
-
-QT_BEGIN_NAMESPACE
-
-QT_MODULE(Core)
-
-class Q_CORE_EXPORT QDate
-{
-public:
- enum MonthNameType {
- DateFormat = 0,
- StandaloneFormat
- };
-public:
- QDate() { jd = 0; }
- QDate(int y, int m, int d);
-
- bool isNull() const { return jd == 0; }
- bool isValid() const;
-
- int year() const;
- int month() const;
- int day() const;
- int dayOfWeek() const;
- int dayOfYear() const;
- int daysInMonth() const;
- int daysInYear() const;
- int weekNumber(int *yearNum = 0) const;
-
-#ifndef QT_NO_TEXTDATE
-#ifdef QT3_SUPPORT
- static QT3_SUPPORT QString monthName(int month) { return shortMonthName(month); }
- static QT3_SUPPORT QString dayName(int weekday) { return shortDayName(weekday); }
-#endif
- // ### Qt 5: merge these functions.
- static QString shortMonthName(int month);
- static QString shortMonthName(int month, MonthNameType type);
- static QString shortDayName(int weekday);
- static QString shortDayName(int weekday, MonthNameType type);
- static QString longMonthName(int month);
- static QString longMonthName(int month, MonthNameType type);
- static QString longDayName(int weekday);
- static QString longDayName(int weekday, MonthNameType type);
-#endif // QT_NO_TEXTDATE
-#ifndef QT_NO_DATESTRING
- QString toString(Qt::DateFormat f = Qt::TextDate) const;
- QString toString(const QString &format) const;
-#endif
- bool setYMD(int y, int m, int d);
- bool setDate(int year, int month, int day);
-
- void getDate(int *year, int *month, int *day);
-
- QDate addDays(int days) const;
- QDate addMonths(int months) const;
- QDate addYears(int years) const;
- int daysTo(const QDate &) const;
-
- bool operator==(const QDate &other) const { return jd == other.jd; }
- bool operator!=(const QDate &other) const { return jd != other.jd; }
- bool operator<(const QDate &other) const { return jd < other.jd; }
- bool operator<=(const QDate &other) const { return jd <= other.jd; }
- bool operator>(const QDate &other) const { return jd > other.jd; }
- bool operator>=(const QDate &other) const { return jd >= other.jd; }
-
- static QDate currentDate();
-#ifndef QT_NO_DATESTRING
- static QDate fromString(const QString &s, Qt::DateFormat f = Qt::TextDate);
- static QDate fromString(const QString &s, const QString &format);
-#endif
- static bool isValid(int y, int m, int d);
- static bool isLeapYear(int year);
-#ifdef QT3_SUPPORT
- inline static QT3_SUPPORT bool leapYear(int year) { return isLeapYear(year); }
-#endif
-
- // ### Qt 5: remove these two functions
- static uint gregorianToJulian(int y, int m, int d);
- static void julianToGregorian(uint jd, int &y, int &m, int &d);
-
-#ifdef QT3_SUPPORT
- static QT3_SUPPORT QDate currentDate(Qt::TimeSpec spec);
-#endif
-
- static inline QDate fromJulianDay(int jd) { QDate d; d.jd = jd; return d; }
- inline int toJulianDay() const { return jd; }
-
-private:
- uint jd;
-
- friend class QDateTime;
- friend class QDateTimePrivate;
-#ifndef QT_NO_DATASTREAM
- friend Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QDate &);
- friend Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QDate &);
-#endif
-};
-Q_DECLARE_TYPEINFO(QDate, Q_MOVABLE_TYPE);
-
-class Q_CORE_EXPORT QTime
-{
-public:
- QTime(): mds(NullTime)
-#if defined(Q_OS_WINCE)
- , startTick(NullTime)
-#endif
- {}
- QTime(int h, int m, int s = 0, int ms = 0);
-
- bool isNull() const { return mds == NullTime; }
- bool isValid() const;
-
- int hour() const;
- int minute() const;
- int second() const;
- int msec() const;
-#ifndef QT_NO_DATESTRING
- QString toString(Qt::DateFormat f = Qt::TextDate) const;
- QString toString(const QString &format) const;
-#endif
- bool setHMS(int h, int m, int s, int ms = 0);
-
- QTime addSecs(int secs) const;
- int secsTo(const QTime &) const;
- QTime addMSecs(int ms) const;
- int msecsTo(const QTime &) const;
-
- bool operator==(const QTime &other) const { return mds == other.mds; }
- bool operator!=(const QTime &other) const { return mds != other.mds; }
- bool operator<(const QTime &other) const { return mds < other.mds; }
- bool operator<=(const QTime &other) const { return mds <= other.mds; }
- bool operator>(const QTime &other) const { return mds > other.mds; }
- bool operator>=(const QTime &other) const { return mds >= other.mds; }
-
- static QTime currentTime();
-#ifndef QT_NO_DATESTRING
- static QTime fromString(const QString &s, Qt::DateFormat f = Qt::TextDate);
- static QTime fromString(const QString &s, const QString &format);
-#endif
- static bool isValid(int h, int m, int s, int ms = 0);
-
-#ifdef QT3_SUPPORT
- static QT3_SUPPORT QTime currentTime(Qt::TimeSpec spec);
-#endif
-
- void start();
- int restart();
- int elapsed() const;
-private:
- enum TimeFlag { NullTime = -1 };
- inline int ds() const { return mds == -1 ? 0 : mds; }
- int mds;
-#if defined(Q_OS_WINCE)
- int startTick;
-#endif
-
- friend class QDateTime;
- friend class QDateTimePrivate;
-#ifndef QT_NO_DATASTREAM
- friend Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QTime &);
- friend Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QTime &);
-#endif
-};
-Q_DECLARE_TYPEINFO(QTime, Q_MOVABLE_TYPE);
-
-class QDateTimePrivate;
-
-class Q_CORE_EXPORT QDateTime
-{
-public:
- QDateTime();
- explicit QDateTime(const QDate &);
- QDateTime(const QDate &, const QTime &, Qt::TimeSpec spec = Qt::LocalTime);
- QDateTime(const QDateTime &other);
- ~QDateTime();
-
- QDateTime &operator=(const QDateTime &other);
-
- bool isNull() const;
- bool isValid() const;
-
- QDate date() const;
- QTime time() const;
- Qt::TimeSpec timeSpec() const;
- qint64 toMSecsSinceEpoch() const;
- uint toTime_t() const;
- void setDate(const QDate &date);
- void setTime(const QTime &time);
- void setTimeSpec(Qt::TimeSpec spec);
- void setMSecsSinceEpoch(qint64 msecs);
- void setTime_t(uint secsSince1Jan1970UTC);
-#ifndef QT_NO_DATESTRING
- QString toString(Qt::DateFormat f = Qt::TextDate) const;
- QString toString(const QString &format) const;
-#endif
- QDateTime addDays(int days) const;
- QDateTime addMonths(int months) const;
- QDateTime addYears(int years) const;
- QDateTime addSecs(int secs) const;
- QDateTime addMSecs(qint64 msecs) const;
- QDateTime toTimeSpec(Qt::TimeSpec spec) const;
- inline QDateTime toLocalTime() const { return toTimeSpec(Qt::LocalTime); }
- inline QDateTime toUTC() const { return toTimeSpec(Qt::UTC); }
- int daysTo(const QDateTime &) const;
- int secsTo(const QDateTime &) const;
- qint64 msecsTo(const QDateTime &) const;
-
- bool operator==(const QDateTime &other) const;
- inline bool operator!=(const QDateTime &other) const { return !(*this == other); }
- bool operator<(const QDateTime &other) const;
- inline bool operator<=(const QDateTime &other) const { return !(other < *this); }
- inline bool operator>(const QDateTime &other) const { return other < *this; }
- inline bool operator>=(const QDateTime &other) const { return !(*this < other); }
-
- void setUtcOffset(int seconds);
- int utcOffset() const;
-
- static QDateTime currentDateTime();
- static QDateTime currentDateTimeUtc();
-#ifndef QT_NO_DATESTRING
- static QDateTime fromString(const QString &s, Qt::DateFormat f = Qt::TextDate);
- static QDateTime fromString(const QString &s, const QString &format);
-#endif
- static QDateTime fromTime_t(uint secsSince1Jan1970UTC);
- static QDateTime fromMSecsSinceEpoch(qint64 msecs);
- static qint64 currentMSecsSinceEpoch();
-
-#ifdef QT3_SUPPORT
- inline QT3_SUPPORT void setTime_t(uint secsSince1Jan1970UTC, Qt::TimeSpec spec) {
- setTime_t(secsSince1Jan1970UTC);
- if (spec == Qt::UTC)
- *this = toUTC();
- }
- static inline QT3_SUPPORT QDateTime currentDateTime(Qt::TimeSpec spec) {
- if (spec == Qt::LocalTime)
- return currentDateTime();
- else
- return currentDateTime().toUTC();
- }
-
-#endif
-
-private:
- friend class QDateTimePrivate;
- void detach();
- QExplicitlySharedDataPointer<QDateTimePrivate> d;
-
-#ifndef QT_NO_DATASTREAM
- friend Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QDateTime &);
- friend Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QDateTime &);
-#endif
-};
-Q_DECLARE_TYPEINFO(QDateTime, Q_MOVABLE_TYPE);
-
-#ifdef QT3_SUPPORT
-inline QDate QDate::currentDate(Qt::TimeSpec spec)
-{
- if (spec == Qt::LocalTime)
- return currentDate();
- else
- return QDateTime::currentDateTime().toUTC().date();
-}
-
-inline QTime QTime::currentTime(Qt::TimeSpec spec)
-{
- if (spec == Qt::LocalTime)
- return currentTime();
- else
- return QDateTime::currentDateTime().toUTC().time();
-}
-#endif
-
-#ifndef QT_NO_DATASTREAM
-Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QDate &);
-Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QDate &);
-Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QTime &);
-Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QTime &);
-Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QDateTime &);
-Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QDateTime &);
-#endif // QT_NO_DATASTREAM
-
-#if !defined(QT_NO_DEBUG_STREAM) && !defined(QT_NO_DATESTRING)
-Q_CORE_EXPORT QDebug operator<<(QDebug, const QDate &);
-Q_CORE_EXPORT QDebug operator<<(QDebug, const QTime &);
-Q_CORE_EXPORT QDebug operator<<(QDebug, const QDateTime &);
-#endif
-
-QT_END_NAMESPACE
-
-QT_END_HEADER
-
-#endif // QDATETIME_H
diff --git a/.pc/applied-patches b/.pc/applied-patches
index f8339ba..df3d819 100644
--- a/.pc/applied-patches
+++ b/.pc/applied-patches
@@ -46,4 +46,5 @@ remove_addsense.patch
parisc-atomic.patch
QtScript_x32_config.diff
x32.diff
-Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch
+no-ssl3.patch
+replace_timestamps_with_fixed_date_in_qhelpgenerator.patch
diff --git a/src/network/ssl/qsslsocket_openssl.cpp b/.pc/no-ssl3.patch/src/network/ssl/qsslsocket_openssl.cpp
similarity index 100%
copy from src/network/ssl/qsslsocket_openssl.cpp
copy to .pc/no-ssl3.patch/src/network/ssl/qsslsocket_openssl.cpp
diff --git a/src/network/ssl/qsslsocket_openssl_symbols.cpp b/.pc/no-ssl3.patch/src/network/ssl/qsslsocket_openssl_symbols.cpp
similarity index 100%
copy from src/network/ssl/qsslsocket_openssl_symbols.cpp
copy to .pc/no-ssl3.patch/src/network/ssl/qsslsocket_openssl_symbols.cpp
diff --git a/.pc/replace_timestamps_with_fixed_date_in_qhelpgenerator.patch/.timestamp b/.pc/replace_timestamps_with_fixed_date_in_qhelpgenerator.patch/.timestamp
new file mode 100644
index 0000000..e69de29
diff --git a/.pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/tools/assistant/lib/qhelpgenerator.cpp b/.pc/replace_timestamps_with_fixed_date_in_qhelpgenerator.patch/tools/assistant/lib/qhelpgenerator.cpp
similarity index 100%
rename from .pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/tools/assistant/lib/qhelpgenerator.cpp
rename to .pc/replace_timestamps_with_fixed_date_in_qhelpgenerator.patch/tools/assistant/lib/qhelpgenerator.cpp
diff --git a/.pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/tools/assistant/tools/qcollectiongenerator/main.cpp b/.pc/replace_timestamps_with_fixed_date_in_qhelpgenerator.patch/tools/assistant/tools/qcollectiongenerator/main.cpp
similarity index 100%
rename from .pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/tools/assistant/tools/qcollectiongenerator/main.cpp
rename to .pc/replace_timestamps_with_fixed_date_in_qhelpgenerator.patch/tools/assistant/tools/qcollectiongenerator/main.cpp
diff --git a/.pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/tools/assistant/tools/shared/collectionconfiguration.cpp b/.pc/replace_timestamps_with_fixed_date_in_qhelpgenerator.patch/tools/assistant/tools/shared/collectionconfiguration.cpp
similarity index 100%
rename from .pc/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch/tools/assistant/tools/shared/collectionconfiguration.cpp
rename to .pc/replace_timestamps_with_fixed_date_in_qhelpgenerator.patch/tools/assistant/tools/shared/collectionconfiguration.cpp
diff --git a/debian/README.source b/debian/README.source
index aff005d..9c57551 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -230,7 +230,7 @@ Integrating original source into local repository
b) Original source can be fetched from the remote upstream repository.
For example, let's define a new remote 'qt' for original Qt sources.
- $ git remote add qt git://gitorious.org/qt/qt.git
+ $ git remote add qt git://code.qt.io/qt/qt.git
$ git remote update
# Wait ...
$ git branch upstream qt/master # optional
diff --git a/debian/changelog b/debian/changelog
index 29941b0..013d383 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,39 @@
-qt4-x11 (4:4.8.7+dfsg-3.0~reproducible1) UNRELEASED; urgency=medium
+qt4-x11 (4:4.8.7+dfsg-5.0~reproducible0) UNRELEASED; urgency=medium
* Non-maintainer upload.
- * Add support for reproducible builds by using $SOURCE_DATE_EPOCH as the
- embedded timestamps in qch files generated with qhelpgenerator.
+ * Backport patch from qttools5 [1] to make qch files reproducible by
+ replacing the current time by a fixed date.
+ [1] https://codereview.qt-project.org/#/c/106296/
- -- Eduard Sanou <dhole at openmailbox.org> Mon, 10 Aug 2015 19:35:09 +0200
+ -- red <red at repro> Tue, 09 Feb 2016 13:34:21 +0100
+
+qt4-x11 (4:4.8.7+dfsg-5) unstable; urgency=medium
+
+ * Add no-ssl3.patch to avoid calling SSLv3 functions as they have been removed
+ from Debian's packaging (Closes: #806505).
+ * Update symbols files with buildds' logs.
+
+ -- Lisandro Damián Nicanor Pérez Meyer <lisandro at debian.org> Mon, 30 Nov 2015 16:13:32 -0300
+
+qt4-x11 (4:4.8.7+dfsg-4) unstable; urgency=medium
+
+ [ Rico Tzschichholz ]
+ * Change the libicu52 suggestion in libqtcore4 to libicu55.
+
+ [ Dmitry Shachnev ]
+ * Update symbols files with buildds' logs.
+ * Remove sparc references from symbols files.
+ Sparc is dead and we no longer have build logs for it.
+ * Use canonical Vcs-Browser link.
+ * Update git clone address in README.source.
+ * Do not recommend libqtwebkit-dev, we want to remove this package.
+
+ [ Lisandro Damián Nicanor Pérez Meyer ]
+ * Move qt4-default to section libs, it's definitely not part of libdevel
+ as it controls run time preferences.
+ * Add qt-at-spi as a libqtgui4 recommendation as discussed in pkg-kde-talk.
+
+ -- Lisandro Damián Nicanor Pérez Meyer <lisandro at debian.org> Tue, 17 Nov 2015 12:50:47 -0300
qt4-x11 (4:4.8.7+dfsg-3) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index fac69ef..1a099c6 100644
--- a/debian/control
+++ b/debian/control
@@ -55,14 +55,14 @@ Build-Conflicts: libqtwebkit-dev
Standards-Version: 3.9.6
Homepage: http://qt-project.org/
Vcs-Git: git://anonscm.debian.org/pkg-kde/qt/qt4-x11.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/qt/qt4-x11.git
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-kde/qt/qt4-x11.git
Package: libqtcore4
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: qtcore4-l10n, ${misc:Depends}, ${shlibs:Depends}
-Suggests: libicu52, libthai0
+Suggests: libicu55, libthai0
Description: Qt 4 core module
Qt is a cross-platform C++ application framework. Qt's primary feature
is its rich set of widgets that provide standard GUI functionality.
@@ -86,7 +86,7 @@ Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: fontconfig, ${misc:Depends}, ${shlibs:Depends}
-Recommends: libcups2
+Recommends: libcups2, qt-at-spi
Suggests: qt4-qtconfig
Description: Qt 4 GUI module
Qt is a cross-platform C++ application framework. Qt's primary feature
@@ -479,7 +479,7 @@ Depends: libqt4-dbus (= ${binary:Version}),
qt4-qmake (= ${binary:Version}),
qtchooser,
${misc:Depends}
-Recommends: libqt4-opengl-dev (= ${binary:Version}), libqtwebkit-dev (>= 2.0~)
+Recommends: libqt4-opengl-dev (= ${binary:Version})
Suggests: firebird-dev,
libmysqlclient-dev,
libpq-dev,
@@ -780,7 +780,6 @@ Description: Qt 4 API documentation (HTML format)
Package: qt4-default
Architecture: any
Depends: libqt4-dev, qtchooser, ${misc:Depends}
-Section: libdevel
Conflicts: qt5-default
Description: Qt 4 development defaults package
Qt is a cross-platform C++ application framework. Qt's primary feature
diff --git a/debian/libqt4-declarative.symbols b/debian/libqt4-declarative.symbols
index 95de77a..7ee8671 100644
--- a/debian/libqt4-declarative.symbols
+++ b/debian/libqt4-declarative.symbols
@@ -5,16 +5,14 @@ libQtDeclarative.so.4 libqt4-declarative #MINVER#
_Z18qmlExecuteDeferredP7QObject at Base 4:4.7.0~beta1
_Z27qmlAttachedPropertiesObjectPiPK7QObjectPK11QMetaObjectb at Base 4:4.7.0~beta1
_Z31qmlAttachedPropertiesObjectByIdiPK7QObjectb at Base 4:4.7.0~beta1
- (optional=gccinternal|arch=sparc)_Z6qDebugv at Base 4:4.8.5+git242
_Z7qmlInfoPK7QObject at Base 4:4.7.0~beta2
_Z7qmlInfoPK7QObjectRK17QDeclarativeError at Base 4:4.7.0~beta2
_Z7qmlInfoPK7QObjectRK5QListI17QDeclarativeErrorE at Base 4:4.7.0~beta2
- (optional=gccinternal|arch=sparc)_Z8qWarningv at Base 4:4.8.5+git242
_Z9qmlEnginePK7QObject at Base 4:4.7.0~beta1
(optional=gccinternal|arch=!armel !armhf)_ZN12QDashStroker3endEv at Base 4:4.7.2
(optional=gccinternal|arch=!armel !armhf)_ZN12QDashStroker5beginEPv at Base 4:4.7.2
- (optional=gccinternal|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.7.0~rc1
- (optional=gccinternal|arch=sh4 sparc)_ZN15QBasicAtomicInt5derefEv at Base 4:4.7.0~rc1
+ (optional=gccinternal|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.7.0~rc1
+ (optional=gccinternal|arch=sh4)_ZN15QBasicAtomicInt5derefEv at Base 4:4.7.0~rc1
_ZN15QDeclarativePen10penChangedEv at Base 4:4.7.0~beta1
_ZN15QDeclarativePen11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.7.0~beta1
_ZN15QDeclarativePen11qt_metacastEPKc at Base 4:4.7.0~beta1
@@ -549,8 +547,6 @@ libQtDeclarative.so.4 libqt4-declarative #MINVER#
_ZN20QMetaPropertyBuilder7setUserEb at Base 4:4.7.0~beta1
_ZN20QMetaPropertyBuilder8setFinalEb at Base 4:4.8.0
_ZN20QMetaPropertyBuilder9setStoredEb at Base 4:4.7.0~beta1
- (optional=gccinternal|arch=sparc)_ZN20QXmlStreamAttributesD1Ev at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sparc)_ZN20QXmlStreamAttributesD2Ev at Base 4:4.8.5+git242
_ZN21QDeclarativeComponent11beginCreateEP19QDeclarativeContext at Base 4:4.7.0~beta1
_ZN21QDeclarativeComponent11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.7.0~beta1
_ZN21QDeclarativeComponent11qt_metacastEPKc at Base 4:4.7.0~beta1
@@ -1345,8 +1341,6 @@ libQtDeclarative.so.4 libqt4-declarative #MINVER#
_ZN7QPacketD1Ev at Base 4:4.7.0~beta1
_ZN7QPacketD2Ev at Base 4:4.7.0~beta1
(arch=powerpcspe)_ZN7QString5clearEv at Base 4:4.8.5+git209
- (optional=gccinternal|arch=sparc)_ZN9QBitArrayD1Ev at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sparc)_ZN9QBitArrayD2Ev at Base 4:4.8.5+git242
_ZNK12QPaintDevice7devTypeEv at Base 4:4.7.2
_ZNK15QDeclarativePen10metaObjectEv at Base 4:4.7.0~beta1
_ZNK15QPacketProtocol10metaObjectEv at Base 4:4.7.0~beta1
diff --git a/debian/libqt4-designer.symbols b/debian/libqt4-designer.symbols
index d667bdb..b461e16 100644
--- a/debian/libqt4-designer.symbols
+++ b/debian/libqt4-designer.symbols
@@ -1,4 +1,4 @@
-# SymbolsHelper-Confirmed: 4:4.8.7 alpha amd64 arm64 armel armhf hppa kfreebsd-amd64 mips mipsel powerpc ppc64el s390x x32
+# SymbolsHelper-Confirmed: 4:4.8.7 alpha amd64 arm64 armel armhf hppa kfreebsd-amd64 m68k mips mips64el mipsel powerpc ppc64el s390x sparc64 x32
libQtDesigner.so.4 libqt4-designer #MINVER#
* Build-Depends-Package: libqt4-dev
_Z20domPropertyToVariantP20QAbstractFormBuilderPK11QMetaObjectPK11DomProperty at Base 4:4.5.3
@@ -490,8 +490,8 @@ libQtDesigner.so.4 libqt4-designer #MINVER#
_ZN15DomResourceIconC2Ev at Base 4:4.5.3
_ZN15DomResourceIconD1Ev at Base 4:4.5.3
_ZN15DomResourceIconD2Ev at Base 4:4.5.3
- (optional=gccinternal|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.8.6
- (optional=gccinternal|arch=sh4 sparc)_ZN15QBasicAtomicInt5derefEv at Base 4:4.8.6
+ (optional=gccinternal|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.8.6
+ (optional=gccinternal|arch=sh4)_ZN15QBasicAtomicInt5derefEv at Base 4:4.8.6
_ZN15QDesignerDialog10paintEventEP11QPaintEvent at Base 4:4.5.3
_ZN15QDesignerDialog11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.5.3
_ZN15QDesignerDialog11qt_metacastEPKc at Base 4:4.5.3
@@ -507,8 +507,6 @@ libQtDesigner.so.4 libqt4-designer #MINVER#
_ZN15QDesignerWidgetD0Ev at Base 4:4.5.3
_ZN15QDesignerWidgetD1Ev at Base 4:4.5.3
_ZN15QDesignerWidgetD2Ev at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN15QLinearGradientD1Ev at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN15QLinearGradientD2Ev at Base 4:4.8.6
(arch=powerpcspe)_ZN15QRadialGradientD1Ev at Base 4:4.8.5+git209
(arch=powerpcspe)_ZN15QRadialGradientD2Ev at Base 4:4.8.5+git209
(arch=powerpcspe)_ZN15QTextCharFormatD1Ev at Base 4:4.8.5+git209
@@ -1218,11 +1216,7 @@ libQtDesigner.so.4 libqt4-designer #MINVER#
(optional=internal)_ZN18qdesigner_internal16AddActionCommandC1EP28QDesignerFormWindowInterface at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal16AddActionCommandC2EP28QDesignerFormWindowInterface at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal16DesignerMetaEnumC1ERK7QStringS3_S3_ at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal16DesignerMetaEnumC1ERKS0_ at Base 4:4.8.6
(optional=internal)_ZN18qdesigner_internal16DesignerMetaEnumC2ERK7QStringS3_S3_ at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal16DesignerMetaEnumC2ERKS0_ at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal16DesignerMetaEnumD1Ev at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal16DesignerMetaEnumD2Ev at Base 4:4.8.6
(optional=internal)_ZN18qdesigner_internal16LayoutProperties17fromPropertySheetEPK28QDesignerFormEditorInterfaceP7QLayouti at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal16LayoutProperties17visiblePropertiesEPK7QLayout at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal16LayoutProperties5clearEv at Base 4:4.5.3
@@ -1297,11 +1291,7 @@ libQtDesigner.so.4 libqt4-designer #MINVER#
(optional=internal)_ZN18qdesigner_internal17DesignerIconCacheC1EPNS_19DesignerPixmapCacheEP7QObject at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal17DesignerIconCacheC2EPNS_19DesignerPixmapCacheEP7QObject at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal17DesignerMetaFlagsC1ERK7QStringS3_S3_ at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal17DesignerMetaFlagsC1ERKS0_ at Base 4:4.8.6
(optional=internal)_ZN18qdesigner_internal17DesignerMetaFlagsC2ERK7QStringS3_S3_ at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal17DesignerMetaFlagsC2ERKS0_ at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal17DesignerMetaFlagsD1Ev at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal17DesignerMetaFlagsD2Ev at Base 4:4.8.6
(optional=internal)_ZN18qdesigner_internal17DockWidgetCommand4initEP11QDockWidget at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal17DockWidgetCommandC1ERK7QStringP28QDesignerFormWindowInterface at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal17DockWidgetCommandC2ERK7QStringP28QDesignerFormWindowInterface at Base 4:4.5.3
@@ -1802,22 +1792,14 @@ libQtDesigner.so.4 libqt4-designer #MINVER#
(optional=internal)_ZN18qdesigner_internal22MoveToolBoxPageCommandD0Ev at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal22MoveToolBoxPageCommandD1Ev at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal22MoveToolBoxPageCommandD2Ev at Base 4:4.5.3
- (optional=internal|arch=sparc)_ZN18qdesigner_internal22PropertySheetEnumValueC1ERKS0_ at Base 4:4.8.0
(optional=internal)_ZN18qdesigner_internal22PropertySheetEnumValueC1EiRKNS_16DesignerMetaEnumE at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal22PropertySheetEnumValueC1Ev at Base 4:4.5.3
- (optional=internal|arch=sparc)_ZN18qdesigner_internal22PropertySheetEnumValueC2ERKS0_ at Base 4:4.8.0
(optional=internal)_ZN18qdesigner_internal22PropertySheetEnumValueC2EiRKNS_16DesignerMetaEnumE at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal22PropertySheetEnumValueC2Ev at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal22PropertySheetEnumValueD1Ev at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal22PropertySheetEnumValueD2Ev at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal22PropertySheetFlagValueC1ERKS0_ at Base 4:4.8.6
(optional=internal)_ZN18qdesigner_internal22PropertySheetFlagValueC1EiRKNS_17DesignerMetaFlagsE at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal22PropertySheetFlagValueC1Ev at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal22PropertySheetFlagValueC2ERKS0_ at Base 4:4.8.6
(optional=internal)_ZN18qdesigner_internal22PropertySheetFlagValueC2EiRKNS_17DesignerMetaFlagsE at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal22PropertySheetFlagValueC2Ev at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal22PropertySheetFlagValueD1Ev at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN18qdesigner_internal22PropertySheetFlagValueD2Ev at Base 4:4.8.6
(optional=internal)_ZN18qdesigner_internal22PropertySheetIconValue6assignERKS0_j at Base 4:4.5.3
(optional=internal)_ZN18qdesigner_internal22PropertySheetIconValue8setThemeERK7QString at Base 4:4.8.0
(optional=internal)_ZN18qdesigner_internal22PropertySheetIconValue9setPixmapEN5QIcon4ModeENS1_5StateERKNS_24PropertySheetPixmapValueE at Base 4:4.5.3
@@ -2306,8 +2288,6 @@ libQtDesigner.so.4 libqt4-designer #MINVER#
_ZN20QDesignerMemberSheetD0Ev at Base 4:4.5.3
_ZN20QDesignerMemberSheetD1Ev at Base 4:4.5.3
_ZN20QDesignerMemberSheetD2Ev at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN20QXmlStreamAttributesD1Ev at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN20QXmlStreamAttributesD2Ev at Base 4:4.8.6
_ZN20QtResourceViewDialog11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.5.3
_ZN20QtResourceViewDialog11qt_metacastEPKc at Base 4:4.5.3
_ZN20QtResourceViewDialog14selectResourceERK7QString at Base 4:4.5.3
@@ -2849,7 +2829,7 @@ libQtDesigner.so.4 libqt4-designer #MINVER#
_ZN7DomTimeC2Ev at Base 4:4.5.3
_ZN7DomTimeD1Ev at Base 4:4.5.3
_ZN7DomTimeD2Ev at Base 4:4.5.3
- (optional=external|arch=alpha arm64 armel armhf hppa mips mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390x)_ZN7QString5clearEv at Base 4:4.8.1
+ (optional=external|arch=alpha arm64 armel armhf hppa m68k mips mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc64)_ZN7QString5clearEv at Base 4:4.8.1
_ZN8DomBrush15setElementColorEP8DomColor at Base 4:4.5.3
_ZN8DomBrush16takeElementColorEv at Base 4:4.5.3
_ZN8DomBrush17setElementTextureEP11DomProperty at Base 4:4.5.3
@@ -2925,8 +2905,6 @@ libQtDesigner.so.4 libqt4-designer #MINVER#
_ZN8DomSlotsC2Ev at Base 4:4.5.3
_ZN8DomSlotsD1Ev at Base 4:4.5.3
_ZN8DomSlotsD2Ev at Base 4:4.5.3
- (optional=templinst|arch=sparc)_ZN8QVariant8setValueIN18qdesigner_internal22PropertySheetEnumValueEEEvRKT_ at Base 4:4.8.6
- (optional=templinst|arch=sparc)_ZN8QVariant9fromValueIN18qdesigner_internal29PropertySheetKeySequenceValueEEES_RKT_ at Base 4:4.8.6
_ZN9DomAction18setElementPropertyERK5QListIP11DomPropertyE at Base 4:4.5.3
_ZN9DomAction19setElementAttributeERK5QListIP11DomPropertyE at Base 4:4.5.3
_ZN9DomAction4readER16QXmlStreamReader at Base 4:4.5.3
@@ -3019,8 +2997,6 @@ libQtDesigner.so.4 libqt4-designer #MINVER#
_ZN9DomWidgetC2Ev at Base 4:4.5.3
_ZN9DomWidgetD1Ev at Base 4:4.5.3
_ZN9DomWidgetD2Ev at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN9QGradientD1Ev at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN9QGradientD2Ev at Base 4:4.8.6
_ZNK10DomInclude5writeER16QXmlStreamWriterRK7QString at Base 4:4.5.3
_ZNK10DomPalette5writeER16QXmlStreamWriterRK7QString at Base 4:4.5.3
_ZNK11DomDateTime5writeER16QXmlStreamWriterRK7QString at Base 4:4.5.3
@@ -4350,8 +4326,8 @@ libQtDesigner.so.4 libqt4-designer #MINVER#
(optional=internal|c++)"non-virtual thunk to qdesigner_internal::ZoomProxyWidget::itemChange(QGraphicsItem::GraphicsItemChange, QVariant const&)@Base" 4:4.5.3
libQtDesignerComponents.so.4 libqt4-designer #MINVER#
* Build-Depends-Package: libqt4-dev
- (optional=gccinternal|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.8.6
- (optional=gccinternal|arch=sh4 sparc)_ZN15QBasicAtomicInt5derefEv at Base 4:4.8.6
+ (optional=gccinternal|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.8.6
+ (optional=gccinternal|arch=sh4)_ZN15QBasicAtomicInt5derefEv at Base 4:4.8.6
_ZN19QDesignerComponents14createTaskMenuEP28QDesignerFormEditorInterfaceP7QObject at Base 4:4.5.3
_ZN19QDesignerComponents15createWidgetBoxEP28QDesignerFormEditorInterfaceP7QWidget at Base 4:4.5.3
_ZN19QDesignerComponents16createFormEditorEP7QObject at Base 4:4.5.3
@@ -4362,18 +4338,8 @@ libQtDesignerComponents.so.4 libqt4-designer #MINVER#
_ZN19QDesignerComponents20createResourceEditorEP28QDesignerFormEditorInterfaceP7QWidget at Base 4:4.5.3
_ZN19QDesignerComponents21createObjectInspectorEP28QDesignerFormEditorInterfaceP7QWidget at Base 4:4.5.3
_ZN19QDesignerComponents22createSignalSlotEditorEP28QDesignerFormEditorInterfaceP7QWidget at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN20QXmlStreamAttributesD1Ev at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN20QXmlStreamAttributesD2Ev at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN22QStyleOptionViewItemV3D1Ev at Base 4:4.8.6
- (optional=gccinternal|arch=sparc)_ZN22QStyleOptionViewItemV3D2Ev at Base 4:4.8.6
- (optional=templinst|arch=sparc)_ZN8QVariant8setValueI4QMapIi5QIconEEEvRKT_ at Base 4:4.8.6
- (optional=templinst|arch=sparc)_ZN8QVariant8setValueI5QListI5QPairI7QStringjEEEEvRKT_ at Base 4:4.8.6
- (optional=templinst|arch=sparc)_ZN8QVariant9fromValueIN18qdesigner_internal22PropertySheetIconValueEEES_RKT_ at Base 4:4.8.6
- (optional=templinst|arch=sparc)_ZN8QVariant9fromValueIN18qdesigner_internal24PropertySheetPixmapValueEEES_RKT_ at Base 4:4.8.6
- (optional=templinst|arch=sparc)_ZN8QVariant9fromValueIN18qdesigner_internal24PropertySheetStringValueEEES_RKT_ at Base 4:4.8.6
- (optional=templinst|arch=sparc)_ZN8QVariant9fromValueIN18qdesigner_internal29PropertySheetKeySequenceValueEEES_RKT_ at Base 4:4.8.6
- (arch=powerpcspe sparc)_ZN9QHashData8willGrowEv at Base 4:4.8.5+git209
- (optional=gccinternal|arch=alpha arm64 armel armhf hppa mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sh4)_ZN9QHashData9hasShrunkEv at Base 4:4.8.6
+ (arch=powerpcspe)_ZN9QHashData8willGrowEv at Base 4:4.8.5+git209
+ (optional=gccinternal|arch=alpha arm64 armel armhf hppa m68k mips mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390x sh4 sparc64)_ZN9QHashData9hasShrunkEv at Base 4:4.8.6
_ZTI22QItemEditorCreatorBase at Base 4:4.5.3
_ZTS22QItemEditorCreatorBase at Base 4:4.5.3
(optional=external)_ZeqRK6QRectFS1_ at Base 4:4.8.1
diff --git a/debian/libqt4-help.symbols b/debian/libqt4-help.symbols
index dad06e2..f7cd6a4 100644
--- a/debian/libqt4-help.symbols
+++ b/debian/libqt4-help.symbols
@@ -104,8 +104,6 @@ libQtHelp.so.4 libqt4-help #MINVER#
_ZN16QHelpProjectDataD0Ev at Base 4:4.5.3
_ZN16QHelpProjectDataD1Ev at Base 4:4.5.3
_ZN16QHelpProjectDataD2Ev at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN16QHelpSearchQueryD1Ev at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sparc)_ZN16QHelpSearchQueryD2Ev at Base 4:4.8.5+git242
_ZN17QHelpContentModel11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.5.3
_ZN17QHelpContentModel11qt_metacastEPKc at Base 4:4.5.3
_ZN17QHelpContentModel14createContentsERK7QString at Base 4:4.5.3
diff --git a/debian/libqt4-network.symbols b/debian/libqt4-network.symbols
index 188df93..7c4b92c 100644
--- a/debian/libqt4-network.symbols
+++ b/debian/libqt4-network.symbols
@@ -4,7 +4,6 @@ libQtNetwork.so.4 libqt4-network #MINVER#
_Z19qt_qhostinfo_lookupRK7QStringP7QObjectPKcPbPi at Base 4:4.6.3
_Z35qNetworkConfigurationManagerPrivatev at Base 4:4.7.0~beta1
_Z5qHashRK12QHostAddress at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN10QByteArray4dataEv at Base 4:4.8.5+git242
_ZN10QSslCipherC1ERK7QStringN4QSsl11SslProtocolE at Base 4:4.5.3
_ZN10QSslCipherC1ERKS_ at Base 4:4.5.3
_ZN10QSslCipherC1Ev at Base 4:4.5.3
@@ -357,7 +356,7 @@ libQtNetwork.so.4 libqt4-network #MINVER#
_ZN15QAbstractSocketD0Ev at Base 4:4.5.3
_ZN15QAbstractSocketD1Ev at Base 4:4.5.3
_ZN15QAbstractSocketD2Ev at Base 4:4.5.3
- (optional=external|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
+ (optional=external|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
_ZN15QNetworkRequest11setPriorityENS_8PriorityE at Base 4:4.7.0~beta1
_ZN15QNetworkRequest12setAttributeENS_9AttributeERK8QVariant at Base 4:4.5.3
_ZN15QNetworkRequest12setRawHeaderERK10QByteArrayS2_ at Base 4:4.5.3
diff --git a/debian/libqt4-opengl.symbols b/debian/libqt4-opengl.symbols
index 3ae7565..ef1981e 100644
--- a/debian/libqt4-opengl.symbols
+++ b/debian/libqt4-opengl.symbols
@@ -1,4 +1,4 @@
-# SymbolsHelper-Confirmed: 4:4.8.7 alpha amd64 arm64 armel armhf hppa mips mipsel powerpc ppc64 ppc64el s390x
+# SymbolsHelper-Confirmed: 4:4.8.7 alpha amd64 arm64 armel armhf hppa hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc ppc64 ppc64el s390x x32
libQtOpenGL.so.4 libqt4-opengl #MINVER#
* Build-Depends-Package: libqt4-dev
_Z18qt_gl_library_namev at Base 4:4.5.3
@@ -9,8 +9,8 @@ libQtOpenGL.so.4 libqt4-opengl #MINVER#
_Z26qt_destroy_gl_share_widgetv at Base 4:4.7.1
_Z28qt_resolve_buffer_extensionsP10QGLContext at Base 4:4.8.0
_Z32qt_resolve_version_2_0_functionsP10QGLContext at Base 4:4.8.0
- (optional=gcc5|arch=!amd64)_ZN10QByteArrayD1Ev at Base 4:4.8.7
- (optional=gcc5|arch=!amd64)_ZN10QByteArrayD2Ev at Base 4:4.8.7
+ (optional=gcc5|arch=!amd64 !hurd-i386 !i386 !kfreebsd-amd64 !kfreebsd-i386 !x32)_ZN10QByteArrayD1Ev at Base 4:4.8.7
+ (optional=gcc5|arch=!amd64 !hurd-i386 !i386 !kfreebsd-amd64 !kfreebsd-i386 !x32)_ZN10QByteArrayD2Ev at Base 4:4.8.7
_ZN10QGLContext10areSharingEPKS_S1_ at Base 4:4.6.1
_ZN10QGLContext10currentCtxE at Base 4:4.5.3
_ZN10QGLContext11bindTextureERK6QImageji6QFlagsINS_10BindOptionEE at Base 4:4.6.1
@@ -69,9 +69,7 @@ libQtOpenGL.so.4 libqt4-opengl #MINVER#
_ZN12QGLFunctionsC1Ev at Base 4:4.8.0
_ZN12QGLFunctionsC2EPK10QGLContext at Base 4:4.8.0
_ZN12QGLFunctionsC2Ev at Base 4:4.8.0
- (arch=powerpcspe sparc)_ZN12QMutexLocker6unlockEv at Base 4:4.8.5+git209
- (optional=gccinternal|arch=sparc)_ZN12QWriteLockerD1Ev at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sparc)_ZN12QWriteLockerD2Ev at Base 4:4.8.5+git242
+ (arch=powerpcspe)_ZN12QMutexLocker6unlockEv at Base 4:4.8.5+git209
_ZN13QGLPixmapData15fromImageReaderEP12QImageReader6QFlagsIN2Qt19ImageConversionFlagEE at Base 4:4.7.4
_ZN13QGLPixmapData20createPixmapForImageER6QImage6QFlagsIN2Qt19ImageConversionFlagEEb at Base 4:4.7.4
_ZN13QGLPixmapData4copyEPK11QPixmapDataRK5QRect at Base 4:4.7.0~rc1
@@ -125,7 +123,7 @@ libQtOpenGL.so.4 libqt4-opengl #MINVER#
_ZN14QPaintEngineEx17endNativePaintingEv at Base 4:4.6.1
_ZN14QPaintEngineEx19beginNativePaintingEv at Base 4:4.6.1
_ZN14QPaintEngineEx4syncEv at Base 4:4.6.1
- (optional=external|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
+ (optional=external|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
(optional=gccinternal|arch=sh4)_ZN15QBasicAtomicInt5derefEv at Base 4:4.8.6
_ZN16QGLShaderProgram11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.6.1
_ZN16QGLShaderProgram11qt_metacastEPKc at Base 4:4.6.1
@@ -466,10 +464,8 @@ libQtOpenGL.so.4 libqt4-opengl #MINVER#
(optional=external)_ZN6QDebugD2Ev at Base 4:4.8.1
(optional=external)_ZN6QDebuglsEPKc at Base 4:4.8.1
(optional=gccinternal)_ZN6QMutex12unlockInlineEv at Base 4:4.8.4
- (optional=gcc5|arch=!amd64)_ZN7QStringD1Ev at Base 4:4.8.7
- (optional=gcc5|arch=!amd64)_ZN7QStringD2Ev at Base 4:4.8.7
- (arch=sparc)_ZN8QPolygonD1Ev at Base 4:4.8.5+git242
- (arch=sparc)_ZN8QPolygonD2Ev at Base 4:4.8.5+git242
+ (optional=gcc5|arch=!amd64 !hurd-i386 !i386 !kfreebsd-amd64 !kfreebsd-i386 !x32)_ZN7QStringD1Ev at Base 4:4.8.7
+ (optional=gcc5|arch=!amd64 !hurd-i386 !i386 !kfreebsd-amd64 !kfreebsd-i386 !x32)_ZN7QStringD2Ev at Base 4:4.8.7
_ZN9QGLBuffer15setUsagePatternENS_12UsagePatternE at Base 4:4.7.0~beta1
_ZN9QGLBuffer3mapENS_6AccessE at Base 4:4.7.0~beta1
_ZN9QGLBuffer4bindEv at Base 4:4.7.0~rc1
@@ -599,9 +595,6 @@ libQtOpenGL.so.4 libqt4-opengl #MINVER#
_ZN9QGLWidgetD0Ev at Base 4:4.5.3
_ZN9QGLWidgetD1Ev at Base 4:4.5.3
_ZN9QGLWidgetD2Ev at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN9QHashData8willGrowEv at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sparc)_ZN9QPolygonFD1Ev at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sparc)_ZN9QPolygonFD2Ev at Base 4:4.8.5+git242
_ZNK10QGLContext10colorIndexERK6QColor at Base 4:4.5.3
_ZNK10QGLContext11initializedEv at Base 4:4.5.3
_ZNK10QGLContext11swapBuffersEv at Base 4:4.5.3
diff --git a/debian/libqt4-qt3support.symbols b/debian/libqt4-qt3support.symbols
index f8d035a..195cef3 100644
--- a/debian/libqt4-qt3support.symbols
+++ b/debian/libqt4-qt3support.symbols
@@ -1,4 +1,4 @@
-# SymbolsHelper-Confirmed: 4:4.8.7 alpha amd64 arm64 armel armhf hppa hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc ppc64 ppc64el s390x x32
+# SymbolsHelper-Confirmed: 4:4.8.7 alpha amd64 arm64 armel armhf hppa hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel powerpc ppc64 ppc64el s390x x32
libQt3Support.so.4 libqt4-qt3support #MINVER#
* Build-Depends-Package: libqt4-dev
_Z16qt_tryAccelEventP7QWidgetP9QKeyEvent at Base 4:4.5.3
@@ -718,7 +718,6 @@ libQt3Support.so.4 libqt4-qt3support #MINVER#
_ZN10Q3TitleBarD0Ev at Base 4:4.5.3
_ZN10Q3TitleBarD1Ev at Base 4:4.5.3
_ZN10Q3TitleBarD2Ev at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN10QByteArray4dataEv at Base 4:4.8.5+git242
_ZN11Q3ColorDrag11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.5.3
_ZN11Q3ColorDrag11qt_metacastEPKc at Base 4:4.5.3
_ZN11Q3ColorDrag16staticMetaObjectE at Base 4:4.5.3
@@ -1625,8 +1624,6 @@ libQt3Support.so.4 libqt4-qt3support #MINVER#
_ZN12Q3TextStreamrsERs at Base 4:4.5.3
_ZN12Q3TextStreamrsERt at Base 4:4.5.3
_ZN12Q3TextString16appendParagraphsEP15Q3TextParagraphS1_ at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN12Q3TextString18nextCursorPositionEi at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sparc)_ZN12Q3TextString22previousCursorPositionEi at Base 4:4.8.5+git242
_ZN12Q3TextString5clearEv at Base 4:4.5.3
_ZN12Q3TextString6insertEiP16Q3TextStringCharb at Base 4:4.5.3
_ZN12Q3TextString6insertEiPK5QChariP12Q3TextFormat at Base 4:4.5.3
@@ -2462,7 +2459,7 @@ libQt3Support.so.4 libqt4-qt3support #MINVER#
_ZN15Q3TextTableCellD0Ev at Base 4:4.5.3
_ZN15Q3TextTableCellD1Ev at Base 4:4.5.3
_ZN15Q3TextTableCellD2Ev at Base 4:4.5.3
- (optional=external|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
+ (optional=external|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
_ZN16Q3CanvasItemList10drawUniqueER8QPainter at Base 4:4.5.3
_ZN16Q3CanvasItemList4sortEv at Base 4:4.5.3
_ZN16Q3CheckTableItem10setCheckedEb at Base 4:4.5.3
@@ -3341,7 +3338,7 @@ libQt3Support.so.4 libqt4-qt3support #MINVER#
_ZN7Q3TableD0Ev at Base 4:4.5.3
_ZN7Q3TableD1Ev at Base 4:4.5.3
_ZN7Q3TableD2Ev at Base 4:4.5.3
- _ZN7QString5clearEv at Base 4:4.8.7
+ (arch=!m68k)_ZN7QString5clearEv at Base 4:4.8.7
_ZN8Q3Action10removeFromEP7QWidget at Base 4:4.5.3
_ZN8Q3Action10setEnabledEb at Base 4:4.5.3
_ZN8Q3Action10setIconSetERK5QIcon at Base 4:4.5.3
@@ -3649,8 +3646,6 @@ libQt3Support.so.4 libqt4-qt3support #MINVER#
_ZN9Q3CString6setNumEm at Base 4:4.5.3
_ZN9Q3CString7sprintfEPKcz at Base 4:4.5.3
_ZN9Q3CString9setExpandEjc at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN9Q3CStringD1Ev at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sparc)_ZN9Q3CStringD2Ev at Base 4:4.8.5+git242
_ZN9Q3GVector12compareItemsEPvS0_ at Base 4:4.5.3
_ZN9Q3GVector12insertExpandEjPv at Base 4:4.5.3
_ZN9Q3GVector17warningIndexRangeEj at Base 4:4.5.3
diff --git a/debian/libqt4-script.symbols b/debian/libqt4-script.symbols
index e9cba66..5d12ae1 100644
--- a/debian/libqt4-script.symbols
+++ b/debian/libqt4-script.symbols
@@ -151,8 +151,8 @@ libQtScript.so.4 libqt4-script #MINVER#
_ZN14QScriptProgramD1Ev at Base 4:4.6.1
_ZN14QScriptProgramD2Ev at Base 4:4.6.1
_ZN14QScriptProgramaSERKS_ at Base 4:4.6.1
- (optional=external|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
- (optional=external|arch=sh4 sparc)_ZN15QBasicAtomicInt5derefEv at Base 4:4.5.3
+ (optional=external|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
+ (optional=external|arch=sh4)_ZN15QBasicAtomicInt5derefEv at Base 4:4.5.3
_ZN18QScriptContextInfoC1EPK14QScriptContext at Base 4:4.5.3
_ZN18QScriptContextInfoC1ERKS_ at Base 4:4.5.3
_ZN18QScriptContextInfoC1Ev at Base 4:4.5.3
diff --git a/debian/libqt4-scripttools.symbols b/debian/libqt4-scripttools.symbols
index d6ea9bf..a301386 100644
--- a/debian/libqt4-scripttools.symbols
+++ b/debian/libqt4-scripttools.symbols
@@ -1,11 +1,7 @@
# SymbolsHelper-Confirmed: 4:4.8.7 amd64
libQtScriptTools.so.4 libqt4-scripttools #MINVER#
* Build-Depends-Package: libqt4-dev
- (optional=external|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
- (arch=sparc)_ZN15QLinearGradientD1Ev at Base 4:4.8.5+git242
- (arch=sparc)_ZN15QLinearGradientD2Ev at Base 4:4.8.5+git242
- (arch=sparc)_ZN20QXmlStreamAttributesD1Ev at Base 4:4.8.5+git242
- (arch=sparc)_ZN20QXmlStreamAttributesD2Ev at Base 4:4.8.5+git242
+ (optional=external|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
_ZN21QScriptEngineDebugger11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.5.3
_ZN21QScriptEngineDebugger11qt_metacastEPKc at Base 4:4.5.3
_ZN21QScriptEngineDebugger16staticMetaObjectE at Base 4:4.5.3
@@ -21,7 +17,6 @@ libQtScriptTools.so.4 libqt4-scripttools #MINVER#
_ZN21QScriptEngineDebuggerD0Ev at Base 4:4.5.3
_ZN21QScriptEngineDebuggerD1Ev at Base 4:4.5.3
_ZN21QScriptEngineDebuggerD2Ev at Base 4:4.5.3
- (optional=templinst|arch=sparc)_ZN8QVariant9fromValueI5QPairI5QListIxES3_EEES_RKT_ at Base 4:4.8.5+git242
_ZNK21QScriptEngineDebugger10metaObjectEv at Base 4:4.5.3
_ZNK21QScriptEngineDebugger14standardWindowEv at Base 4:4.5.3
_ZNK21QScriptEngineDebugger22autoShowStandardWindowEv at Base 4:4.5.3
diff --git a/debian/libqt4-svg.symbols b/debian/libqt4-svg.symbols
index f990544..eab861c 100644
--- a/debian/libqt4-svg.symbols
+++ b/debian/libqt4-svg.symbols
@@ -52,7 +52,7 @@ libQtSvg.so.4 libqt4-svg #MINVER#
_ZN13QSvgGeneratorD0Ev at Base 4:4.5.3
_ZN13QSvgGeneratorD1Ev at Base 4:4.5.3
_ZN13QSvgGeneratorD2Ev at Base 4:4.5.3
- (optional=external|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
+ (optional=external|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
(arch=sh4)_ZN15QBasicAtomicInt5derefEv at Base 4:4.8.5
_ZN16QGraphicsSvgItem11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.5.3
_ZN16QGraphicsSvgItem11qt_metacastEPKc at Base 4:4.5.3
diff --git a/debian/libqt4-xmlpatterns.symbols b/debian/libqt4-xmlpatterns.symbols
index 41aa67e..079a26f 100644
--- a/debian/libqt4-xmlpatterns.symbols
+++ b/debian/libqt4-xmlpatterns.symbols
@@ -59,8 +59,8 @@ libQtXmlPatterns.so.4 libqt4-xmlpatterns #MINVER#
_ZN14QXmlSerializerC1ERK9QXmlQueryP9QIODevice at Base 4:4.5.3
_ZN14QXmlSerializerC2EP27QAbstractXmlReceiverPrivate at Base 4:4.5.3
_ZN14QXmlSerializerC2ERK9QXmlQueryP9QIODevice at Base 4:4.5.3
- (optional=gccinternal|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sh4 sparc)_ZN15QBasicAtomicInt5derefEv at Base 4:4.8.5+git242
+ (optional=gccinternal|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.8.5+git242
+ (optional=gccinternal|arch=sh4)_ZN15QBasicAtomicInt5derefEv at Base 4:4.8.5+git242
_ZN15QSourceLocation6setUriERK4QUrl at Base 4:4.5.3
_ZN15QSourceLocation7setLineEx at Base 4:4.5.3
_ZN15QSourceLocation9setColumnEx at Base 4:4.5.3
diff --git a/debian/libqtcore4.symbols b/debian/libqtcore4.symbols
index 50362bf..95ae1de 100644
--- a/debian/libqtcore4.symbols
+++ b/debian/libqtcore4.symbols
@@ -1,4 +1,4 @@
-# SymbolsHelper-Confirmed: 4:4.8.7 alpha amd64 arm64 armel armhf hppa mips mipsel powerpc ppc64 ppc64el s390x x32
+# SymbolsHelper-Confirmed: 4:4.8.7 alpha amd64 arm64 armel armhf hppa m68k mips mips64el mipsel powerpc ppc64 ppc64el s390x sparc64 x32
libQtCLucene.so.4 libqtcore4 #MINVER#
* Build-Depends-Package: libqt4-dev
_ZN12QCLuceneHits2idEi at Base 4:4.5.3
@@ -440,171 +440,12 @@ libQtCLucene.so.4 libqtcore4 #MINVER#
_ZNK21QCLuceneMultiSearcher13searcherIndexEi at Base 4:4.5.3
_ZNK21QCLuceneMultiSearcher6maxDocEv at Base 4:4.5.3
_ZNK21QCLuceneMultiSearcher6subDocEi at Base 4:4.5.3
- (optional=templinst|arch=sparc)_ZNSt3mapI7QStringPN6lucene5index18CompoundFileReader9FileEntryENS1_4util7Compare7QstringESaISt4pairIKS0_S5_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapI7QStringPN6lucene5index18CompoundFileReader9FileEntryENS1_4util7Compare7QstringESaISt4pairIKS0_S5_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapI7QStringPN6lucene5store11FSDirectoryENS1_4util7Compare7QstringESaISt4pairIKS0_S4_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapI7QStringPN6lucene5store11FSDirectoryENS1_4util7Compare7QstringESaISt4pairIKS0_S4_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapI7QStringPN6lucene5store7RAMFileENS1_4util7Compare7QstringESaISt4pairIKS0_S4_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapI7QStringPN6lucene5store7RAMFileENS1_4util7Compare7QstringESaISt4pairIKS0_S4_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapI7QStringPvN6lucene4util7Compare7QstringESaISt4pairIKS0_S1_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapI7QStringPvN6lucene4util7Compare7QstringESaISt4pairIKS0_S1_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPFvPN6lucene5index11IndexReaderEPvES4_NS2_20CloseCallbackCompareESaISt4pairIKS6_S4_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPFvPN6lucene5index11IndexReaderEPvES4_NS2_20CloseCallbackCompareESaISt4pairIKS6_S4_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKciN6lucene4util7Compare4CharESaISt4pairIKS1_iEEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKciN6lucene4util7Compare4CharESaISt4pairIKS1_iEEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKwPN6lucene5index13SegmentReader4NormENS2_4util7Compare5TCharESaISt4pairIKS1_S6_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKwPN6lucene5index13SegmentReader4NormENS2_4util7Compare5TCharESaISt4pairIKS1_S6_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKwPN6lucene5index9FieldInfoENS2_4util7Compare5TCharESaISt4pairIKS1_S5_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKwPN6lucene5index9FieldInfoENS2_4util7Compare5TCharESaISt4pairIKS1_S5_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKwPN6lucene8analysis8AnalyzerENS2_4util7Compare5TCharESaISt4pairIKS1_S5_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKwPN6lucene8analysis8AnalyzerENS2_4util7Compare5TCharESaISt4pairIKS1_S5_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKwPhN6lucene4util7Compare5TCharESaISt4pairIKS1_S2_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKwPhN6lucene4util7Compare5TCharESaISt4pairIKS1_S2_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKwiN6lucene4util7Compare5TCharESaISt4pairIKS1_iEEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPKwiN6lucene4util7Compare5TCharESaISt4pairIKS1_iEEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene5index11IndexReaderEPNS0_6search14FieldCacheImpl25fieldcacheCacheReaderTypeENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene5index11IndexReaderEPNS0_6search14FieldCacheImpl25fieldcacheCacheReaderTypeENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene5index11IndexReaderEPNS0_6search19FieldSortedHitQueue23hitqueueCacheReaderTypeENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene5index11IndexReaderEPNS0_6search19FieldSortedHitQueue23hitqueueCacheReaderTypeENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene5index11IndexReaderEPNS0_6search21AbstractCachingFilter12BitSetHolderENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene5index11IndexReaderEPNS0_6search21AbstractCachingFilter12BitSetHolderENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene5index4TermEPNS1_14DocumentWriter7PostingENS2_7CompareESaISt4pairIKS3_S6_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene5index4TermEPNS1_14DocumentWriter7PostingENS2_7CompareESaISt4pairIKS3_S6_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene6search14FieldCacheImpl9FileEntryEPNS1_14FieldCacheAutoENS3_7CompareESaISt4pairIKS4_S6_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene6search14FieldCacheImpl9FileEntryEPNS1_14FieldCacheAutoENS3_7CompareESaISt4pairIKS4_S6_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene6search14FieldCacheImpl9FileEntryEPNS1_18ScoreDocComparatorENS3_7CompareESaISt4pairIKS4_S6_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapIPN6lucene6search14FieldCacheImpl9FileEntryEPNS1_18ScoreDocComparatorENS3_7CompareESaISt4pairIKS4_S6_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapImPN6lucene5index15SegmentTermEnumENS0_4util22CLuceneThreadIdCompareESaISt4pairIKmS3_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapImPN6lucene5index15SegmentTermEnumENS0_4util22CLuceneThreadIdCompareESaISt4pairIKmS3_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapImPN6lucene5index17TermVectorsReaderENS0_4util22CLuceneThreadIdCompareESaISt4pairIKmS3_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3mapImPN6lucene5index17TermVectorsReaderENS0_4util22CLuceneThreadIdCompareESaISt4pairIKmS3_EEED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3setI7QStringN6lucene4util7Compare7QstringESaIS0_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3setI7QStringN6lucene4util7Compare7QstringESaIS0_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3setIPFvbEN6lucene4util7Compare4VoidIS0_EESaIS1_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3setIPFvbEN6lucene4util7Compare4VoidIS0_EESaIS1_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3setIPKwN6lucene4util7Compare5TCharESaIS1_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3setIPKwN6lucene4util7Compare5TCharESaIS1_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3setIPwN6lucene4util7Compare5TCharESaIS0_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt3setIPwN6lucene4util7Compare5TCharESaIS0_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt4listIPN6lucene5index18CompoundFileWriter15WriterFileEntryESaIS4_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt4listIPN6lucene5index18CompoundFileWriter15WriterFileEntryESaIS4_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt4listIPN6lucene6search6ScorerESaIS3_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt4listIPN6lucene6search6ScorerESaIS3_EED2Ev at Base 4:4.8.5+git242
(optional=templinst)_ZNSt6vectorIPKwSaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_ at Base 4:4.5.3
(optional=templinst|arch=powerpcspe)_ZNSt6vectorIPKwSaIS1_EED1Ev at Base 4:4.8.5+git209
(optional=templinst|arch=powerpcspe)_ZNSt6vectorIPKwSaIS1_EED2Ev at Base 4:4.8.5+git209
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene11queryParser10QueryTokenESaIS3_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS3_S5_EERKS3_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene11queryParser10QueryTokenESaIS3_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene11queryParser10QueryTokenESaIS3_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index11IndexReaderESaIS3_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS3_S5_EERKS3_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index11IndexReaderESaIS3_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index11IndexReaderESaIS3_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index13SegmentReaderESaIS3_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS3_S5_EERKS3_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index13SegmentReaderESaIS3_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index13SegmentReaderESaIS3_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index17TermVectorsWriter6TVTermESaIS4_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS4_S6_EERKS4_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index17TermVectorsWriter6TVTermESaIS4_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index17TermVectorsWriter6TVTermESaIS4_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index17TermVectorsWriter7TVFieldESaIS4_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS4_S6_EERKS4_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index17TermVectorsWriter7TVFieldESaIS4_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index17TermVectorsWriter7TVFieldESaIS4_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index4TermESaIS3_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS3_S5_EERKS3_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index4TermESaIS3_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index4TermESaIS3_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index9FieldInfoESaIS3_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS3_S5_EERKS3_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index9FieldInfoESaIS3_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene5index9FieldInfoESaIS3_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search11ExplanationESaIS3_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS3_S5_EERKS3_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search11ExplanationESaIS3_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search11ExplanationESaIS3_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search13BooleanClauseESaIS3_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS3_S5_EERKS3_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search13BooleanClauseESaIS3_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search13BooleanClauseESaIS3_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search6HitDocESaIS3_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS3_S5_EERKS3_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search6HitDocESaIS3_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search6HitDocESaIS3_EED2Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search6WeightESaIS3_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS3_S5_EERKS3_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search6WeightESaIS3_EED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt6vectorIPN6lucene6search6WeightESaIS3_EED2Ev at Base 4:4.8.5+git242
(optional=templinst)_ZNSt6vectorIPhSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_ at Base 4:4.5.3
(optional=templinst)_ZNSt6vectorIPwSaIS0_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS0_S2_EERKS0_ at Base 4:4.5.3
(optional=templinst)_ZNSt6vectorIiSaIiEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPiS1_EERKi at Base 4:4.5.3
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringS0_St9_IdentityIS0_EN6lucene4util7Compare7QstringESaIS0_EE10_M_insert_EPKSt18_Rb_tree_node_baseSB_RKS0_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringS0_St9_IdentityIS0_EN6lucene4util7Compare7QstringESaIS0_EE16_M_insert_uniqueERKS0_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringS0_St9_IdentityIS0_EN6lucene4util7Compare7QstringESaIS0_EE8_M_eraseEPSt13_Rb_tree_nodeIS0_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PN6lucene5index18CompoundFileReader9FileEntryEESt10_Select1stIS8_ENS3_4util7Compare7QstringESaIS8_EE10_M_insert_EPKSt18_Rb_tree_node_baseSI_RKS8_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PN6lucene5index18CompoundFileReader9FileEntryEESt10_Select1stIS8_ENS3_4util7Compare7QstringESaIS8_EE16_M_insert_uniqueERKS8_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PN6lucene5index18CompoundFileReader9FileEntryEESt10_Select1stIS8_ENS3_4util7Compare7QstringESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PN6lucene5store11FSDirectoryEESt10_Select1stIS7_ENS3_4util7Compare7QstringESaIS7_EE10_M_insert_EPKSt18_Rb_tree_node_baseSH_RKS7_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PN6lucene5store11FSDirectoryEESt10_Select1stIS7_ENS3_4util7Compare7QstringESaIS7_EE16_M_insert_uniqueERKS7_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PN6lucene5store11FSDirectoryEESt10_Select1stIS7_ENS3_4util7Compare7QstringESaIS7_EE8_M_eraseEPSt13_Rb_tree_nodeIS7_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PN6lucene5store7RAMFileEESt10_Select1stIS7_ENS3_4util7Compare7QstringESaIS7_EE10_M_insert_EPKSt18_Rb_tree_node_baseSH_RKS7_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PN6lucene5store7RAMFileEESt10_Select1stIS7_ENS3_4util7Compare7QstringESaIS7_EE16_M_insert_uniqueERKS7_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PN6lucene5store7RAMFileEESt10_Select1stIS7_ENS3_4util7Compare7QstringESaIS7_EE17_M_insert_unique_ESt23_Rb_tree_const_iteratorIS7_ERKS7_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PN6lucene5store7RAMFileEESt10_Select1stIS7_ENS3_4util7Compare7QstringESaIS7_EE8_M_eraseEPSt13_Rb_tree_nodeIS7_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PvESt10_Select1stIS4_EN6lucene4util7Compare7QstringESaIS4_EE10_M_insert_EPKSt18_Rb_tree_node_baseSF_RKS4_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PvESt10_Select1stIS4_EN6lucene4util7Compare7QstringESaIS4_EE16_M_insert_uniqueERKS4_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeI7QStringSt4pairIKS0_PvESt10_Select1stIS4_EN6lucene4util7Compare7QstringESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPFvPN6lucene5index11IndexReaderEPvESt4pairIKS6_S4_ESt10_Select1stIS9_ENS2_20CloseCallbackCompareESaIS9_EE10_M_insert_EPKSt18_Rb_tree_node_baseSH_RKS9_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPFvPN6lucene5index11IndexReaderEPvESt4pairIKS6_S4_ESt10_Select1stIS9_ENS2_20CloseCallbackCompareESaIS9_EE16_M_insert_uniqueERKS9_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPFvPN6lucene5index11IndexReaderEPvESt4pairIKS6_S4_ESt10_Select1stIS9_ENS2_20CloseCallbackCompareESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPFvbES1_St9_IdentityIS1_EN6lucene4util7Compare4VoidIS0_EESaIS1_EE10_M_insert_EPKSt18_Rb_tree_node_baseSD_RKS1_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPFvbES1_St9_IdentityIS1_EN6lucene4util7Compare4VoidIS0_EESaIS1_EE16_M_insert_uniqueERKS1_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPFvbES1_St9_IdentityIS1_EN6lucene4util7Compare4VoidIS0_EESaIS1_EE8_M_eraseEPSt13_Rb_tree_nodeIS1_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKcSt4pairIKS1_iESt10_Select1stIS4_EN6lucene4util7Compare4CharESaIS4_EE10_M_insert_EPKSt18_Rb_tree_node_baseSF_RKS4_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKcSt4pairIKS1_iESt10_Select1stIS4_EN6lucene4util7Compare4CharESaIS4_EE16_M_insert_uniqueERKS4_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKcSt4pairIKS1_iESt10_Select1stIS4_EN6lucene4util7Compare4CharESaIS4_EE17_M_insert_unique_ESt23_Rb_tree_const_iteratorIS4_ERKS4_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKcSt4pairIKS1_iESt10_Select1stIS4_EN6lucene4util7Compare4CharESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwS1_St9_IdentityIS1_EN6lucene4util7Compare5TCharESaIS1_EE10_M_insert_EPKSt18_Rb_tree_node_baseSC_RKS1_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwS1_St9_IdentityIS1_EN6lucene4util7Compare5TCharESaIS1_EE16_M_insert_uniqueERKS1_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwS1_St9_IdentityIS1_EN6lucene4util7Compare5TCharESaIS1_EE8_M_eraseEPSt13_Rb_tree_nodeIS1_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PN6lucene5index13SegmentReader4NormEESt10_Select1stIS9_ENS4_4util7Compare5TCharESaIS9_EE10_M_insert_EPKSt18_Rb_tree_node_baseSJ_RKS9_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PN6lucene5index13SegmentReader4NormEESt10_Select1stIS9_ENS4_4util7Compare5TCharESaIS9_EE16_M_insert_uniqueERKS9_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PN6lucene5index13SegmentReader4NormEESt10_Select1stIS9_ENS4_4util7Compare5TCharESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PN6lucene5index9FieldInfoEESt10_Select1stIS8_ENS4_4util7Compare5TCharESaIS8_EE10_M_insert_EPKSt18_Rb_tree_node_baseSI_RKS8_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PN6lucene5index9FieldInfoEESt10_Select1stIS8_ENS4_4util7Compare5TCharESaIS8_EE16_M_insert_uniqueERKS8_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PN6lucene5index9FieldInfoEESt10_Select1stIS8_ENS4_4util7Compare5TCharESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PN6lucene8analysis8AnalyzerEESt10_Select1stIS8_ENS4_4util7Compare5TCharESaIS8_EE10_M_insert_EPKSt18_Rb_tree_node_baseSI_RKS8_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PN6lucene8analysis8AnalyzerEESt10_Select1stIS8_ENS4_4util7Compare5TCharESaIS8_EE16_M_insert_uniqueERKS8_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PN6lucene8analysis8AnalyzerEESt10_Select1stIS8_ENS4_4util7Compare5TCharESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PhESt10_Select1stIS5_EN6lucene4util7Compare5TCharESaIS5_EE10_M_insert_EPKSt18_Rb_tree_node_baseSG_RKS5_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PhESt10_Select1stIS5_EN6lucene4util7Compare5TCharESaIS5_EE16_M_insert_uniqueERKS5_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_PhESt10_Select1stIS5_EN6lucene4util7Compare5TCharESaIS5_EE8_M_eraseEPSt13_Rb_tree_nodeIS5_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_iESt10_Select1stIS4_EN6lucene4util7Compare5TCharESaIS4_EE10_M_insert_EPKSt18_Rb_tree_node_baseSF_RKS4_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_iESt10_Select1stIS4_EN6lucene4util7Compare5TCharESaIS4_EE16_M_insert_uniqueERKS4_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_iESt10_Select1stIS4_EN6lucene4util7Compare5TCharESaIS4_EE17_M_insert_unique_ESt23_Rb_tree_const_iteratorIS4_ERKS4_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPKwSt4pairIKS1_iESt10_Select1stIS4_EN6lucene4util7Compare5TCharESaIS4_EE8_M_eraseEPSt13_Rb_tree_nodeIS4_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index11IndexReaderESt4pairIKS3_PNS0_6search14FieldCacheImpl25fieldcacheCacheReaderTypeEESt10_Select1stISA_ENS0_4util7Compare4VoidIS2_EESaISA_EE10_M_insert_EPKSt18_Rb_tree_node_baseSL_RKSA_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index11IndexReaderESt4pairIKS3_PNS0_6search14FieldCacheImpl25fieldcacheCacheReaderTypeEESt10_Select1stISA_ENS0_4util7Compare4VoidIS2_EESaISA_EE16_M_insert_uniqueERKSA_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index11IndexReaderESt4pairIKS3_PNS0_6search14FieldCacheImpl25fieldcacheCacheReaderTypeEESt10_Select1stISA_ENS0_4util7Compare4VoidIS2_EESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index11IndexReaderESt4pairIKS3_PNS0_6search19FieldSortedHitQueue23hitqueueCacheReaderTypeEESt10_Select1stISA_ENS0_4util7Compare4VoidIS2_EESaISA_EE10_M_insert_EPKSt18_Rb_tree_node_baseSL_RKSA_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index11IndexReaderESt4pairIKS3_PNS0_6search19FieldSortedHitQueue23hitqueueCacheReaderTypeEESt10_Select1stISA_ENS0_4util7Compare4VoidIS2_EESaISA_EE16_M_insert_uniqueERKSA_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index11IndexReaderESt4pairIKS3_PNS0_6search19FieldSortedHitQueue23hitqueueCacheReaderTypeEESt10_Select1stISA_ENS0_4util7Compare4VoidIS2_EESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index11IndexReaderESt4pairIKS3_PNS0_6search21AbstractCachingFilter12BitSetHolderEESt10_Select1stISA_ENS0_4util7Compare4VoidIS2_EESaISA_EE10_M_insert_EPKSt18_Rb_tree_node_baseSL_RKSA_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index11IndexReaderESt4pairIKS3_PNS0_6search21AbstractCachingFilter12BitSetHolderEESt10_Select1stISA_ENS0_4util7Compare4VoidIS2_EESaISA_EE16_M_insert_uniqueERKSA_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index11IndexReaderESt4pairIKS3_PNS0_6search21AbstractCachingFilter12BitSetHolderEESt10_Select1stISA_ENS0_4util7Compare4VoidIS2_EESaISA_EE8_M_eraseEPSt13_Rb_tree_nodeISA_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index4TermESt4pairIKS3_PNS1_14DocumentWriter7PostingEESt10_Select1stIS9_ENS2_7CompareESaIS9_EE10_M_insert_EPKSt18_Rb_tree_node_baseSH_RKS9_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index4TermESt4pairIKS3_PNS1_14DocumentWriter7PostingEESt10_Select1stIS9_ENS2_7CompareESaIS9_EE16_M_insert_uniqueERKS9_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene5index4TermESt4pairIKS3_PNS1_14DocumentWriter7PostingEESt10_Select1stIS9_ENS2_7CompareESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene6search14FieldCacheImpl9FileEntryESt4pairIKS4_PNS1_14FieldCacheAutoEESt10_Select1stIS9_ENS3_7CompareESaIS9_EE10_M_insert_EPKSt18_Rb_tree_node_baseSH_RKS9_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene6search14FieldCacheImpl9FileEntryESt4pairIKS4_PNS1_14FieldCacheAutoEESt10_Select1stIS9_ENS3_7CompareESaIS9_EE16_M_insert_uniqueERKS9_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene6search14FieldCacheImpl9FileEntryESt4pairIKS4_PNS1_14FieldCacheAutoEESt10_Select1stIS9_ENS3_7CompareESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene6search14FieldCacheImpl9FileEntryESt4pairIKS4_PNS1_18ScoreDocComparatorEESt10_Select1stIS9_ENS3_7CompareESaIS9_EE10_M_insert_EPKSt18_Rb_tree_node_baseSH_RKS9_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene6search14FieldCacheImpl9FileEntryESt4pairIKS4_PNS1_18ScoreDocComparatorEESt10_Select1stIS9_ENS3_7CompareESaIS9_EE16_M_insert_uniqueERKS9_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPN6lucene6search14FieldCacheImpl9FileEntryESt4pairIKS4_PNS1_18ScoreDocComparatorEESt10_Select1stIS9_ENS3_7CompareESaIS9_EE8_M_eraseEPSt13_Rb_tree_nodeIS9_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPwS0_St9_IdentityIS0_EN6lucene4util7Compare5TCharESaIS0_EE10_M_insert_EPKSt18_Rb_tree_node_baseSB_RKS0_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPwS0_St9_IdentityIS0_EN6lucene4util7Compare5TCharESaIS0_EE16_M_insert_uniqueERKS0_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeIPwS0_St9_IdentityIS0_EN6lucene4util7Compare5TCharESaIS0_EE8_M_eraseEPSt13_Rb_tree_nodeIS0_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeImSt4pairIKmPN6lucene4util15ThreadLocalBaseEESt10_Select1stIS6_ESt4lessImESaIS6_EE15_M_insert_equalERKS6_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeImSt4pairIKmPN6lucene4util15ThreadLocalBaseEESt10_Select1stIS6_ESt4lessImESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeImSt4pairIKmPN6lucene5index15SegmentTermEnumEESt10_Select1stIS6_ENS2_4util22CLuceneThreadIdCompareESaIS6_EE10_M_insert_EPKSt18_Rb_tree_node_baseSF_RKS6_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeImSt4pairIKmPN6lucene5index15SegmentTermEnumEESt10_Select1stIS6_ENS2_4util22CLuceneThreadIdCompareESaIS6_EE16_M_insert_uniqueERKS6_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeImSt4pairIKmPN6lucene5index15SegmentTermEnumEESt10_Select1stIS6_ENS2_4util22CLuceneThreadIdCompareESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeImSt4pairIKmPN6lucene5index17TermVectorsReaderEESt10_Select1stIS6_ENS2_4util22CLuceneThreadIdCompareESaIS6_EE10_M_insert_EPKSt18_Rb_tree_node_baseSF_RKS6_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeImSt4pairIKmPN6lucene5index17TermVectorsReaderEESt10_Select1stIS6_ENS2_4util22CLuceneThreadIdCompareESaIS6_EE16_M_insert_uniqueERKS6_ at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8_Rb_treeImSt4pairIKmPN6lucene5index17TermVectorsReaderEESt10_Select1stIS6_ENS2_4util22CLuceneThreadIdCompareESaIS6_EE8_M_eraseEPSt13_Rb_tree_nodeIS6_E at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8multimapImPN6lucene4util15ThreadLocalBaseESt4lessImESaISt4pairIKmS3_EEED1Ev at Base 4:4.8.5+git242
- (optional=templinst|arch=sparc)_ZNSt8multimapImPN6lucene4util15ThreadLocalBaseESt4lessImESaISt4pairIKmS3_EEED2Ev at Base 4:4.8.5+git242
(optional=templinst)_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_ at Base 4:4.8.7
_ZTI12QCLuceneHits at Base 4:4.5.3
_ZTI12QCLuceneSort at Base 4:4.5.3
@@ -637,64 +478,14 @@ libQtCLucene.so.4 libqtcore4 #MINVER#
_ZTI26QCLuceneWhitespaceAnalyzer at Base 4:4.5.3
_ZTI29QCLuceneMultiFieldQueryParser at Base 4:4.5.3
_ZTI31QCLucenePerFieldAnalyzerWrapper at Base 4:4.5.3
- (arch=sparc)_ZTISt10_List_baseIPN6lucene5index18CompoundFileWriter15WriterFileEntryESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt10_List_baseIPN6lucene6search6ScorerESaIS3_EE at Base 4:4.8.5+git242
_ZTISt12_Vector_baseIPKwSaIS1_EE at Base 4:4.5.3
- (arch=sparc)_ZTISt12_Vector_baseIPN6lucene11queryParser10QueryTokenESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt12_Vector_baseIPN6lucene5index11IndexReaderESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt12_Vector_baseIPN6lucene5index13SegmentReaderESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt12_Vector_baseIPN6lucene5index17TermVectorsWriter6TVTermESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt12_Vector_baseIPN6lucene5index17TermVectorsWriter7TVFieldESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt12_Vector_baseIPN6lucene5index4TermESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt12_Vector_baseIPN6lucene5index9FieldInfoESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt12_Vector_baseIPN6lucene6search11ExplanationESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt12_Vector_baseIPN6lucene6search13BooleanClauseESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt12_Vector_baseIPN6lucene6search6HitDocESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt12_Vector_baseIPN6lucene6search6WeightESaIS3_EE at Base 4:4.8.5+git242
(optional=templinst)_ZTISt12_Vector_baseIPhSaIS0_EE at Base 4:4.5.3
(optional=templinst)_ZTISt12_Vector_baseIPwSaIS0_EE at Base 4:4.5.3
(optional=templinst)_ZTISt12_Vector_baseIiSaIiEE at Base 4:4.5.3
- (arch=sparc)_ZTISt3mapI7QStringPN6lucene5index18CompoundFileReader9FileEntryENS1_4util7Compare7QstringESaISt4pairIKS0_S5_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapI7QStringPN6lucene5store11FSDirectoryENS1_4util7Compare7QstringESaISt4pairIKS0_S4_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapI7QStringPN6lucene5store7RAMFileENS1_4util7Compare7QstringESaISt4pairIKS0_S4_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapI7QStringPvN6lucene4util7Compare7QstringESaISt4pairIKS0_S1_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPFvPN6lucene5index11IndexReaderEPvES4_NS2_20CloseCallbackCompareESaISt4pairIKS6_S4_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPKciN6lucene4util7Compare4CharESaISt4pairIKS1_iEEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPKwPN6lucene5index13SegmentReader4NormENS2_4util7Compare5TCharESaISt4pairIKS1_S6_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPKwPN6lucene5index9FieldInfoENS2_4util7Compare5TCharESaISt4pairIKS1_S5_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPKwPN6lucene8analysis8AnalyzerENS2_4util7Compare5TCharESaISt4pairIKS1_S5_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPKwPhN6lucene4util7Compare5TCharESaISt4pairIKS1_S2_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPKwiN6lucene4util7Compare5TCharESaISt4pairIKS1_iEEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPN6lucene5index11IndexReaderEPNS0_6search14FieldCacheImpl25fieldcacheCacheReaderTypeENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPN6lucene5index11IndexReaderEPNS0_6search19FieldSortedHitQueue23hitqueueCacheReaderTypeENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPN6lucene5index11IndexReaderEPNS0_6search21AbstractCachingFilter12BitSetHolderENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPN6lucene5index4TermEPNS1_14DocumentWriter7PostingENS2_7CompareESaISt4pairIKS3_S6_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPN6lucene6search14FieldCacheImpl9FileEntryEPNS1_14FieldCacheAutoENS3_7CompareESaISt4pairIKS4_S6_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapIPN6lucene6search14FieldCacheImpl9FileEntryEPNS1_18ScoreDocComparatorENS3_7CompareESaISt4pairIKS4_S6_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapImPN6lucene5index15SegmentTermEnumENS0_4util22CLuceneThreadIdCompareESaISt4pairIKmS3_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3mapImPN6lucene5index17TermVectorsReaderENS0_4util22CLuceneThreadIdCompareESaISt4pairIKmS3_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3setI7QStringN6lucene4util7Compare7QstringESaIS0_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3setIPFvbEN6lucene4util7Compare4VoidIS0_EESaIS1_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3setIPKwN6lucene4util7Compare5TCharESaIS1_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt3setIPwN6lucene4util7Compare5TCharESaIS0_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt4listIPN6lucene5index18CompoundFileWriter15WriterFileEntryESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt4listIPN6lucene6search6ScorerESaIS3_EE at Base 4:4.8.5+git242
(optional=templinst)_ZTISt6vectorIPKwSaIS1_EE at Base 4:4.5.3
- (arch=sparc)_ZTISt6vectorIPN6lucene11queryParser10QueryTokenESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt6vectorIPN6lucene5index11IndexReaderESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt6vectorIPN6lucene5index13SegmentReaderESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt6vectorIPN6lucene5index17TermVectorsWriter6TVTermESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt6vectorIPN6lucene5index17TermVectorsWriter7TVFieldESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt6vectorIPN6lucene5index4TermESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt6vectorIPN6lucene5index9FieldInfoESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt6vectorIPN6lucene6search11ExplanationESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt6vectorIPN6lucene6search13BooleanClauseESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt6vectorIPN6lucene6search6HitDocESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTISt6vectorIPN6lucene6search6WeightESaIS3_EE at Base 4:4.8.5+git242
(optional=templinst)_ZTISt6vectorIPhSaIS0_EE at Base 4:4.5.3
(optional=templinst)_ZTISt6vectorIPwSaIS0_EE at Base 4:4.5.3
(optional=templinst)_ZTISt6vectorIiSaIiEE at Base 4:4.5.3
- (arch=sparc)_ZTISt8multimapImPN6lucene4util15ThreadLocalBaseESt4lessImESaISt4pairIKmS3_EEE at Base 4:4.8.5+git242
_ZTS12QCLuceneHits at Base 4:4.5.3
_ZTS12QCLuceneSort at Base 4:4.5.3
_ZTS12QCLuceneTerm at Base 4:4.5.3
@@ -726,64 +517,14 @@ libQtCLucene.so.4 libqtcore4 #MINVER#
_ZTS26QCLuceneWhitespaceAnalyzer at Base 4:4.5.3
_ZTS29QCLuceneMultiFieldQueryParser at Base 4:4.5.3
_ZTS31QCLucenePerFieldAnalyzerWrapper at Base 4:4.5.3
- (arch=sparc)_ZTSSt10_List_baseIPN6lucene5index18CompoundFileWriter15WriterFileEntryESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt10_List_baseIPN6lucene6search6ScorerESaIS3_EE at Base 4:4.8.5+git242
(optional=templinst)_ZTSSt12_Vector_baseIPKwSaIS1_EE at Base 4:4.5.3
- (arch=sparc)_ZTSSt12_Vector_baseIPN6lucene11queryParser10QueryTokenESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt12_Vector_baseIPN6lucene5index11IndexReaderESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt12_Vector_baseIPN6lucene5index13SegmentReaderESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt12_Vector_baseIPN6lucene5index17TermVectorsWriter6TVTermESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt12_Vector_baseIPN6lucene5index17TermVectorsWriter7TVFieldESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt12_Vector_baseIPN6lucene5index4TermESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt12_Vector_baseIPN6lucene5index9FieldInfoESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt12_Vector_baseIPN6lucene6search11ExplanationESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt12_Vector_baseIPN6lucene6search13BooleanClauseESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt12_Vector_baseIPN6lucene6search6HitDocESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt12_Vector_baseIPN6lucene6search6WeightESaIS3_EE at Base 4:4.8.5+git242
(optional=templinst)_ZTSSt12_Vector_baseIPhSaIS0_EE at Base 4:4.5.3
(optional=templinst)_ZTSSt12_Vector_baseIPwSaIS0_EE at Base 4:4.5.3
(optional=templinst)_ZTSSt12_Vector_baseIiSaIiEE at Base 4:4.5.3
- (arch=sparc)_ZTSSt3mapI7QStringPN6lucene5index18CompoundFileReader9FileEntryENS1_4util7Compare7QstringESaISt4pairIKS0_S5_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapI7QStringPN6lucene5store11FSDirectoryENS1_4util7Compare7QstringESaISt4pairIKS0_S4_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapI7QStringPN6lucene5store7RAMFileENS1_4util7Compare7QstringESaISt4pairIKS0_S4_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapI7QStringPvN6lucene4util7Compare7QstringESaISt4pairIKS0_S1_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPFvPN6lucene5index11IndexReaderEPvES4_NS2_20CloseCallbackCompareESaISt4pairIKS6_S4_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPKciN6lucene4util7Compare4CharESaISt4pairIKS1_iEEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPKwPN6lucene5index13SegmentReader4NormENS2_4util7Compare5TCharESaISt4pairIKS1_S6_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPKwPN6lucene5index9FieldInfoENS2_4util7Compare5TCharESaISt4pairIKS1_S5_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPKwPN6lucene8analysis8AnalyzerENS2_4util7Compare5TCharESaISt4pairIKS1_S5_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPKwPhN6lucene4util7Compare5TCharESaISt4pairIKS1_S2_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPKwiN6lucene4util7Compare5TCharESaISt4pairIKS1_iEEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPN6lucene5index11IndexReaderEPNS0_6search14FieldCacheImpl25fieldcacheCacheReaderTypeENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPN6lucene5index11IndexReaderEPNS0_6search19FieldSortedHitQueue23hitqueueCacheReaderTypeENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPN6lucene5index11IndexReaderEPNS0_6search21AbstractCachingFilter12BitSetHolderENS0_4util7Compare4VoidIS2_EESaISt4pairIKS3_S7_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPN6lucene5index4TermEPNS1_14DocumentWriter7PostingENS2_7CompareESaISt4pairIKS3_S6_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPN6lucene6search14FieldCacheImpl9FileEntryEPNS1_14FieldCacheAutoENS3_7CompareESaISt4pairIKS4_S6_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapIPN6lucene6search14FieldCacheImpl9FileEntryEPNS1_18ScoreDocComparatorENS3_7CompareESaISt4pairIKS4_S6_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapImPN6lucene5index15SegmentTermEnumENS0_4util22CLuceneThreadIdCompareESaISt4pairIKmS3_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3mapImPN6lucene5index17TermVectorsReaderENS0_4util22CLuceneThreadIdCompareESaISt4pairIKmS3_EEE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3setI7QStringN6lucene4util7Compare7QstringESaIS0_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3setIPFvbEN6lucene4util7Compare4VoidIS0_EESaIS1_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3setIPKwN6lucene4util7Compare5TCharESaIS1_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt3setIPwN6lucene4util7Compare5TCharESaIS0_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt4listIPN6lucene5index18CompoundFileWriter15WriterFileEntryESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt4listIPN6lucene6search6ScorerESaIS3_EE at Base 4:4.8.5+git242
(optional=templinst)_ZTSSt6vectorIPKwSaIS1_EE at Base 4:4.5.3
- (arch=sparc)_ZTSSt6vectorIPN6lucene11queryParser10QueryTokenESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt6vectorIPN6lucene5index11IndexReaderESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt6vectorIPN6lucene5index13SegmentReaderESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt6vectorIPN6lucene5index17TermVectorsWriter6TVTermESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt6vectorIPN6lucene5index17TermVectorsWriter7TVFieldESaIS4_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt6vectorIPN6lucene5index4TermESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt6vectorIPN6lucene5index9FieldInfoESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt6vectorIPN6lucene6search11ExplanationESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt6vectorIPN6lucene6search13BooleanClauseESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt6vectorIPN6lucene6search6HitDocESaIS3_EE at Base 4:4.8.5+git242
- (arch=sparc)_ZTSSt6vectorIPN6lucene6search6WeightESaIS3_EE at Base 4:4.8.5+git242
(optional=templinst)_ZTSSt6vectorIPhSaIS0_EE at Base 4:4.5.3
(optional=templinst)_ZTSSt6vectorIPwSaIS0_EE at Base 4:4.5.3
(optional=templinst)_ZTSSt6vectorIiSaIiEE at Base 4:4.5.3
- (arch=sparc)_ZTSSt8multimapImPN6lucene4util15ThreadLocalBaseESt4lessImESaISt4pairIKmS3_EEE at Base 4:4.8.5+git242
_ZTV12QCLuceneHits at Base 4:4.5.3
_ZTV12QCLuceneSort at Base 4:4.5.3
_ZTV12QCLuceneTerm at Base 4:4.5.3
@@ -829,7 +570,7 @@ libQtCore.so.4 libqtcore4 #MINVER#
(arch=ppc64 ppc64el)_Z10qvsnprintfPcmPKcS_ at Base 4:4.8.4
(arch=arm64)_Z10qvsnprintfPcmPKcSt9__va_list at Base 4:4.8.6
(arch=amd64 kfreebsd-amd64 powerpc powerpcspe s390 s390x x32|subst)_Z10qvsnprintfPc{size_t}PKcP13__va_list_tag at Base 4:4.8.7
- (arch=armel armhf hppa ia64 m68k mips mips64el mipsel sparc sparc64|subst)_Z10qvsnprintfPc{size_t}PKcPv at Base 4:4.8.6
+ (arch=armel armhf hppa ia64 m68k mips mips64el mipsel sparc64|subst)_Z10qvsnprintfPc{size_t}PKcPv at Base 4:4.8.6
_Z10scientificR11QTextStream at Base 4:4.5.3
_Z11noforcesignR11QTextStream at Base 4:4.5.3
_Z11qHBFreeFaceP11HB_FaceRec_ at Base 4:4.5.3
@@ -1641,8 +1382,8 @@ libQtCore.so.4 libqtcore4 #MINVER#
_ZN15QAnimationGroupD0Ev at Base 4:4.6.1
_ZN15QAnimationGroupD1Ev at Base 4:4.6.1
_ZN15QAnimationGroupD2Ev at Base 4:4.6.1
- (optional=gccinternal|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.8.5+git242
- (optional=inline|arch=sh4 sparc)_ZN15QBasicAtomicInt5derefEv at Base 4:4.5.3
+ (optional=gccinternal|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.8.5+git242
+ (optional=inline|arch=sh4)_ZN15QBasicAtomicInt5derefEv at Base 4:4.5.3
_ZN15QDateTimeParser11parseFormatERK7QString at Base 4:4.5.3
_ZN15QLinkedListData11shared_nullE at Base 4:4.5.3
_ZN15QObjectUserDataD0Ev at Base 4:4.5.3
@@ -2310,8 +2051,6 @@ libQtCore.so.4 libqtcore4 #MINVER#
_ZN20QStateMachinePrivateD2Ev at Base 4:4.6.1
_ZN20QXmlStreamAttributes6appendERK7QStringS2_ at Base 4:4.5.3
_ZN20QXmlStreamAttributes6appendERK7QStringS2_S2_ at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN20QXmlStreamAttributesD1Ev at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sparc)_ZN20QXmlStreamAttributesD2Ev at Base 4:4.8.5+git242
_ZN21QAbstractConcatenable14convertToAsciiEPK5QChariRPc at Base 4:4.8.0
_ZN21QAbstractConcatenable16convertFromAsciiEPKciRP5QChar at Base 4:4.6.1
_ZN21QObjectCleanupHandler11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.5.3
@@ -2958,7 +2697,7 @@ libQtCore.so.4 libqtcore4 #MINVER#
(arch=alpha sh4)_ZN7QString8vsprintfEPKc13__va_list_tag at Base 4:4.8.5
(arch=amd64 kfreebsd-amd64 powerpc powerpcspe s390 s390x x32)_ZN7QString8vsprintfEPKcP13__va_list_tag at Base 4:4.8.7
(arch=hurd-i386 i386 kfreebsd-i386 ppc64 ppc64el)_ZN7QString8vsprintfEPKcPc at Base 4:4.8.4
- (arch=armel armhf hppa ia64 m68k mips mips64el mipsel sparc sparc64)_ZN7QString8vsprintfEPKcPv at Base 4:4.8.6
+ (arch=armel armhf hppa ia64 m68k mips mips64el mipsel sparc64)_ZN7QString8vsprintfEPKcPv at Base 4:4.8.6
(arch=arm64 armel armhf)_ZN7QString8vsprintfEPKcSt9__va_list at Base 4:4.8.6
_ZN7QString9fromAsciiEPKci at Base 4:4.5.3
_ZN7QString9fromUtf16EPKti at Base 4:4.5.3
@@ -3239,7 +2978,7 @@ libQtCore.so.4 libqtcore4 #MINVER#
_ZN9QHashData6rehashEi at Base 4:4.5.3
_ZN9QHashData8freeNodeEPv at Base 4:4.5.3
_ZN9QHashData8nextNodeEPNS_4NodeE at Base 4:4.5.3
- (optional=gccinternal|arch=alpha arm64 armel armhf hppa mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sh4)_ZN9QHashData9hasShrunkEv at Base 4:4.8.5+git209
+ (optional=gccinternal|arch=alpha arm64 armel armhf hppa m68k mips mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390x sh4 sparc64)_ZN9QHashData9hasShrunkEv at Base 4:4.8.5+git209
_ZN9QIODevice11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.5.3
_ZN9QIODevice11qt_metacastEPKc at Base 4:4.5.3
_ZN9QIODevice11resetStatusEv at Base 4:4.5.3
@@ -4902,19 +4641,14 @@ libQtCore.so.4 libqtcore4 #MINVER#
(arch=sparc64)q_atomic_fetch_and_store_release_ptr at Base 4:4.8.4
(arch=sparc64)q_atomic_increment at Base 4:4.8.4
(arch=armel armhf)q_atomic_lock at Base 4:4.8.0
- (arch=sparc)q_atomic_lock_int at Base 4:4.5.3
- (arch=sparc)q_atomic_lock_ptr at Base 4:4.5.3
- (arch=sparc sparc64)q_atomic_set_int at Base 4:4.8.4
- (arch=sparc sparc64)q_atomic_set_ptr at Base 4:4.8.4
+ (arch=sparc64)q_atomic_set_int at Base 4:4.8.4
+ (arch=sparc64)q_atomic_set_ptr at Base 4:4.8.4
(arch=mips mips64el mipsel sparc64)q_atomic_test_and_set_acquire_int at Base 4:4.8.6
(arch=mips mips64el mipsel sparc64)q_atomic_test_and_set_acquire_ptr at Base 4:4.8.6
(arch=mips mips64el mipsel sparc64)q_atomic_test_and_set_int at Base 4:4.8.6
(arch=mips mips64el mipsel sparc64)q_atomic_test_and_set_ptr at Base 4:4.8.6
(arch=mips mips64el mipsel sparc64)q_atomic_test_and_set_release_int at Base 4:4.8.6
(arch=mips mips64el mipsel sparc64)q_atomic_test_and_set_release_ptr at Base 4:4.8.6
- (arch=sparc)q_atomic_trylock_int at Base 4:4.5.3
- (arch=sparc)q_atomic_trylock_ptr at Base 4:4.5.3
- (arch=sparc)q_atomic_unlock at Base 4:4.5.3
qt_addObject at Base 4:4.5.3
(arch=sh4)qt_atomic_lock at Base 4:4.8.5
qt_disable_lowpriority_timers at Base 4:4.5.3
diff --git a/debian/libqtdbus4.symbols b/debian/libqtdbus4.symbols
index 25ee32e..17efd10 100644
--- a/debian/libqtdbus4.symbols
+++ b/debian/libqtdbus4.symbols
@@ -5,7 +5,6 @@ libQtDBus.so.4 libqt4-dbus #MINVER#
_Z15qDBusAddSpyHookPFvRK12QDBusMessageE at Base 4:4.5.3
_Z22qDBusBindToApplicationv at Base 4:4.5.3
_Z26qDBusGenerateMetaObjectXml7QStringPK11QMetaObjectS2_i at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_Z6qDebugv at Base 4:4.8.5+git242
_ZN10QDBusError11errorStringENS_9ErrorTypeE at Base 4:4.5.3
_ZN10QDBusErrorC1ENS_9ErrorTypeERK7QString at Base 4:4.5.3
_ZN10QDBusErrorC1EPK9DBusError at Base 4:4.5.3
@@ -89,7 +88,7 @@ libQtDBus.so.4 libqt4-dbus #MINVER#
_ZN14QDBusInterfaceD1Ev at Base 4:4.5.3
_ZN14QDBusInterfaceD2Ev at Base 4:4.5.3
_ZN14QDBusSignature5checkEv at Base 4:4.5.3
- (optional=external|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
+ (optional=external|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
_ZN15QDBusConnection10disconnectERK7QStringS2_S2_S2_P7QObjectPKc at Base 4:4.5.3
_ZN15QDBusConnection10disconnectERK7QStringS2_S2_S2_RK11QStringListS2_P7QObjectPKc at Base 4:4.6.1
_ZN15QDBusConnection10disconnectERK7QStringS2_S2_S2_S2_P7QObjectPKc at Base 4:4.5.3
diff --git a/debian/libqtgui4.symbols b/debian/libqtgui4.symbols
index b70f5d5..e073b31 100644
--- a/debian/libqtgui4.symbols
+++ b/debian/libqtgui4.symbols
@@ -1,8 +1,7 @@
-# SymbolsHelper-Confirmed: 4:4.8.7 alpha amd64 armel hurd-i386 i386 kfreebsd-i386 mips mipsel s390x x32
+# SymbolsHelper-Confirmed: 4:4.8.7 alpha amd64 armel hurd-i386 i386 kfreebsd-i386 mips mips64el mipsel s390x x32
libQtGui.so.4 libqtgui4 #MINVER#
* Build-Depends-Package: libqt4-dev
_Z10qDrawArrowP8QPainterN2Qt9ArrowTypeENS1_8GUIStyleEbiiiiRK8QPaletteb at Base 4:4.5.3
- (optional=templinst|arch=sparc)_Z10qt_memfillIhEvPT_S0_i at Base 4:4.8.5+git242
_Z10qt_x11InfoPK12QPaintDevice at Base 4:4.5.3
_Z11qFadeEffectP7QWidgeti at Base 4:4.5.3
_Z11qt_image_idRK6QImage at Base 4:4.5.3
@@ -3591,8 +3590,8 @@ libQtGui.so.4 libqtgui4 #MINVER#
_ZN15QAbstractSliderD0Ev at Base 4:4.5.3
_ZN15QAbstractSliderD1Ev at Base 4:4.5.3
_ZN15QAbstractSliderD2Ev at Base 4:4.5.3
- (optional=external|arch=sh4 sparc)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
- (optional=external|arch=sh4 sparc)_ZN15QBasicAtomicInt5derefEv at Base 4:4.5.3
+ (optional=external|arch=sh4)_ZN15QBasicAtomicInt3refEv at Base 4:4.5.3
+ (optional=external|arch=sh4)_ZN15QBasicAtomicInt5derefEv at Base 4:4.5.3
_ZN15QCalendarWidget10updateCellERK5QDate at Base 4:4.5.3
_ZN15QCalendarWidget11eventFilterEP7QObjectP6QEvent at Base 4:4.5.3
_ZN15QCalendarWidget11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.5.3
@@ -6027,8 +6026,6 @@ libQtGui.so.4 libqtgui4 #MINVER#
_ZN25QStyleOptionProgressBarV2C2ERKS_ at Base 4:4.5.3
_ZN25QStyleOptionProgressBarV2C2Ei at Base 4:4.5.3
_ZN25QStyleOptionProgressBarV2C2Ev at Base 4:4.5.3
- (optional=gccinternal|arch=sparc)_ZN25QStyleOptionProgressBarV2D1Ev at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sparc)_ZN25QStyleOptionProgressBarV2D2Ev at Base 4:4.8.5+git242
_ZN25QStyleOptionProgressBarV2aSERK23QStyleOptionProgressBar at Base 4:4.5.3
_ZN26QAbstractGraphicsShapeItem6setPenERK4QPen at Base 4:4.5.3
_ZN26QAbstractGraphicsShapeItem8setBrushERK6QBrush at Base 4:4.5.3
@@ -7688,8 +7685,6 @@ libQtGui.so.4 libqtgui4 #MINVER#
_ZN8QX11InfoaSERKS_ at Base 4:4.5.3
(arch=!hurd-i386 !i386 !kfreebsd-i386 !x32)_ZN9QBitArray6setBitEi at Base 4:4.8.7
_ZN9QBitArray8clearBitEi at Base 4:4.8.7
- (optional=gccinternal|arch=sparc)_ZN9QBitArrayD1Ev at Base 4:4.8.5+git242
- (optional=gccinternal|arch=sparc)_ZN9QBitArrayD2Ev at Base 4:4.8.5+git242
_ZN9QCDEStyle11qt_metacallEN11QMetaObject4CallEiPPv at Base 4:4.5.3
_ZN9QCDEStyle11qt_metacastEPKc at Base 4:4.5.3
_ZN9QCDEStyle16staticMetaObjectE at Base 4:4.5.3
@@ -11837,7 +11832,6 @@ libQtGui.so.4 libqtgui4 #MINVER#
_ZNK8QToolBox7indexOfEP7QWidget at Base 4:4.5.3
_ZNK8QToolBox8itemIconEi at Base 4:4.5.3
_ZNK8QToolBox8itemTextEi at Base 4:4.5.3
- (optional=templinst|arch=sparc)_ZNK8QVariant5valueI7QPixmapEET_v at Base 4:4.8.5+git242
_ZNK8QX11Info10getX11DataEb at Base 4:4.5.3
_ZNK8QX11Info13defaultVisualEv at Base 4:4.5.3
_ZNK8QX11Info15defaultColormapEv at Base 4:4.5.3
@@ -13249,7 +13243,7 @@ libQtGui.so.4 libqtgui4 #MINVER#
_ZlsR11QTextStreamRK9QSplitter at Base 4:4.5.3
_ZlsR6QDebugRK11QVectorPath at Base 4:4.5.3
_ZmlRK12QPainterPathRK7QMatrix at Base 4:4.5.3
- (arch=alpha armel mips mipsel)_ZneRK6QRectFS1_ at Base 4:4.8.7
+ (arch=alpha armel mips mips64el mipsel)_ZneRK6QRectFS1_ at Base 4:4.8.7
_ZrsR11QDataStreamR10QMatrix4x4 at Base 4:4.6.1
_ZrsR11QDataStreamR10QTransform at Base 4:4.5.3
_ZrsR11QDataStreamR11QColorGroup at Base 4:4.5.3
diff --git a/debian/patches/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch b/debian/patches/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch
deleted file mode 100644
index 1b054ed..0000000
--- a/debian/patches/Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch
+++ /dev/null
@@ -1,102 +0,0 @@
-Description: Allow the timestamps from qhelpgenerator to be externally set
- In order to make qhelpgenerator output reproducible, we need a way to
- set the embedded timestamps to other values than the current time.
- We define a new method for QDateTime (reproducibleDateTime) that returns
- a deterministic datetime object when the SOURCE_DATE_EPOCH environment
- variable is set with a unix epoch timestamp, containing the datetime
- defined by SOURCE_DATE_EPOCH in UTC. We replace some instances of
- QDateTime::currentDateTime() by QDateTime::reproducibleDateTime() in the
- sources of qhelpgenerator to make the output reproducible.
-Author: Eduard Sanou <dhole at openmailbox.org>
-
---- qt4-x11-4.8.7+dfsg.orig/src/corelib/tools/qdatetime.cpp
-+++ qt4-x11-4.8.7+dfsg/src/corelib/tools/qdatetime.cpp
-@@ -2892,6 +2892,15 @@ bool QDateTime::operator<(const QDateTim
- */
-
- /*!
-+ \fn QDateTime QDateTime::reproducibleDateTime()
-+ If the environment variable SOURCE_DATE_EPOCH containing a unix epoch date
-+ is set, returns the datetime in SOURCE_DATE_EPOCH, in UTC.
-+ If SOURCE_DATE_EPOCH is not set, behaves as QDateTime::currentDateTime().
-+
-+ \sa currentDateTimeUtc(), QDate::currentDate(), QTime::currentTime(), toTimeSpec()
-+*/
-+
-+/*!
- \fn QDateTime QDateTime::currentDateTimeUtc()
- \since 4.7
- Returns the current datetime, as reported by the system clock, in
-@@ -3120,6 +3129,29 @@ QDateTime QDateTime::currentDateTime()
- return dt;
- }
-
-+QDateTime QDateTime::reproducibleDateTime()
-+{
-+ QByteArray env_date;
-+ QDateTime date;
-+ bool env_date_ok;
-+ long timestamp;
-+
-+ env_date = qgetenv("SOURCE_DATE_EPOCH");
-+ if (env_date.length() != 0) {
-+ timestamp = env_date.toLong(&env_date_ok, 10);
-+ if (!env_date_ok) {
-+ // "SOURCE_DATE_EPOCH is not a number!
-+ timestamp = 0;
-+ }
-+ date = QDateTime::fromTime_t(timestamp).toUTC();
-+ } else {
-+ date = QDateTime::currentDateTime();
-+ }
-+
-+ return date;
-+}
-+
-+
- QDateTime QDateTime::currentDateTimeUtc()
- {
- // posix compliant system
---- qt4-x11-4.8.7+dfsg.orig/src/corelib/tools/qdatetime.h
-+++ qt4-x11-4.8.7+dfsg/src/corelib/tools/qdatetime.h
-@@ -264,6 +264,7 @@ public:
- int utcOffset() const;
-
- static QDateTime currentDateTime();
-+ static QDateTime reproducibleDateTime();
- static QDateTime currentDateTimeUtc();
- #ifndef QT_NO_DATESTRING
- static QDateTime fromString(const QString &s, Qt::DateFormat f = Qt::TextDate);
---- qt4-x11-4.8.7+dfsg.orig/tools/assistant/lib/qhelpgenerator.cpp
-+++ qt4-x11-4.8.7+dfsg/tools/assistant/lib/qhelpgenerator.cpp
-@@ -381,7 +381,7 @@ bool QHelpGenerator::createTables()
- d->query->exec(QLatin1String("INSERT INTO MetaDataTable VALUES('qchVersion', '1.0')"));
-
- d->query->prepare(QLatin1String("INSERT INTO MetaDataTable VALUES('CreationDate', ?)"));
-- d->query->bindValue(0, QDateTime::currentDateTime().toString(Qt::ISODate));
-+ d->query->bindValue(0, QDateTime::reproducibleDateTime().toString(Qt::ISODate));
- d->query->exec();
-
- return true;
---- qt4-x11-4.8.7+dfsg.orig/tools/assistant/tools/qcollectiongenerator/main.cpp
-+++ qt4-x11-4.8.7+dfsg/tools/assistant/tools/qcollectiongenerator/main.cpp
-@@ -521,7 +521,7 @@ int main(int argc, char *argv[])
- CollectionConfiguration::setAddressBarVisible(helpEngine,
- !config.hideAddressBar());
- CollectionConfiguration::setCreationTime(helpEngine,
-- QDateTime::currentDateTime().toTime_t());
-+ QDateTime::reproducibleDateTime().toTime_t());
- CollectionConfiguration::setFullTextSearchFallbackEnabled(helpEngine,
- config.fullTextSearchFallbackEnabled());
-
---- qt4-x11-4.8.7+dfsg.orig/tools/assistant/tools/shared/collectionconfiguration.cpp
-+++ qt4-x11-4.8.7+dfsg/tools/assistant/tools/shared/collectionconfiguration.cpp
-@@ -282,7 +282,7 @@ const QDateTime CollectionConfiguration:
-
- void CollectionConfiguration::updateLastRegisterTime(QHelpEngineCore &helpEngine)
- {
-- helpEngine.setCustomValue(LastRegisterTime, QDateTime::currentDateTime());
-+ helpEngine.setCustomValue(LastRegisterTime, QDateTime::reproducibleDateTime());
- }
-
- bool CollectionConfiguration::isNewer(const QHelpEngineCore &newer,
diff --git a/debian/patches/no-ssl3.patch b/debian/patches/no-ssl3.patch
new file mode 100644
index 0000000..e418815
--- /dev/null
+++ b/debian/patches/no-ssl3.patch
@@ -0,0 +1,66 @@
+Description: Do not use SSLv3 methods in Qt4
+ This patch makes the use of SSLv3 methods optional at compile time.
+ On Debian this means they will not be used and will return a null ctx
+ if the SSLv3 method is deliberately selected.
+Author: Jon DeVree <nuxi at vault24.org>
+Origin: other, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806505
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806505
+Forwarded: not-needed
+Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro at debian.org>
+Last-Update: 2015-11-30
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+diff -Nru qt4-x11-4.8.7+dfsg.orig/src/network/ssl/qsslsocket_openssl.cpp qt4-x11-4.8.7+dfsg/src/network/ssl/qsslsocket_openssl.cpp
+--- qt4-x11-4.8.7+dfsg.orig/src/network/ssl/qsslsocket_openssl.cpp 2015-05-07 10:14:44.000000000 -0400
++++ qt4-x11-4.8.7+dfsg/src/network/ssl/qsslsocket_openssl.cpp 2015-11-27 20:49:36.768826857 -0500
+@@ -267,7 +267,11 @@
+ #endif
+ break;
+ case QSsl::SslV3:
++#ifndef OPENSSL_NO_SSL3_METHOD
+ ctx = q_SSL_CTX_new(client ? q_SSLv3_client_method() : q_SSLv3_server_method());
++#else
++ ctx = 0; // SSL 3 not supported by the system, but chosen deliberately -> error
++#endif
+ break;
+ case QSsl::SecureProtocols: // SslV2 will be disabled below
+ case QSsl::TlsV1SslV3: // SslV2 will be disabled below
+diff -Nru qt4-x11-4.8.7+dfsg.orig/src/network/ssl/qsslsocket_openssl_symbols.cpp qt4-x11-4.8.7+dfsg/src/network/ssl/qsslsocket_openssl_symbols.cpp
+--- qt4-x11-4.8.7+dfsg.orig/src/network/ssl/qsslsocket_openssl_symbols.cpp 2015-05-07 10:14:44.000000000 -0400
++++ qt4-x11-4.8.7+dfsg/src/network/ssl/qsslsocket_openssl_symbols.cpp 2015-11-27 20:49:48.061023402 -0500
+@@ -228,13 +228,17 @@
+ #ifndef OPENSSL_NO_SSL2
+ DEFINEFUNC(const SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return)
+ #endif
++#ifndef OPENSSL_NO_SSL3_METHOD
+ DEFINEFUNC(const SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return)
++#endif
+ DEFINEFUNC(const SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return)
+ DEFINEFUNC(const SSL_METHOD *, TLSv1_client_method, DUMMYARG, DUMMYARG, return 0, return)
+ #ifndef OPENSSL_NO_SSL2
+ DEFINEFUNC(const SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return)
+ #endif
++#ifndef OPENSSL_NO_SSL3_METHOD
+ DEFINEFUNC(const SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return)
++#endif
+ DEFINEFUNC(const SSL_METHOD *, SSLv23_server_method, DUMMYARG, DUMMYARG, return 0, return)
+ DEFINEFUNC(const SSL_METHOD *, TLSv1_server_method, DUMMYARG, DUMMYARG, return 0, return)
+ #else
+@@ -822,13 +826,17 @@
+ #ifndef OPENSSL_NO_SSL2
+ RESOLVEFUNC(SSLv2_client_method)
+ #endif
++#ifndef OPENSSL_NO_SSL3_METHOD
+ RESOLVEFUNC(SSLv3_client_method)
++#endif
+ RESOLVEFUNC(SSLv23_client_method)
+ RESOLVEFUNC(TLSv1_client_method)
+ #ifndef OPENSSL_NO_SSL2
+ RESOLVEFUNC(SSLv2_server_method)
+ #endif
++#ifndef OPENSSL_NO_SSL3_METHOD
+ RESOLVEFUNC(SSLv3_server_method)
++#endif
+ RESOLVEFUNC(SSLv23_server_method)
+ RESOLVEFUNC(TLSv1_server_method)
+ RESOLVEFUNC(X509_NAME_entry_count)
diff --git a/debian/patches/replace_timestamps_with_fixed_date_in_qhelpgenerator.patch b/debian/patches/replace_timestamps_with_fixed_date_in_qhelpgenerator.patch
new file mode 100644
index 0000000..fb10136
--- /dev/null
+++ b/debian/patches/replace_timestamps_with_fixed_date_in_qhelpgenerator.patch
@@ -0,0 +1,51 @@
+Description: Replace timestamps from qhelpgenerator by a fixed date
+ In order to make qhelpgenerator output reproducible, we need a way to get
+ deterministic embedded timestaps. Backport the patch from qttools5 [1] to
+ make qch files reproducible by replacing the current time by a fixed date.
+
+ [1] https://codereview.qt-project.org/#/c/106296/
+Author: red <red at repro>
+
+---
+
+Index: qt4-x11-4.8.7+dfsg/tools/assistant/lib/qhelpgenerator.cpp
+===================================================================
+--- qt4-x11-4.8.7+dfsg.orig/tools/assistant/lib/qhelpgenerator.cpp
++++ qt4-x11-4.8.7+dfsg/tools/assistant/lib/qhelpgenerator.cpp
+@@ -380,9 +380,7 @@ bool QHelpGenerator::createTables()
+
+ d->query->exec(QLatin1String("INSERT INTO MetaDataTable VALUES('qchVersion', '1.0')"));
+
+- d->query->prepare(QLatin1String("INSERT INTO MetaDataTable VALUES('CreationDate', ?)"));
+- d->query->bindValue(0, QDateTime::currentDateTime().toString(Qt::ISODate));
+- d->query->exec();
++ d->query->exec(QLatin1String("INSERT INTO MetaDataTable VALUES('CreationDate', '2012-12-20T12:00:00Z')"));
+
+ return true;
+ }
+Index: qt4-x11-4.8.7+dfsg/tools/assistant/tools/qcollectiongenerator/main.cpp
+===================================================================
+--- qt4-x11-4.8.7+dfsg.orig/tools/assistant/tools/qcollectiongenerator/main.cpp
++++ qt4-x11-4.8.7+dfsg/tools/assistant/tools/qcollectiongenerator/main.cpp
+@@ -521,7 +521,7 @@ int main(int argc, char *argv[])
+ CollectionConfiguration::setAddressBarVisible(helpEngine,
+ !config.hideAddressBar());
+ CollectionConfiguration::setCreationTime(helpEngine,
+- QDateTime::currentDateTime().toTime_t());
++ QDateTime::fromString("2012-12-20T12:00:00Z", Qt::ISODate).toUTC().toTime_t());
+ CollectionConfiguration::setFullTextSearchFallbackEnabled(helpEngine,
+ config.fullTextSearchFallbackEnabled());
+
+Index: qt4-x11-4.8.7+dfsg/tools/assistant/tools/shared/collectionconfiguration.cpp
+===================================================================
+--- qt4-x11-4.8.7+dfsg.orig/tools/assistant/tools/shared/collectionconfiguration.cpp
++++ qt4-x11-4.8.7+dfsg/tools/assistant/tools/shared/collectionconfiguration.cpp
+@@ -282,7 +282,7 @@ const QDateTime CollectionConfiguration:
+
+ void CollectionConfiguration::updateLastRegisterTime(QHelpEngineCore &helpEngine)
+ {
+- helpEngine.setCustomValue(LastRegisterTime, QDateTime::currentDateTime());
++ helpEngine.setCustomValue(LastRegisterTime, QDateTime::fromString("2012-12-20T12:00:00Z", Qt::ISODate).toUTC());
+ }
+
+ bool CollectionConfiguration::isNewer(const QHelpEngineCore &newer,
diff --git a/debian/patches/series b/debian/patches/series
index 2c25a38..b87db76 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -55,4 +55,5 @@ remove_addsense.patch
parisc-atomic.patch
QtScript_x32_config.diff
x32.diff
-Replace_timestamp_with_SOURCE_DATE_EPOCH_in_qhelpgenerator.patch
+no-ssl3.patch
+replace_timestamps_with_fixed_date_in_qhelpgenerator.patch
diff --git a/src/3rdparty/webkit/WebKitLibraries/libWebCoreSQLite3.a b/src/3rdparty/webkit/WebKitLibraries/libWebCoreSQLite3.a
deleted file mode 100644
index 2e5fd15..0000000
Binary files a/src/3rdparty/webkit/WebKitLibraries/libWebCoreSQLite3.a and /dev/null differ
diff --git a/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceLeopard.a b/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceLeopard.a
deleted file mode 100644
index 43b6043..0000000
Binary files a/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceLeopard.a and /dev/null differ
diff --git a/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceLion.a b/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceLion.a
deleted file mode 100644
index 345860c..0000000
Binary files a/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceLion.a and /dev/null differ
diff --git a/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceMountainLion.a b/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceMountainLion.a
deleted file mode 100644
index ce7db6a..0000000
Binary files a/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceMountainLion.a and /dev/null differ
diff --git a/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a b/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a
deleted file mode 100644
index 845ca54..0000000
Binary files a/src/3rdparty/webkit/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a and /dev/null differ
diff --git a/src/network/ssl/qsslsocket_openssl.cpp b/src/network/ssl/qsslsocket_openssl.cpp
index ce98494..e55ec18 100644
--- a/src/network/ssl/qsslsocket_openssl.cpp
+++ b/src/network/ssl/qsslsocket_openssl.cpp
@@ -267,7 +267,11 @@ init_context:
#endif
break;
case QSsl::SslV3:
+#ifndef OPENSSL_NO_SSL3_METHOD
ctx = q_SSL_CTX_new(client ? q_SSLv3_client_method() : q_SSLv3_server_method());
+#else
+ ctx = 0; // SSL 3 not supported by the system, but chosen deliberately -> error
+#endif
break;
case QSsl::SecureProtocols: // SslV2 will be disabled below
case QSsl::TlsV1SslV3: // SslV2 will be disabled below
diff --git a/src/network/ssl/qsslsocket_openssl_symbols.cpp b/src/network/ssl/qsslsocket_openssl_symbols.cpp
index 3ee7106..02adf5f 100644
--- a/src/network/ssl/qsslsocket_openssl_symbols.cpp
+++ b/src/network/ssl/qsslsocket_openssl_symbols.cpp
@@ -228,13 +228,17 @@ DEFINEFUNC(int, SSL_shutdown, SSL *a, a, return -1, return)
#ifndef OPENSSL_NO_SSL2
DEFINEFUNC(const SSL_METHOD *, SSLv2_client_method, DUMMYARG, DUMMYARG, return 0, return)
#endif
+#ifndef OPENSSL_NO_SSL3_METHOD
DEFINEFUNC(const SSL_METHOD *, SSLv3_client_method, DUMMYARG, DUMMYARG, return 0, return)
+#endif
DEFINEFUNC(const SSL_METHOD *, SSLv23_client_method, DUMMYARG, DUMMYARG, return 0, return)
DEFINEFUNC(const SSL_METHOD *, TLSv1_client_method, DUMMYARG, DUMMYARG, return 0, return)
#ifndef OPENSSL_NO_SSL2
DEFINEFUNC(const SSL_METHOD *, SSLv2_server_method, DUMMYARG, DUMMYARG, return 0, return)
#endif
+#ifndef OPENSSL_NO_SSL3_METHOD
DEFINEFUNC(const SSL_METHOD *, SSLv3_server_method, DUMMYARG, DUMMYARG, return 0, return)
+#endif
DEFINEFUNC(const SSL_METHOD *, SSLv23_server_method, DUMMYARG, DUMMYARG, return 0, return)
DEFINEFUNC(const SSL_METHOD *, TLSv1_server_method, DUMMYARG, DUMMYARG, return 0, return)
#else
@@ -822,13 +826,17 @@ bool q_resolveOpenSslSymbols()
#ifndef OPENSSL_NO_SSL2
RESOLVEFUNC(SSLv2_client_method)
#endif
+#ifndef OPENSSL_NO_SSL3_METHOD
RESOLVEFUNC(SSLv3_client_method)
+#endif
RESOLVEFUNC(SSLv23_client_method)
RESOLVEFUNC(TLSv1_client_method)
#ifndef OPENSSL_NO_SSL2
RESOLVEFUNC(SSLv2_server_method)
#endif
+#ifndef OPENSSL_NO_SSL3_METHOD
RESOLVEFUNC(SSLv3_server_method)
+#endif
RESOLVEFUNC(SSLv23_server_method)
RESOLVEFUNC(TLSv1_server_method)
RESOLVEFUNC(X509_NAME_entry_count)
diff --git a/src/tools/uic/qclass_lib_map.h b/src/tools/uic/qclass_lib_map.h
deleted file mode 100644
index 0a54944..0000000
--- a/src/tools/uic/qclass_lib_map.h
+++ /dev/null
@@ -1,1463 +0,0 @@
-QT_CLASS_LIB(QAbstractEventDispatcher, QtCore, qabstracteventdispatcher.h)
-QT_CLASS_LIB(QModelIndex, QtCore, qabstractitemmodel.h)
-QT_CLASS_LIB(QPersistentModelIndex, QtCore, qabstractitemmodel.h)
-QT_CLASS_LIB(QModelIndexList, QtCore, qabstractitemmodel.h)
-QT_CLASS_LIB(QAbstractItemModel, QtCore, qabstractitemmodel.h)
-QT_CLASS_LIB(QAbstractTableModel, QtCore, qabstractitemmodel.h)
-QT_CLASS_LIB(QAbstractListModel, QtCore, qabstractitemmodel.h)
-QT_CLASS_LIB(QBasicTimer, QtCore, qbasictimer.h)
-QT_CLASS_LIB(QCoreApplication, QtCore, qcoreapplication.h)
-QT_CLASS_LIB(QtCleanUpFunction, QtCore, qcoreapplication.h)
-QT_CLASS_LIB(QEvent, QtCore, qcoreevent.h)
-QT_CLASS_LIB(QTimerEvent, QtCore, qcoreevent.h)
-QT_CLASS_LIB(QChildEvent, QtCore, qcoreevent.h)
-QT_CLASS_LIB(QCustomEvent, QtCore, qcoreevent.h)
-QT_CLASS_LIB(QDynamicPropertyChangeEvent, QtCore, qcoreevent.h)
-QT_CLASS_LIB(QEventLoop, QtCore, qeventloop.h)
-QT_CLASS_LIB(QMetaMethod, QtCore, qmetaobject.h)
-QT_CLASS_LIB(QMetaEnum, QtCore, qmetaobject.h)
-QT_CLASS_LIB(QMetaProperty, QtCore, qmetaobject.h)
-QT_CLASS_LIB(QMetaClassInfo, QtCore, qmetaobject.h)
-QT_CLASS_LIB(QMetaType, QtCore, qmetatype.h)
-QT_CLASS_LIB(QMetaTypeId, QtCore, qmetatype.h)
-QT_CLASS_LIB(QMetaTypeId2, QtCore, qmetatype.h)
-QT_CLASS_LIB(QMimeData, QtCore, qmimedata.h)
-QT_CLASS_LIB(QObjectList, QtCore, qobject.h)
-QT_CLASS_LIB(QObjectData, QtCore, qobject.h)
-QT_CLASS_LIB(QObject, QtCore, qobject.h)
-QT_CLASS_LIB(QObjectUserData, QtCore, qobject.h)
-QT_CLASS_LIB(QObjectCleanupHandler, QtCore, qobjectcleanuphandler.h)
-QT_CLASS_LIB(QGenericArgument, QtCore, qobjectdefs.h)
-QT_CLASS_LIB(QGenericReturnArgument, QtCore, qobjectdefs.h)
-QT_CLASS_LIB(QArgument, QtCore, qobjectdefs.h)
-QT_CLASS_LIB(QReturnArgument, QtCore, qobjectdefs.h)
-QT_CLASS_LIB(QMetaObject, QtCore, qobjectdefs.h)
-QT_CLASS_LIB(QMetaObjectAccessor, QtCore, qobjectdefs.h)
-QT_CLASS_LIB(QMetaObjectExtraData, QtCore, qobjectdefs.h)
-QT_CLASS_LIB(QPointer, QtCore, qpointer.h)
-QT_CLASS_LIB(QSharedMemory, QtCore, qsharedmemory.h)
-QT_CLASS_LIB(QSignalMapper, QtCore, qsignalmapper.h)
-QT_CLASS_LIB(QSocketNotifier, QtCore, qsocketnotifier.h)
-QT_CLASS_LIB(QSystemSemaphore, QtCore, qsystemsemaphore.h)
-QT_CLASS_LIB(QTimer, QtCore, qtimer.h)
-QT_CLASS_LIB(QTranslator, QtCore, qtranslator.h)
-QT_CLASS_LIB(QVariant, QtCore, qvariant.h)
-QT_CLASS_LIB(QVariantList, QtCore, qvariant.h)
-QT_CLASS_LIB(QVariantMap, QtCore, qvariant.h)
-QT_CLASS_LIB(QVariantHash, QtCore, qvariant.h)
-QT_CLASS_LIB(QVariantComparisonHelper, QtCore, qvariant.h)
-QT_CLASS_LIB(QAbstractAnimation, QtCore, qabstractanimation.h)
-QT_CLASS_LIB(QAnimationDriver, QtCore, qabstractanimation.h)
-QT_CLASS_LIB(QAnimationGroup, QtCore, qanimationgroup.h)
-QT_CLASS_LIB(QParallelAnimationGroup, QtCore, qparallelanimationgroup.h)
-QT_CLASS_LIB(QPauseAnimation, QtCore, qpauseanimation.h)
-QT_CLASS_LIB(QPropertyAnimation, QtCore, qpropertyanimation.h)
-QT_CLASS_LIB(QSequentialAnimationGroup, QtCore, qsequentialanimationgroup.h)
-QT_CLASS_LIB(QVariantAnimation, QtCore, qvariantanimation.h)
-QT_CLASS_LIB(QtAlgorithms, QtCore, qalgorithms.h)
-QT_CLASS_LIB(QBitArray, QtCore, qbitarray.h)
-QT_CLASS_LIB(QBitRef, QtCore, qbitarray.h)
-QT_CLASS_LIB(QByteArray, QtCore, qbytearray.h)
-QT_CLASS_LIB(QByteRef, QtCore, qbytearray.h)
-QT_CLASS_LIB(QByteArrayMatcher, QtCore, qbytearraymatcher.h)
-QT_CLASS_LIB(QCache, QtCore, qcache.h)
-QT_CLASS_LIB(QLatin1Char, QtCore, qchar.h)
-QT_CLASS_LIB(QChar, QtCore, qchar.h)
-QT_CLASS_LIB(QtContainerFwd, QtCore, qcontainerfwd.h)
-QT_CLASS_LIB(QContiguousCacheData, QtCore, qcontiguouscache.h)
-QT_CLASS_LIB(QContiguousCacheTypedData, QtCore, qcontiguouscache.h)
-QT_CLASS_LIB(QContiguousCache, QtCore, qcontiguouscache.h)
-QT_CLASS_LIB(QCryptographicHash, QtCore, qcryptographichash.h)
-QT_CLASS_LIB(QDate, QtCore, qdatetime.h)
-QT_CLASS_LIB(QTime, QtCore, qdatetime.h)
-QT_CLASS_LIB(QDateTime, QtCore, qdatetime.h)
-QT_CLASS_LIB(QEasingCurve, QtCore, qeasingcurve.h)
-QT_CLASS_LIB(QElapsedTimer, QtCore, qelapsedtimer.h)
-QT_CLASS_LIB(QHashData, QtCore, qhash.h)
-QT_CLASS_LIB(QHashDummyValue, QtCore, qhash.h)
-QT_CLASS_LIB(QHashDummyNode, QtCore, qhash.h)
-QT_CLASS_LIB(QHashNode, QtCore, qhash.h)
-QT_CLASS_LIB(QHash, QtCore, qhash.h)
-QT_CLASS_LIB(QMultiHash, QtCore, qhash.h)
-QT_CLASS_LIB(QHashIterator, QtCore, qhash.h)
-QT_CLASS_LIB(QMutableHashIterator, QtCore, qhash.h)
-QT_CLASS_LIB(QHashIterator, QtCore, qhash.h)
-QT_CLASS_LIB(QMutableHashIterator, QtCore, qhash.h)
-QT_CLASS_LIB(QLine, QtCore, qline.h)
-QT_CLASS_LIB(QLineF, QtCore, qline.h)
-QT_CLASS_LIB(QLinkedListData, QtCore, qlinkedlist.h)
-QT_CLASS_LIB(QLinkedListNode, QtCore, qlinkedlist.h)
-QT_CLASS_LIB(QLinkedList, QtCore, qlinkedlist.h)
-QT_CLASS_LIB(QLinkedListIterator, QtCore, qlinkedlist.h)
-QT_CLASS_LIB(QMutableLinkedListIterator, QtCore, qlinkedlist.h)
-QT_CLASS_LIB(QLinkedListIterator, QtCore, qlinkedlist.h)
-QT_CLASS_LIB(QMutableLinkedListIterator, QtCore, qlinkedlist.h)
-QT_CLASS_LIB(QListData, QtCore, qlist.h)
-QT_CLASS_LIB(QList, QtCore, qlist.h)
-QT_CLASS_LIB(QListIterator, QtCore, qlist.h)
-QT_CLASS_LIB(QMutableListIterator, QtCore, qlist.h)
-QT_CLASS_LIB(QListIterator, QtCore, qlist.h)
-QT_CLASS_LIB(QMutableListIterator, QtCore, qlist.h)
-QT_CLASS_LIB(QSystemLocale, QtCore, qlocale.h)
-QT_CLASS_LIB(QLocale, QtCore, qlocale.h)
-QT_CLASS_LIB(QBBSystemLocaleData, QtCore, qlocale_blackberry.h)
-QT_CLASS_LIB(QMapData, QtCore, qmap.h)
-QT_CLASS_LIB(QMapNode, QtCore, qmap.h)
-QT_CLASS_LIB(QMapPayloadNode, QtCore, qmap.h)
-QT_CLASS_LIB(QMap, QtCore, qmap.h)
-QT_CLASS_LIB(QMultiMap, QtCore, qmap.h)
-QT_CLASS_LIB(QMapIterator, QtCore, qmap.h)
-QT_CLASS_LIB(QMutableMapIterator, QtCore, qmap.h)
-QT_CLASS_LIB(QMapIterator, QtCore, qmap.h)
-QT_CLASS_LIB(QMutableMapIterator, QtCore, qmap.h)
-QT_CLASS_LIB(QMargins, QtCore, qmargins.h)
-QT_CLASS_LIB(QPair, QtCore, qpair.h)
-QT_CLASS_LIB(QPoint, QtCore, qpoint.h)
-QT_CLASS_LIB(QPointF, QtCore, qpoint.h)
-QT_CLASS_LIB(QQueue, QtCore, qqueue.h)
-QT_CLASS_LIB(QRect, QtCore, qrect.h)
-QT_CLASS_LIB(QRectF, QtCore, qrect.h)
-QT_CLASS_LIB(QRegExp, QtCore, qregexp.h)
-QT_CLASS_LIB(QScopedPointerDeleter, QtCore, qscopedpointer.h)
-QT_CLASS_LIB(QScopedPointerArrayDeleter, QtCore, qscopedpointer.h)
-QT_CLASS_LIB(QScopedPointerPodDeleter, QtCore, qscopedpointer.h)
-QT_CLASS_LIB(QScopedPointer, QtCore, qscopedpointer.h)
-QT_CLASS_LIB(QScopedArrayPointer, QtCore, qscopedpointer.h)
-QT_CLASS_LIB(QScopedValueRollback, QtCore, qscopedvaluerollback.h)
-QT_CLASS_LIB(QSet, QtCore, qset.h)
-QT_CLASS_LIB(QSetIterator, QtCore, qset.h)
-QT_CLASS_LIB(QMutableSetIterator, QtCore, qset.h)
-QT_CLASS_LIB(QMutableSetIterator, QtCore, qset.h)
-QT_CLASS_LIB(QSharedData, QtCore, qshareddata.h)
-QT_CLASS_LIB(QSharedDataPointer, QtCore, qshareddata.h)
-QT_CLASS_LIB(QExplicitlySharedDataPointer, QtCore, qshareddata.h)
-QT_CLASS_LIB(QSharedPointer, QtCore, qsharedpointer.h)
-QT_CLASS_LIB(QWeakPointer, QtCore, qsharedpointer.h)
-QT_CLASS_LIB(QSize, QtCore, qsize.h)
-QT_CLASS_LIB(QSizeF, QtCore, qsize.h)
-QT_CLASS_LIB(QStack, QtCore, qstack.h)
-QT_CLASS_LIB(QStdWString, QtCore, qstring.h)
-QT_CLASS_LIB(QString, QtCore, qstring.h)
-QT_CLASS_LIB(QLatin1String, QtCore, qstring.h)
-QT_CLASS_LIB(QCharRef, QtCore, qstring.h)
-QT_CLASS_LIB(QConstString, QtCore, qstring.h)
-QT_CLASS_LIB(QStringRef, QtCore, qstring.h)
-QT_CLASS_LIB(QLatin1Literal, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QAbstractConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QStringBuilder, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QStringBuilder, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QStringBuilder, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QConcatenable, QtCore, qstringbuilder.h)
-QT_CLASS_LIB(QStringListIterator, QtCore, qstringlist.h)
-QT_CLASS_LIB(QMutableStringListIterator, QtCore, qstringlist.h)
-QT_CLASS_LIB(QStringList, QtCore, qstringlist.h)
-QT_CLASS_LIB(QStringMatcher, QtCore, qstringmatcher.h)
-QT_CLASS_LIB(QTextBoundaryFinder, QtCore, qtextboundaryfinder.h)
-QT_CLASS_LIB(QTimeLine, QtCore, qtimeline.h)
-QT_CLASS_LIB(QVarLengthArray, QtCore, qvarlengtharray.h)
-QT_CLASS_LIB(QVectorData, QtCore, qvector.h)
-QT_CLASS_LIB(QVectorTypedData, QtCore, qvector.h)
-QT_CLASS_LIB(QVector, QtCore, qvector.h)
-QT_CLASS_LIB(QVectorIterator, QtCore, qvector.h)
-QT_CLASS_LIB(QMutableVectorIterator, QtCore, qvector.h)
-QT_CLASS_LIB(QVectorIterator, QtCore, qvector.h)
-QT_CLASS_LIB(QMutableVectorIterator, QtCore, qvector.h)
-QT_CLASS_LIB(QFactoryInterface, QtCore, qfactoryinterface.h)
-QT_CLASS_LIB(QLibrary, QtCore, qlibrary.h)
-QT_CLASS_LIB(QtPlugin, QtCore, qplugin.h)
-QT_CLASS_LIB(QtPluginInstanceFunction, QtCore, qplugin.h)
-QT_CLASS_LIB(QPluginLoader, QtCore, qpluginloader.h)
-QT_CLASS_LIB(QUuid, QtCore, quuid.h)
-QT_CLASS_LIB(QXmlStreamStringRef, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamAttribute, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamAttributes, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamNamespaceDeclaration, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamNamespaceDeclarations, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamNotationDeclaration, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamNotationDeclarations, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamEntityDeclaration, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamEntityDeclarations, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamEntityResolver, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamReader, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamWriter, QtCore, qxmlstream.h)
-QT_CLASS_LIB(QAtomicInt, QtCore, qatomic.h)
-QT_CLASS_LIB(QAtomicPointer, QtCore, qatomic.h)
-QT_CLASS_LIB(QBasicAtomicInt, QtCore, qbasicatomic.h)
-QT_CLASS_LIB(QBasicAtomicPointer, QtCore, qbasicatomic.h)
-QT_CLASS_LIB(QMutex, QtCore, qmutex.h)
-QT_CLASS_LIB(QMutexLocker, QtCore, qmutex.h)
-QT_CLASS_LIB(QMutexData, QtCore, qmutex.h)
-QT_CLASS_LIB(QMutex, QtCore, qmutex.h)
-QT_CLASS_LIB(QMutexLocker, QtCore, qmutex.h)
-QT_CLASS_LIB(QReadWriteLock, QtCore, qreadwritelock.h)
-QT_CLASS_LIB(QReadLocker, QtCore, qreadwritelock.h)
-QT_CLASS_LIB(QWriteLocker, QtCore, qreadwritelock.h)
-QT_CLASS_LIB(QReadWriteLock, QtCore, qreadwritelock.h)
-QT_CLASS_LIB(QReadLocker, QtCore, qreadwritelock.h)
-QT_CLASS_LIB(QWriteLocker, QtCore, qreadwritelock.h)
-QT_CLASS_LIB(QSemaphore, QtCore, qsemaphore.h)
-QT_CLASS_LIB(QThread, QtCore, qthread.h)
-QT_CLASS_LIB(QThread, QtCore, qthread.h)
-QT_CLASS_LIB(QThreadStorageData, QtCore, qthreadstorage.h)
-QT_CLASS_LIB(QThreadStorage, QtCore, qthreadstorage.h)
-QT_CLASS_LIB(QWaitCondition, QtCore, qwaitcondition.h)
-QT_CLASS_LIB(QWaitCondition, QtCore, qwaitcondition.h)
-QT_CLASS_LIB(QAbstractState, QtCore, qabstractstate.h)
-QT_CLASS_LIB(QAbstractTransition, QtCore, qabstracttransition.h)
-QT_CLASS_LIB(QEventTransition, QtCore, qeventtransition.h)
-QT_CLASS_LIB(QFinalState, QtCore, qfinalstate.h)
-QT_CLASS_LIB(QHistoryState, QtCore, qhistorystate.h)
-QT_CLASS_LIB(QSignalTransition, QtCore, qsignaltransition.h)
-QT_CLASS_LIB(QState, QtCore, qstate.h)
-QT_CLASS_LIB(QStateMachine, QtCore, qstatemachine.h)
-QT_CLASS_LIB(QFuture, QtCore, qfuture.h)
-QT_CLASS_LIB(QFutureIterator, QtCore, qfuture.h)
-QT_CLASS_LIB(QMutableFutureIterator, QtCore, qfuture.h)
-QT_CLASS_LIB(QFuture, QtCore, qfuture.h)
-QT_CLASS_LIB(QFutureInterfaceBase, QtCore, qfutureinterface.h)
-QT_CLASS_LIB(QFutureInterface, QtCore, qfutureinterface.h)
-QT_CLASS_LIB(QFutureInterface, QtCore, qfutureinterface.h)
-QT_CLASS_LIB(QFutureSynchronizer, QtCore, qfuturesynchronizer.h)
-QT_CLASS_LIB(QFutureWatcherBase, QtCore, qfuturewatcher.h)
-QT_CLASS_LIB(QFutureWatcher, QtCore, qfuturewatcher.h)
-QT_CLASS_LIB(QFutureWatcher, QtCore, qfuturewatcher.h)
-QT_CLASS_LIB(QRunnable, QtCore, qrunnable.h)
-QT_CLASS_LIB(QtConcurrentFilter, QtCore, qtconcurrentfilter.h)
-QT_CLASS_LIB(QtConcurrentMap, QtCore, qtconcurrentmap.h)
-QT_CLASS_LIB(QtConcurrentRun, QtCore, qtconcurrentrun.h)
-QT_CLASS_LIB(QThreadPool, QtCore, qthreadpool.h)
-QT_CLASS_LIB(QAbstractFileEngine, QtCore, qabstractfileengine.h)
-QT_CLASS_LIB(QAbstractFileEngineHandler, QtCore, qabstractfileengine.h)
-QT_CLASS_LIB(QAbstractFileEngineIterator, QtCore, qabstractfileengine.h)
-QT_CLASS_LIB(QBuffer, QtCore, qbuffer.h)
-QT_CLASS_LIB(QDataStream, QtCore, qdatastream.h)
-QT_CLASS_LIB(QtDebug, QtCore, qdebug.h)
-QT_CLASS_LIB(QDebug, QtCore, qdebug.h)
-QT_CLASS_LIB(QNoDebug, QtCore, qdebug.h)
-QT_CLASS_LIB(QDir, QtCore, qdir.h)
-QT_CLASS_LIB(QDirIterator, QtCore, qdiriterator.h)
-QT_CLASS_LIB(QFile, QtCore, qfile.h)
-QT_CLASS_LIB(QFileInfo, QtCore, qfileinfo.h)
-QT_CLASS_LIB(QFileInfoList, QtCore, qfileinfo.h)
-QT_CLASS_LIB(QFileInfoListIterator, QtCore, qfileinfo.h)
-QT_CLASS_LIB(QFileSystemWatcher, QtCore, qfilesystemwatcher.h)
-QT_CLASS_LIB(QFSFileEngine, QtCore, qfsfileengine.h)
-QT_CLASS_LIB(QIODevice, QtCore, qiodevice.h)
-QT_CLASS_LIB(Q_PID, QtCore, qprocess.h)
-QT_CLASS_LIB(QProcessEnvironment, QtCore, qprocess.h)
-QT_CLASS_LIB(QProcess, QtCore, qprocess.h)
-QT_CLASS_LIB(QResource, QtCore, qresource.h)
-QT_CLASS_LIB(QSettings, QtCore, qsettings.h)
-QT_CLASS_LIB(QTemporaryFile, QtCore, qtemporaryfile.h)
-QT_CLASS_LIB(QTextStream, QtCore, qtextstream.h)
-QT_CLASS_LIB(QTextStreamFunction, QtCore, qtextstream.h)
-QT_CLASS_LIB(QTextStreamManipulator, QtCore, qtextstream.h)
-QT_CLASS_LIB(QTS, QtCore, qtextstream.h)
-QT_CLASS_LIB(QTextIStream, QtCore, qtextstream.h)
-QT_CLASS_LIB(QTextOStream, QtCore, qtextstream.h)
-QT_CLASS_LIB(QUrl, QtCore, qurl.h)
-QT_CLASS_LIB(QtEndian, QtCore, qendian.h)
-QT_CLASS_LIB(QtGlobal, QtCore, qglobal.h)
-QT_CLASS_LIB(QIntegerForSize, QtCore, qglobal.h)
-QT_CLASS_LIB(QIntegerForSize, QtCore, qglobal.h)
-QT_CLASS_LIB(QIntegerForSize, QtCore, qglobal.h)
-QT_CLASS_LIB(QIntegerForSize, QtCore, qglobal.h)
-QT_CLASS_LIB(QIntegerForSize, QtCore, qglobal.h)
-QT_CLASS_LIB(QNoImplicitBoolCast, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_INT8, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_UINT8, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_INT16, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_UINT16, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_INT32, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_UINT32, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_INT64, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_UINT64, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_LLONG, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_ULLONG, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_LONG, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_ULONG, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_LONG, QtCore, qglobal.h)
-QT_CLASS_LIB(Q_ULONG, QtCore, qglobal.h)
-QT_CLASS_LIB(QSysInfo, QtCore, qglobal.h)
-QT_CLASS_LIB(QtMsgHandler, QtCore, qglobal.h)
-QT_CLASS_LIB(QGlobalStatic, QtCore, qglobal.h)
-QT_CLASS_LIB(QGlobalStatic, QtCore, qglobal.h)
-QT_CLASS_LIB(QGlobalStaticDeleter, QtCore, qglobal.h)
-QT_CLASS_LIB(QBool, QtCore, qglobal.h)
-QT_CLASS_LIB(QTypeInfo, QtCore, qglobal.h)
-QT_CLASS_LIB(QTypeInfo, QtCore, qglobal.h)
-QT_CLASS_LIB(QFlag, QtCore, qglobal.h)
-QT_CLASS_LIB(QIncompatibleFlag, QtCore, qglobal.h)
-QT_CLASS_LIB(QFlags, QtCore, qglobal.h)
-QT_CLASS_LIB(QForeachContainer, QtCore, qglobal.h)
-QT_CLASS_LIB(QForeachContainerBase, QtCore, qglobal.h)
-QT_CLASS_LIB(QForeachContainer, QtCore, qglobal.h)
-QT_CLASS_LIB(QLibraryInfo, QtCore, qlibraryinfo.h)
-QT_CLASS_LIB(Qt, QtCore, qnamespace.h)
-QT_CLASS_LIB(QInternal, QtCore, qnamespace.h)
-QT_CLASS_LIB(QCOORD, QtCore, qnamespace.h)
-QT_CLASS_LIB(QtConfig, QtCore, qconfig.h)
-QT_CLASS_LIB(QTextCodec, QtCore, qtextcodec.h)
-QT_CLASS_LIB(QTextEncoder, QtCore, qtextcodec.h)
-QT_CLASS_LIB(QTextDecoder, QtCore, qtextcodec.h)
-QT_CLASS_LIB(QTextCodecFactoryInterface, QtCore, qtextcodecplugin.h)
-QT_CLASS_LIB(QTextCodecPlugin, QtCore, qtextcodecplugin.h)
-QT_CLASS_LIB(QDeclarativeComponent, QtDeclarative, qdeclarativecomponent.h)
-QT_CLASS_LIB(QDeclarativeContext, QtDeclarative, qdeclarativecontext.h)
-QT_CLASS_LIB(QDeclarativeEngine, QtDeclarative, qdeclarativeengine.h)
-QT_CLASS_LIB(QDeclarativeError, QtDeclarative, qdeclarativeerror.h)
-QT_CLASS_LIB(QDeclarativeExpression, QtDeclarative, qdeclarativeexpression.h)
-QT_CLASS_LIB(QDeclarativeExtensionInterface, QtDeclarative, qdeclarativeextensioninterface.h)
-QT_CLASS_LIB(QDeclarativeExtensionPlugin, QtDeclarative, qdeclarativeextensionplugin.h)
-QT_CLASS_LIB(QDeclarativeImageProvider, QtDeclarative, qdeclarativeimageprovider.h)
-QT_CLASS_LIB(QDeclarativeInfo, QtDeclarative, qdeclarativeinfo.h)
-QT_CLASS_LIB(QDeclarativeListProperty, QtDeclarative, qdeclarativelist.h)
-QT_CLASS_LIB(QDeclarativeListReference, QtDeclarative, qdeclarativelist.h)
-QT_CLASS_LIB(QDeclarativeNetworkAccessManagerFactory, QtDeclarative, qdeclarativenetworkaccessmanagerfactory.h)
-QT_CLASS_LIB(QDeclarativeParserStatus, QtDeclarative, qdeclarativeparserstatus.h)
-QT_CLASS_LIB(QDeclarativeAttachedPropertiesFunc, QtDeclarative, qdeclarativeprivate.h)
-QT_CLASS_LIB(QDeclarativeTypeInfo, QtDeclarative, qdeclarativeprivate.h)
-QT_CLASS_LIB(QDeclarativeProperty, QtDeclarative, qdeclarativeproperty.h)
-QT_CLASS_LIB(QDeclarativeProperties, QtDeclarative, qdeclarativeproperty.h)
-QT_CLASS_LIB(QDeclarativePropertyValueInterceptor, QtDeclarative, qdeclarativepropertyvalueinterceptor.h)
-QT_CLASS_LIB(QDeclarativePropertyValueSource, QtDeclarative, qdeclarativepropertyvaluesource.h)
-QT_CLASS_LIB(QDeclarativeScriptString, QtDeclarative, qdeclarativescriptstring.h)
-QT_CLASS_LIB(QDeclarativeDebuggingEnabler, QtDeclarative, qdeclarativedebug.h)
-QT_CLASS_LIB(QDeclarativeItem, QtDeclarative, qdeclarativeitem.h)
-QT_CLASS_LIB(QDeclarativePropertyMap, QtDeclarative, qdeclarativepropertymap.h)
-QT_CLASS_LIB(QDeclarativeView, QtDeclarative, qdeclarativeview.h)
-QT_CLASS_LIB(QGL, QtOpenGL, qgl.h)
-QT_CLASS_LIB(QMacGLCompatTypes, QtOpenGL, qgl.h)
-QT_CLASS_LIB(QMacGLCompatTypes, QtOpenGL, qgl.h)
-QT_CLASS_LIB(QMacCompatGLint, QtOpenGL, qgl.h)
-QT_CLASS_LIB(QMacCompatGLuint, QtOpenGL, qgl.h)
-QT_CLASS_LIB(QMacCompatGLenum, QtOpenGL, qgl.h)
-QT_CLASS_LIB(QGLFormat, QtOpenGL, qgl.h)
-QT_CLASS_LIB(QGLContext, QtOpenGL, qgl.h)
-QT_CLASS_LIB(QGLWidget, QtOpenGL, qgl.h)
-QT_CLASS_LIB(QGLBuffer, QtOpenGL, qglbuffer.h)
-QT_CLASS_LIB(QGLColormap, QtOpenGL, qglcolormap.h)
-QT_CLASS_LIB(QGLFramebufferObject, QtOpenGL, qglframebufferobject.h)
-QT_CLASS_LIB(QGLFramebufferObjectFormat, QtOpenGL, qglframebufferobject.h)
-QT_CLASS_LIB(QGLFunctions, QtOpenGL, qglfunctions.h)
-QT_CLASS_LIB(QGLFunctionsPrivate, QtOpenGL, qglfunctions.h)
-QT_CLASS_LIB(QGLPixelBuffer, QtOpenGL, qglpixelbuffer.h)
-QT_CLASS_LIB(QGLScreenSurfaceFunctions, QtOpenGL, qglscreen_qws.h)
-QT_CLASS_LIB(QGLScreen, QtOpenGL, qglscreen_qws.h)
-QT_CLASS_LIB(QGLShader, QtOpenGL, qglshaderprogram.h)
-QT_CLASS_LIB(QGLShaderProgram, QtOpenGL, qglshaderprogram.h)
-QT_CLASS_LIB(QXmlStreamAttribute, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamAttributes, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamEntityDeclaration, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamEntityDeclarations, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamEntityResolver, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamNamespaceDeclaration, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamNamespaceDeclarations, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamNotationDeclaration, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamNotationDeclarations, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamReader, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamStringRef, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlStreamWriter, QtXml, qxmlstream.h)
-QT_CLASS_LIB(QXmlNamespaceSupport, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlAttributes, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlInputSource, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlParseException, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlReader, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlSimpleReader, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlLocator, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlContentHandler, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlErrorHandler, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlDTDHandler, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlEntityResolver, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlLexicalHandler, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlDeclHandler, QtXml, qxml.h)
-QT_CLASS_LIB(QXmlDefaultHandler, QtXml, qxml.h)
-QT_CLASS_LIB(QDomImplementation, QtXml, qdom.h)
-QT_CLASS_LIB(QDomNode, QtXml, qdom.h)
-QT_CLASS_LIB(QDomNodeList, QtXml, qdom.h)
-QT_CLASS_LIB(QDomDocumentType, QtXml, qdom.h)
-QT_CLASS_LIB(QDomDocument, QtXml, qdom.h)
-QT_CLASS_LIB(QDomNamedNodeMap, QtXml, qdom.h)
-QT_CLASS_LIB(QDomDocumentFragment, QtXml, qdom.h)
-QT_CLASS_LIB(QDomCharacterData, QtXml, qdom.h)
-QT_CLASS_LIB(QDomAttr, QtXml, qdom.h)
-QT_CLASS_LIB(QDomElement, QtXml, qdom.h)
-QT_CLASS_LIB(QDomText, QtXml, qdom.h)
-QT_CLASS_LIB(QDomComment, QtXml, qdom.h)
-QT_CLASS_LIB(QDomCDATASection, QtXml, qdom.h)
-QT_CLASS_LIB(QDomNotation, QtXml, qdom.h)
-QT_CLASS_LIB(QDomEntity, QtXml, qdom.h)
-QT_CLASS_LIB(QDomEntityReference, QtXml, qdom.h)
-QT_CLASS_LIB(QDomProcessingInstruction, QtXml, qdom.h)
-QT_CLASS_LIB(QAuthenticator, QtNetwork, qauthenticator.h)
-QT_CLASS_LIB(QIPv6Address, QtNetwork, qhostaddress.h)
-QT_CLASS_LIB(Q_IPV6ADDR, QtNetwork, qhostaddress.h)
-QT_CLASS_LIB(QHostAddress, QtNetwork, qhostaddress.h)
-QT_CLASS_LIB(QHostInfo, QtNetwork, qhostinfo.h)
-QT_CLASS_LIB(QNetworkAddressEntry, QtNetwork, qnetworkinterface.h)
-QT_CLASS_LIB(QNetworkInterface, QtNetwork, qnetworkinterface.h)
-QT_CLASS_LIB(QNetworkProxyQuery, QtNetwork, qnetworkproxy.h)
-QT_CLASS_LIB(QNetworkProxy, QtNetwork, qnetworkproxy.h)
-QT_CLASS_LIB(QNetworkProxyFactory, QtNetwork, qnetworkproxy.h)
-QT_CLASS_LIB(QUrlInfo, QtNetwork, qurlinfo.h)
-QT_CLASS_LIB(QNetworkCacheMetaData, QtNetwork, qabstractnetworkcache.h)
-QT_CLASS_LIB(QAbstractNetworkCache, QtNetwork, qabstractnetworkcache.h)
-QT_CLASS_LIB(QFtp, QtNetwork, qftp.h)
-QT_CLASS_LIB(QHttpHeader, QtNetwork, qhttp.h)
-QT_CLASS_LIB(QHttpResponseHeader, QtNetwork, qhttp.h)
-QT_CLASS_LIB(QHttpRequestHeader, QtNetwork, qhttp.h)
-QT_CLASS_LIB(QHttp, QtNetwork, qhttp.h)
-QT_CLASS_LIB(QHttpPart, QtNetwork, qhttpmultipart.h)
-QT_CLASS_LIB(QHttpMultiPart, QtNetwork, qhttpmultipart.h)
-QT_CLASS_LIB(QNetworkAccessManager, QtNetwork, qnetworkaccessmanager.h)
-QT_CLASS_LIB(QNetworkCookie, QtNetwork, qnetworkcookie.h)
-QT_CLASS_LIB(QNetworkCookieJar, QtNetwork, qnetworkcookiejar.h)
-QT_CLASS_LIB(QNetworkDiskCache, QtNetwork, qnetworkdiskcache.h)
-QT_CLASS_LIB(QNetworkReply, QtNetwork, qnetworkreply.h)
-QT_CLASS_LIB(QNetworkRequest, QtNetwork, qnetworkrequest.h)
-QT_CLASS_LIB(QSsl, QtNetwork, qssl.h)
-QT_CLASS_LIB(QSslCertificate, QtNetwork, qsslcertificate.h)
-QT_CLASS_LIB(QSslCipher, QtNetwork, qsslcipher.h)
-QT_CLASS_LIB(QSslConfiguration, QtNetwork, qsslconfiguration.h)
-QT_CLASS_LIB(QSslError, QtNetwork, qsslerror.h)
-QT_CLASS_LIB(QSslKey, QtNetwork, qsslkey.h)
-QT_CLASS_LIB(QSslSocket, QtNetwork, qsslsocket.h)
-QT_CLASS_LIB(QAbstractSocket, QtNetwork, qabstractsocket.h)
-QT_CLASS_LIB(QLocalServer, QtNetwork, qlocalserver.h)
-QT_CLASS_LIB(QLocalSocket, QtNetwork, qlocalsocket.h)
-QT_CLASS_LIB(QTcpServer, QtNetwork, qtcpserver.h)
-QT_CLASS_LIB(QTcpSocket, QtNetwork, qtcpsocket.h)
-QT_CLASS_LIB(QUdpSocket, QtNetwork, qudpsocket.h)
-QT_CLASS_LIB(QNetworkConfigurationManager, QtNetwork, qnetworkconfigmanager.h)
-QT_CLASS_LIB(QNetworkConfiguration, QtNetwork, qnetworkconfiguration.h)
-QT_CLASS_LIB(QNetworkSession, QtNetwork, qnetworksession.h)
-QT_CLASS_LIB(QHelpGlobal, QtHelp, qhelp_global.h)
-QT_CLASS_LIB(QHelpContentItem, QtHelp, qhelpcontentwidget.h)
-QT_CLASS_LIB(QHelpContentModel, QtHelp, qhelpcontentwidget.h)
-QT_CLASS_LIB(QHelpContentWidget, QtHelp, qhelpcontentwidget.h)
-QT_CLASS_LIB(QHelpEngine, QtHelp, qhelpengine.h)
-QT_CLASS_LIB(QHelpEngineCore, QtHelp, qhelpenginecore.h)
-QT_CLASS_LIB(QHelpIndexModel, QtHelp, qhelpindexwidget.h)
-QT_CLASS_LIB(QHelpIndexWidget, QtHelp, qhelpindexwidget.h)
-QT_CLASS_LIB(QHelpSearchQuery, QtHelp, qhelpsearchengine.h)
-QT_CLASS_LIB(QHelpSearchEngine, QtHelp, qhelpsearchengine.h)
-QT_CLASS_LIB(QHelpSearchQueryWidget, QtHelp, qhelpsearchquerywidget.h)
-QT_CLASS_LIB(QHelpSearchResultWidget, QtHelp, qhelpsearchresultwidget.h)
-QT_CLASS_LIB(QAbstractMessageHandler, QtXmlPatterns, qabstractmessagehandler.h)
-QT_CLASS_LIB(QAbstractUriResolver, QtXmlPatterns, qabstracturiresolver.h)
-QT_CLASS_LIB(QXmlNodeModelIndex, QtXmlPatterns, qabstractxmlnodemodel.h)
-QT_CLASS_LIB(QAbstractXmlNodeModel, QtXmlPatterns, qabstractxmlnodemodel.h)
-QT_CLASS_LIB(QXmlItem, QtXmlPatterns, qabstractxmlnodemodel.h)
-QT_CLASS_LIB(QAbstractXmlReceiver, QtXmlPatterns, qabstractxmlreceiver.h)
-QT_CLASS_LIB(QSimpleXmlNodeModel, QtXmlPatterns, qsimplexmlnodemodel.h)
-QT_CLASS_LIB(QSourceLocation, QtXmlPatterns, qsourcelocation.h)
-QT_CLASS_LIB(QXmlFormatter, QtXmlPatterns, qxmlformatter.h)
-QT_CLASS_LIB(QXmlName, QtXmlPatterns, qxmlname.h)
-QT_CLASS_LIB(QXmlNamePool, QtXmlPatterns, qxmlnamepool.h)
-QT_CLASS_LIB(QXmlQuery, QtXmlPatterns, qxmlquery.h)
-QT_CLASS_LIB(QXmlResultItems, QtXmlPatterns, qxmlresultitems.h)
-QT_CLASS_LIB(QXmlSchema, QtXmlPatterns, qxmlschema.h)
-QT_CLASS_LIB(QXmlSchemaValidator, QtXmlPatterns, qxmlschemavalidator.h)
-QT_CLASS_LIB(QXmlSerializer, QtXmlPatterns, qxmlserializer.h)
-QT_CLASS_LIB(QMeeGoFenceSync, QtMeeGoGraphicsSystemHelper, qmeegofencesync.h)
-QT_CLASS_LIB(QMeeGoGraphicsSystemHelper, QtMeeGoGraphicsSystemHelper, qmeegographicssystemhelper.h)
-QT_CLASS_LIB(QMeeGoLivePixmap, QtMeeGoGraphicsSystemHelper, qmeegolivepixmap.h)
-QT_CLASS_LIB(QMeeGoOverlayWidget, QtMeeGoGraphicsSystemHelper, qmeegooverlaywidget.h)
-QT_CLASS_LIB(QMeeGoRuntime, QtMeeGoGraphicsSystemHelper, qmeegoruntime.h)
-QT_CLASS_LIB(QMeeGoSwitchEvent, QtMeeGoGraphicsSystemHelper, qmeegoswitchevent.h)
-QT_CLASS_LIB(QAxBase, ActiveQt, qaxbase.h)
-QT_CLASS_LIB(QAxObject, ActiveQt, qaxobject.h)
-QT_CLASS_LIB(QAxScriptEngine, ActiveQt, qaxscript.h)
-QT_CLASS_LIB(QAxScript, ActiveQt, qaxscript.h)
-QT_CLASS_LIB(QAxScriptManager, ActiveQt, qaxscript.h)
-QT_CLASS_LIB(QAxSelect, ActiveQt, qaxselect.h)
-QT_CLASS_LIB(QAxWidget, ActiveQt, qaxwidget.h)
-QT_CLASS_LIB(QAxAggregated, ActiveQt, qaxaggregated.h)
-QT_CLASS_LIB(QAxBindable, ActiveQt, qaxbindable.h)
-QT_CLASS_LIB(QAxFactory, ActiveQt, qaxfactory.h)
-QT_CLASS_LIB(QAxClass, ActiveQt, qaxfactory.h)
-QT_CLASS_LIB(QGraphicsWebView, QtWebKit, qgraphicswebview.h)
-QT_CLASS_LIB(QWebDatabase, QtWebKit, qwebdatabase.h)
-QT_CLASS_LIB(QWebElement, QtWebKit, qwebelement.h)
-QT_CLASS_LIB(QWebElementCollection, QtWebKit, qwebelement.h)
-QT_CLASS_LIB(QWebHitTestResult, QtWebKit, qwebframe.h)
-QT_CLASS_LIB(QWebFrame, QtWebKit, qwebframe.h)
-QT_CLASS_LIB(QWebHistoryItem, QtWebKit, qwebhistory.h)
-QT_CLASS_LIB(QWebHistory, QtWebKit, qwebhistory.h)
-QT_CLASS_LIB(QWebHistoryInterface, QtWebKit, qwebhistoryinterface.h)
-QT_CLASS_LIB(QWebInspector, QtWebKit, qwebinspector.h)
-QT_CLASS_LIB(QWebSelectData, QtWebKit, qwebkitplatformplugin.h)
-QT_CLASS_LIB(QWebSelectMethod, QtWebKit, qwebkitplatformplugin.h)
-QT_CLASS_LIB(QWebNotificationData, QtWebKit, qwebkitplatformplugin.h)
-QT_CLASS_LIB(QWebNotificationPresenter, QtWebKit, qwebkitplatformplugin.h)
-QT_CLASS_LIB(QWebHapticFeedbackPlayer, QtWebKit, qwebkitplatformplugin.h)
-QT_CLASS_LIB(QWebTouchModifier, QtWebKit, qwebkitplatformplugin.h)
-QT_CLASS_LIB(QWebFullScreenVideoHandler, QtWebKit, qwebkitplatformplugin.h)
-QT_CLASS_LIB(QWebKitPlatformPlugin, QtWebKit, qwebkitplatformplugin.h)
-QT_CLASS_LIB(QWebPage, QtWebKit, qwebpage.h)
-QT_CLASS_LIB(QWebPluginFactory, QtWebKit, qwebpluginfactory.h)
-QT_CLASS_LIB(QWebScriptWorld, QtWebKit, qwebscriptworld.h)
-QT_CLASS_LIB(QWebSecurityOrigin, QtWebKit, qwebsecurityorigin.h)
-QT_CLASS_LIB(QWebSettings, QtWebKit, qwebsettings.h)
-QT_CLASS_LIB(QWebView, QtWebKit, qwebview.h)
-QT_CLASS_LIB(QAudio, QtMultimedia, qaudio.h)
-QT_CLASS_LIB(QAudioDeviceInfo, QtMultimedia, qaudiodeviceinfo.h)
-QT_CLASS_LIB(QAbstractAudioDeviceInfo, QtMultimedia, qaudioengine.h)
-QT_CLASS_LIB(QAbstractAudioOutput, QtMultimedia, qaudioengine.h)
-QT_CLASS_LIB(QAbstractAudioInput, QtMultimedia, qaudioengine.h)
-QT_CLASS_LIB(QAudioEngineFactoryInterface, QtMultimedia, qaudioengineplugin.h)
-QT_CLASS_LIB(QAudioEnginePlugin, QtMultimedia, qaudioengineplugin.h)
-QT_CLASS_LIB(QAudioFormat, QtMultimedia, qaudioformat.h)
-QT_CLASS_LIB(QAudioInput, QtMultimedia, qaudioinput.h)
-QT_CLASS_LIB(QAudioOutput, QtMultimedia, qaudiooutput.h)
-QT_CLASS_LIB(QAbstractVideoBuffer, QtMultimedia, qabstractvideobuffer.h)
-QT_CLASS_LIB(QAbstractVideoSurface, QtMultimedia, qabstractvideosurface.h)
-QT_CLASS_LIB(QVideoFrame, QtMultimedia, qvideoframe.h)
-QT_CLASS_LIB(QVideoSurfaceFormat, QtMultimedia, qvideosurfaceformat.h)
-QT_CLASS_LIB(QSignalSpy, QtTest, qsignalspy.h)
-QT_CLASS_LIB(QTest, QtTest, qtest.h)
-QT_CLASS_LIB(QtTestGui, QtTest, qtest_gui.h)
-QT_CLASS_LIB(QTestAccessibilityEvent, QtTest, qtestaccessible.h)
-QT_CLASS_LIB(QTestAccessibility, QtTest, qtestaccessible.h)
-QT_CLASS_LIB(QTestBasicStreamer, QtTest, qtestbasicstreamer.h)
-QT_CLASS_LIB(QTestCoreElement, QtTest, qtestcoreelement.h)
-QT_CLASS_LIB(QTestCoreList, QtTest, qtestcorelist.h)
-QT_CLASS_LIB(QTestData, QtTest, qtestdata.h)
-QT_CLASS_LIB(QTestElement, QtTest, qtestelement.h)
-QT_CLASS_LIB(QTestElementAttribute, QtTest, qtestelementattribute.h)
-QT_CLASS_LIB(QTestEvent, QtTest, qtestevent.h)
-QT_CLASS_LIB(QTestKeyEvent, QtTest, qtestevent.h)
-QT_CLASS_LIB(QTestKeyClicksEvent, QtTest, qtestevent.h)
-QT_CLASS_LIB(QTestMouseEvent, QtTest, qtestevent.h)
-QT_CLASS_LIB(QTestDelayEvent, QtTest, qtestevent.h)
-QT_CLASS_LIB(QTestEventList, QtTest, qtestevent.h)
-QT_CLASS_LIB(QTestEventLoop, QtTest, qtesteventloop.h)
-QT_CLASS_LIB(QTestFileLogger, QtTest, qtestfilelogger.h)
-QT_CLASS_LIB(QTestLightXmlStreamer, QtTest, qtestlightxmlstreamer.h)
-QT_CLASS_LIB(QEventSizeOfChecker, QtTest, qtestspontaneevent.h)
-QT_CLASS_LIB(QEventSizeOfChecker, QtTest, qtestspontaneevent.h)
-QT_CLASS_LIB(QSpontaneKeyEvent, QtTest, qtestspontaneevent.h)
-QT_CLASS_LIB(QTestXmlStreamer, QtTest, qtestxmlstreamer.h)
-QT_CLASS_LIB(QTestXunitStreamer, QtTest, qtestxunitstreamer.h)
-QT_CLASS_LIB(QDBusAbstractAdaptor, QtDBus, qdbusabstractadaptor.h)
-QT_CLASS_LIB(QDBusAbstractInterfaceBase, QtDBus, qdbusabstractinterface.h)
-QT_CLASS_LIB(QDBusAbstractInterface, QtDBus, qdbusabstractinterface.h)
-QT_CLASS_LIB(QDBusArgument, QtDBus, qdbusargument.h)
-QT_CLASS_LIB(QDBusConnection, QtDBus, qdbusconnection.h)
-QT_CLASS_LIB(QDBusConnectionInterface, QtDBus, qdbusconnectioninterface.h)
-QT_CLASS_LIB(QDBusContext, QtDBus, qdbuscontext.h)
-QT_CLASS_LIB(QDBusError, QtDBus, qdbuserror.h)
-QT_CLASS_LIB(QDBusObjectPath, QtDBus, qdbusextratypes.h)
-QT_CLASS_LIB(QDBusSignature, QtDBus, qdbusextratypes.h)
-QT_CLASS_LIB(QDBusVariant, QtDBus, qdbusextratypes.h)
-QT_CLASS_LIB(QDBusInterface, QtDBus, qdbusinterface.h)
-QT_CLASS_LIB(QDBusMessage, QtDBus, qdbusmessage.h)
-QT_CLASS_LIB(QDBusMetaType, QtDBus, qdbusmetatype.h)
-QT_CLASS_LIB(QDBusPendingCall, QtDBus, qdbuspendingcall.h)
-QT_CLASS_LIB(QDBusPendingCallWatcher, QtDBus, qdbuspendingcall.h)
-QT_CLASS_LIB(QDBusPendingReplyData, QtDBus, qdbuspendingreply.h)
-QT_CLASS_LIB(QDBusPendingReply, QtDBus, qdbuspendingreply.h)
-QT_CLASS_LIB(QDBusReply, QtDBus, qdbusreply.h)
-QT_CLASS_LIB(QDBusReply, QtDBus, qdbusreply.h)
-QT_CLASS_LIB(QDBusServer, QtDBus, qdbusserver.h)
-QT_CLASS_LIB(QDBusServiceWatcher, QtDBus, qdbusservicewatcher.h)
-QT_CLASS_LIB(QDBusUnixFileDescriptor, QtDBus, qdbusunixfiledescriptor.h)
-QT_CLASS_LIB(QDBusVirtualObject, QtDBus, qdbusvirtualobject.h)
-QT_CLASS_LIB(QScriptable, QtScript, qscriptable.h)
-QT_CLASS_LIB(QScriptClass, QtScript, qscriptclass.h)
-QT_CLASS_LIB(QScriptClassPropertyIterator, QtScript, qscriptclasspropertyiterator.h)
-QT_CLASS_LIB(QScriptContext, QtScript, qscriptcontext.h)
-QT_CLASS_LIB(QScriptContextInfo, QtScript, qscriptcontextinfo.h)
-QT_CLASS_LIB(QScriptContextInfoList, QtScript, qscriptcontextinfo.h)
-QT_CLASS_LIB(QScriptSyntaxCheckResult, QtScript, qscriptengine.h)
-QT_CLASS_LIB(QScriptEngine, QtScript, qscriptengine.h)
-QT_CLASS_LIB(QScriptEngineAgent, QtScript, qscriptengineagent.h)
-QT_CLASS_LIB(QScriptExtensionInterface, QtScript, qscriptextensioninterface.h)
-QT_CLASS_LIB(QScriptExtensionPlugin, QtScript, qscriptextensionplugin.h)
-QT_CLASS_LIB(QScriptProgram, QtScript, qscriptprogram.h)
-QT_CLASS_LIB(QScriptString, QtScript, qscriptstring.h)
-QT_CLASS_LIB(QScriptValueList, QtScript, qscriptvalue.h)
-QT_CLASS_LIB(QScriptValue, QtScript, qscriptvalue.h)
-QT_CLASS_LIB(QScriptValueIterator, QtScript, qscriptvalueiterator.h)
-QT_CLASS_LIB(QSqlDriverCreatorBase, QtSql, qsqldatabase.h)
-QT_CLASS_LIB(QSqlDriverCreator, QtSql, qsqldatabase.h)
-QT_CLASS_LIB(QSqlDatabase, QtSql, qsqldatabase.h)
-QT_CLASS_LIB(QSqlDriver, QtSql, qsqldriver.h)
-QT_CLASS_LIB(QSqlDriverFactoryInterface, QtSql, qsqldriverplugin.h)
-QT_CLASS_LIB(QSqlDriverPlugin, QtSql, qsqldriverplugin.h)
-QT_CLASS_LIB(QSqlError, QtSql, qsqlerror.h)
-QT_CLASS_LIB(QSqlField, QtSql, qsqlfield.h)
-QT_CLASS_LIB(QSqlIndex, QtSql, qsqlindex.h)
-QT_CLASS_LIB(QSqlQuery, QtSql, qsqlquery.h)
-QT_CLASS_LIB(QSqlRecord, QtSql, qsqlrecord.h)
-QT_CLASS_LIB(QSqlResult, QtSql, qsqlresult.h)
-QT_CLASS_LIB(QSqlQueryModel, QtSql, qsqlquerymodel.h)
-QT_CLASS_LIB(QSqlRelationalDelegate, QtSql, qsqlrelationaldelegate.h)
-QT_CLASS_LIB(QSqlRelation, QtSql, qsqlrelationaltablemodel.h)
-QT_CLASS_LIB(QSqlRelationalTableModel, QtSql, qsqlrelationaltablemodel.h)
-QT_CLASS_LIB(QSqlTableModel, QtSql, qsqltablemodel.h)
-QT_CLASS_LIB(QDB2Result, QtSql, qsql_db2.h)
-QT_CLASS_LIB(QDB2Driver, QtSql, qsql_db2.h)
-QT_CLASS_LIB(QPSQLResult, QtSql, qsql_psql.h)
-QT_CLASS_LIB(QPSQLDriver, QtSql, qsql_psql.h)
-QT_CLASS_LIB(QODBCResult, QtSql, qsql_odbc.h)
-QT_CLASS_LIB(QODBCDriver, QtSql, qsql_odbc.h)
-QT_CLASS_LIB(QMYSQLResult, QtSql, qsql_mysql.h)
-QT_CLASS_LIB(QMYSQLDriver, QtSql, qsql_mysql.h)
-QT_CLASS_LIB(QTDSResult, QtSql, qsql_tds.h)
-QT_CLASS_LIB(QTDSDriver, QtSql, qsql_tds.h)
-QT_CLASS_LIB(QIBaseResult, QtSql, qsql_ibase.h)
-QT_CLASS_LIB(QIBaseDriver, QtSql, qsql_ibase.h)
-QT_CLASS_LIB(QOCIResult, QtSql, qsql_oci.h)
-QT_CLASS_LIB(QOCIDriver, QtSql, qsql_oci.h)
-QT_CLASS_LIB(QSymSQLResult, QtSql, qsql_symsql.h)
-QT_CLASS_LIB(QSymSQLDriver, QtSql, qsql_symsql.h)
-QT_CLASS_LIB(QSQLiteResult, QtSql, qsql_sqlite.h)
-QT_CLASS_LIB(QSQLiteDriver, QtSql, qsql_sqlite.h)
-QT_CLASS_LIB(QSQLite2Result, QtSql, qsql_sqlite2.h)
-QT_CLASS_LIB(QSQLite2Driver, QtSql, qsql_sqlite2.h)
-QT_CLASS_LIB(QAction, QtGui, qaction.h)
-QT_CLASS_LIB(QActionGroup, QtGui, qactiongroup.h)
-QT_CLASS_LIB(QApplication, QtGui, qapplication.h)
-QT_CLASS_LIB(QBoxLayout, QtGui, qboxlayout.h)
-QT_CLASS_LIB(QHBoxLayout, QtGui, qboxlayout.h)
-QT_CLASS_LIB(QVBoxLayout, QtGui, qboxlayout.h)
-QT_CLASS_LIB(QClipboard, QtGui, qclipboard.h)
-QT_CLASS_LIB(QCursor, QtGui, qcursor.h)
-QT_CLASS_LIB(QCursor, QtGui, qcursor.h)
-QT_CLASS_LIB(QCursorShape, QtGui, qcursor.h)
-QT_CLASS_LIB(QDesktopWidget, QtGui, qdesktopwidget.h)
-QT_CLASS_LIB(QDrag, QtGui, qdrag.h)
-QT_CLASS_LIB(QtEvents, QtGui, qevent.h)
-QT_CLASS_LIB(QInputEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QMouseEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QHoverEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QWheelEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QTabletEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QKeyEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QFocusEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QPaintEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QUpdateLaterEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QMoveEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QResizeEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QCloseEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QIconDragEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QShowEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QHideEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QContextMenuEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QInputMethodEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QDropEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QDragMoveEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QDragEnterEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QDragResponseEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QDragLeaveEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QHelpEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QStatusTipEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QWhatsThisClickedEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QActionEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QFileOpenEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QToolBarChangeEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QShortcutEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QClipboardEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QWindowStateChangeEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QMenubarUpdatedEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QTouchEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QGestureEvent, QtGui, qevent.h)
-QT_CLASS_LIB(QFormLayout, QtGui, qformlayout.h)
-QT_CLASS_LIB(QGenericPluginFactoryInterface, QtGui, qgenericplugin_qpa.h)
-QT_CLASS_LIB(QGenericPlugin, QtGui, qgenericplugin_qpa.h)
-QT_CLASS_LIB(QGenericPluginFactory, QtGui, qgenericpluginfactory_qpa.h)
-QT_CLASS_LIB(QGesture, QtGui, qgesture.h)
-QT_CLASS_LIB(QPanGesture, QtGui, qgesture.h)
-QT_CLASS_LIB(QPinchGesture, QtGui, qgesture.h)
-QT_CLASS_LIB(QSwipeGesture, QtGui, qgesture.h)
-QT_CLASS_LIB(QTapGesture, QtGui, qgesture.h)
-QT_CLASS_LIB(QTapAndHoldGesture, QtGui, qgesture.h)
-QT_CLASS_LIB(QGestureRecognizer, QtGui, qgesturerecognizer.h)
-QT_CLASS_LIB(QGridLayout, QtGui, qgridlayout.h)
-QT_CLASS_LIB(QKeySequence, QtGui, qkeysequence.h)
-QT_CLASS_LIB(QKeySequence, QtGui, qkeysequence.h)
-QT_CLASS_LIB(QLayoutIterator, QtGui, qlayout.h)
-QT_CLASS_LIB(QLayout, QtGui, qlayout.h)
-QT_CLASS_LIB(QLayoutItem, QtGui, qlayoutitem.h)
-QT_CLASS_LIB(QSpacerItem, QtGui, qlayoutitem.h)
-QT_CLASS_LIB(QWidgetItem, QtGui, qlayoutitem.h)
-QT_CLASS_LIB(QWidgetItemV2, QtGui, qlayoutitem.h)
-QT_CLASS_LIB(QMimeSource, QtGui, qmime.h)
-QT_CLASS_LIB(QWindowsMime, QtGui, qmime.h)
-QT_CLASS_LIB(QMacMime, QtGui, qmime.h)
-QT_CLASS_LIB(QMacPasteboardMime, QtGui, qmime.h)
-QT_CLASS_LIB(QPalette, QtGui, qpalette.h)
-QT_CLASS_LIB(QColorGroup, QtGui, qpalette.h)
-QT_CLASS_LIB(QPlatformClipboard, QtGui, qplatformclipboard_qpa.h)
-QT_CLASS_LIB(QPlatformCursorImage, QtGui, qplatformcursor_qpa.h)
-QT_CLASS_LIB(QPlatformCursorPrivate, QtGui, qplatformcursor_qpa.h)
-QT_CLASS_LIB(QPlatformCursor, QtGui, qplatformcursor_qpa.h)
-QT_CLASS_LIB(QPlatformEventLoopIntegration, QtGui, qplatformeventloopintegration_qpa.h)
-QT_CLASS_LIB(QPlatformGLContext, QtGui, qplatformglcontext_qpa.h)
-QT_CLASS_LIB(QPlatformIntegration, QtGui, qplatformintegration_qpa.h)
-QT_CLASS_LIB(QPlatformIntegrationFactoryInterface, QtGui, qplatformintegrationplugin_qpa.h)
-QT_CLASS_LIB(QPlatformIntegrationPlugin, QtGui, qplatformintegrationplugin_qpa.h)
-QT_CLASS_LIB(QPlatformNativeInterface, QtGui, qplatformnativeinterface_qpa.h)
-QT_CLASS_LIB(QPlatformScreen, QtGui, qplatformscreen_qpa.h)
-QT_CLASS_LIB(QPlatformWindow, QtGui, qplatformwindow_qpa.h)
-QT_CLASS_LIB(QPlatformWindowFormat, QtGui, qplatformwindowformat_qpa.h)
-QT_CLASS_LIB(QSessionManager, QtGui, qsessionmanager.h)
-QT_CLASS_LIB(QShortcut, QtGui, qshortcut.h)
-QT_CLASS_LIB(QSizePolicy, QtGui, qsizepolicy.h)
-QT_CLASS_LIB(QSound, QtGui, qsound.h)
-QT_CLASS_LIB(QStackedLayout, QtGui, qstackedlayout.h)
-QT_CLASS_LIB(QToolTip, QtGui, qtooltip.h)
-QT_CLASS_LIB(QWhatsThis, QtGui, qwhatsthis.h)
-QT_CLASS_LIB(QWidgetData, QtGui, qwidget.h)
-QT_CLASS_LIB(QWidget, QtGui, qwidget.h)
-QT_CLASS_LIB(QWidgetAction, QtGui, qwidgetaction.h)
-QT_CLASS_LIB(QWidgetList, QtGui, qwindowdefs.h)
-QT_CLASS_LIB(QWidgetMapper, QtGui, qwindowdefs.h)
-QT_CLASS_LIB(QWidgetSet, QtGui, qwindowdefs.h)
-QT_CLASS_LIB(QWindowSystemInterface, QtGui, qwindowsysteminterface_qpa.h)
-QT_CLASS_LIB(QX11EmbedWidget, QtGui, qx11embed_x11.h)
-QT_CLASS_LIB(QX11EmbedContainer, QtGui, qx11embed_x11.h)
-QT_CLASS_LIB(QX11Info, QtGui, qx11info_x11.h)
-QT_CLASS_LIB(QInputContext, QtGui, qinputcontext.h)
-QT_CLASS_LIB(QInputContextFactory, QtGui, qinputcontextfactory.h)
-QT_CLASS_LIB(QInputContextFactoryInterface, QtGui, qinputcontextplugin.h)
-QT_CLASS_LIB(QInputContextPlugin, QtGui, qinputcontextplugin.h)
-QT_CLASS_LIB(QAbstractButton, QtGui, qabstractbutton.h)
-QT_CLASS_LIB(QAbstractScrollArea, QtGui, qabstractscrollarea.h)
-QT_CLASS_LIB(QAbstractSlider, QtGui, qabstractslider.h)
-QT_CLASS_LIB(QAbstractSpinBox, QtGui, qabstractspinbox.h)
-QT_CLASS_LIB(QButtonGroup, QtGui, qbuttongroup.h)
-QT_CLASS_LIB(QCalendarWidget, QtGui, qcalendarwidget.h)
-QT_CLASS_LIB(QCheckBox, QtGui, qcheckbox.h)
-QT_CLASS_LIB(QComboBox, QtGui, qcombobox.h)
-QT_CLASS_LIB(QCommandLinkButton, QtGui, qcommandlinkbutton.h)
-QT_CLASS_LIB(QDateTimeEdit, QtGui, qdatetimeedit.h)
-QT_CLASS_LIB(QTimeEdit, QtGui, qdatetimeedit.h)
-QT_CLASS_LIB(QDateEdit, QtGui, qdatetimeedit.h)
-QT_CLASS_LIB(QDial, QtGui, qdial.h)
-QT_CLASS_LIB(QDialogButtonBox, QtGui, qdialogbuttonbox.h)
-QT_CLASS_LIB(QDockWidget, QtGui, qdockwidget.h)
-QT_CLASS_LIB(QFocusFrame, QtGui, qfocusframe.h)
-QT_CLASS_LIB(QFontComboBox, QtGui, qfontcombobox.h)
-QT_CLASS_LIB(QFrame, QtGui, qframe.h)
-QT_CLASS_LIB(QGroupBox, QtGui, qgroupbox.h)
-QT_CLASS_LIB(QLabel, QtGui, qlabel.h)
-QT_CLASS_LIB(QLCDNumber, QtGui, qlcdnumber.h)
-QT_CLASS_LIB(QLineEdit, QtGui, qlineedit.h)
-QT_CLASS_LIB(QMacCocoaViewContainer, QtGui, qmaccocoaviewcontainer_mac.h)
-QT_CLASS_LIB(QMacNativeWidget, QtGui, qmacnativewidget_mac.h)
-QT_CLASS_LIB(QMainWindow, QtGui, qmainwindow.h)
-QT_CLASS_LIB(QMdiArea, QtGui, qmdiarea.h)
-QT_CLASS_LIB(QMdiSubWindow, QtGui, qmdisubwindow.h)
-QT_CLASS_LIB(QMenu, QtGui, qmenu.h)
-QT_CLASS_LIB(QMenuBar, QtGui, qmenubar.h)
-QT_CLASS_LIB(QMenuItem, QtGui, qmenudata.h)
-QT_CLASS_LIB(QPlainTextEdit, QtGui, qplaintextedit.h)
-QT_CLASS_LIB(QPlainTextDocumentLayout, QtGui, qplaintextedit.h)
-QT_CLASS_LIB(QPrintPreviewWidget, QtGui, qprintpreviewwidget.h)
-QT_CLASS_LIB(QProgressBar, QtGui, qprogressbar.h)
-QT_CLASS_LIB(QPushButton, QtGui, qpushbutton.h)
-QT_CLASS_LIB(QRadioButton, QtGui, qradiobutton.h)
-QT_CLASS_LIB(QRubberBand, QtGui, qrubberband.h)
-QT_CLASS_LIB(QScrollArea, QtGui, qscrollarea.h)
-QT_CLASS_LIB(QScrollBar, QtGui, qscrollbar.h)
-QT_CLASS_LIB(QSizeGrip, QtGui, qsizegrip.h)
-QT_CLASS_LIB(QSlider, QtGui, qslider.h)
-QT_CLASS_LIB(QSpinBox, QtGui, qspinbox.h)
-QT_CLASS_LIB(QDoubleSpinBox, QtGui, qspinbox.h)
-QT_CLASS_LIB(QSplashScreen, QtGui, qsplashscreen.h)
-QT_CLASS_LIB(QSplitter, QtGui, qsplitter.h)
-QT_CLASS_LIB(QSplitterHandle, QtGui, qsplitter.h)
-QT_CLASS_LIB(QStackedWidget, QtGui, qstackedwidget.h)
-QT_CLASS_LIB(QStatusBar, QtGui, qstatusbar.h)
-QT_CLASS_LIB(QTabBar, QtGui, qtabbar.h)
-QT_CLASS_LIB(QTabWidget, QtGui, qtabwidget.h)
-QT_CLASS_LIB(QTextBrowser, QtGui, qtextbrowser.h)
-QT_CLASS_LIB(QTextEdit, QtGui, qtextedit.h)
-QT_CLASS_LIB(QToolBar, QtGui, qtoolbar.h)
-QT_CLASS_LIB(QToolBox, QtGui, qtoolbox.h)
-QT_CLASS_LIB(QToolButton, QtGui, qtoolbutton.h)
-QT_CLASS_LIB(QValidator, QtGui, qvalidator.h)
-QT_CLASS_LIB(QIntValidator, QtGui, qvalidator.h)
-QT_CLASS_LIB(QDoubleValidator, QtGui, qvalidator.h)
-QT_CLASS_LIB(QRegExpValidator, QtGui, qvalidator.h)
-QT_CLASS_LIB(QWorkspace, QtGui, qworkspace.h)
-QT_CLASS_LIB(QGraphicsEffect, QtGui, qgraphicseffect.h)
-QT_CLASS_LIB(QGraphicsColorizeEffect, QtGui, qgraphicseffect.h)
-QT_CLASS_LIB(QGraphicsBlurEffect, QtGui, qgraphicseffect.h)
-QT_CLASS_LIB(QGraphicsDropShadowEffect, QtGui, qgraphicseffect.h)
-QT_CLASS_LIB(QGraphicsOpacityEffect, QtGui, qgraphicseffect.h)
-QT_CLASS_LIB(QAbstractItemDelegate, QtGui, qabstractitemdelegate.h)
-QT_CLASS_LIB(QAbstractItemView, QtGui, qabstractitemview.h)
-QT_CLASS_LIB(QAbstractProxyModel, QtGui, qabstractproxymodel.h)
-QT_CLASS_LIB(QColumnView, QtGui, qcolumnview.h)
-QT_CLASS_LIB(QDataWidgetMapper, QtGui, qdatawidgetmapper.h)
-QT_CLASS_LIB(QDirModel, QtGui, qdirmodel.h)
-QT_CLASS_LIB(QFileIconProvider, QtGui, qfileiconprovider.h)
-QT_CLASS_LIB(QHeaderView, QtGui, qheaderview.h)
-QT_CLASS_LIB(QIdentityProxyModel, QtGui, qidentityproxymodel.h)
-QT_CLASS_LIB(QItemDelegate, QtGui, qitemdelegate.h)
-QT_CLASS_LIB(QItemEditorCreatorBase, QtGui, qitemeditorfactory.h)
-QT_CLASS_LIB(QItemEditorCreator, QtGui, qitemeditorfactory.h)
-QT_CLASS_LIB(QStandardItemEditorCreator, QtGui, qitemeditorfactory.h)
-QT_CLASS_LIB(QItemEditorFactory, QtGui, qitemeditorfactory.h)
-QT_CLASS_LIB(QItemSelectionRange, QtGui, qitemselectionmodel.h)
-QT_CLASS_LIB(QItemSelectionModel, QtGui, qitemselectionmodel.h)
-QT_CLASS_LIB(QItemSelection, QtGui, qitemselectionmodel.h)
-QT_CLASS_LIB(QListView, QtGui, qlistview.h)
-QT_CLASS_LIB(QListWidgetItem, QtGui, qlistwidget.h)
-QT_CLASS_LIB(QListWidget, QtGui, qlistwidget.h)
-QT_CLASS_LIB(QProxyModel, QtGui, qproxymodel.h)
-QT_CLASS_LIB(QSortFilterProxyModel, QtGui, qsortfilterproxymodel.h)
-QT_CLASS_LIB(QStandardItem, QtGui, qstandarditemmodel.h)
-QT_CLASS_LIB(QStandardItemModel, QtGui, qstandarditemmodel.h)
-QT_CLASS_LIB(QStringListModel, QtGui, qstringlistmodel.h)
-QT_CLASS_LIB(QStyledItemDelegate, QtGui, qstyleditemdelegate.h)
-QT_CLASS_LIB(QTableView, QtGui, qtableview.h)
-QT_CLASS_LIB(QTableWidgetSelectionRange, QtGui, qtablewidget.h)
-QT_CLASS_LIB(QTableWidgetItem, QtGui, qtablewidget.h)
-QT_CLASS_LIB(QTableWidget, QtGui, qtablewidget.h)
-QT_CLASS_LIB(QTreeView, QtGui, qtreeview.h)
-QT_CLASS_LIB(QTreeWidgetItem, QtGui, qtreewidget.h)
-QT_CLASS_LIB(QTreeWidget, QtGui, qtreewidget.h)
-QT_CLASS_LIB(QTreeWidgetItemIterator, QtGui, qtreewidgetitemiterator.h)
-QT_CLASS_LIB(QGenericMatrix, QtGui, qgenericmatrix.h)
-QT_CLASS_LIB(QMatrix2x2, QtGui, qgenericmatrix.h)
-QT_CLASS_LIB(QMatrix2x3, QtGui, qgenericmatrix.h)
-QT_CLASS_LIB(QMatrix2x4, QtGui, qgenericmatrix.h)
-QT_CLASS_LIB(QMatrix3x2, QtGui, qgenericmatrix.h)
-QT_CLASS_LIB(QMatrix3x3, QtGui, qgenericmatrix.h)
-QT_CLASS_LIB(QMatrix3x4, QtGui, qgenericmatrix.h)
-QT_CLASS_LIB(QMatrix4x2, QtGui, qgenericmatrix.h)
-QT_CLASS_LIB(QMatrix4x3, QtGui, qgenericmatrix.h)
-QT_CLASS_LIB(QMatrix4x4, QtGui, qmatrix4x4.h)
-QT_CLASS_LIB(QQuaternion, QtGui, qquaternion.h)
-QT_CLASS_LIB(QVector2D, QtGui, qvector2d.h)
-QT_CLASS_LIB(QVector3D, QtGui, qvector3d.h)
-QT_CLASS_LIB(QVector4D, QtGui, qvector4d.h)
-QT_CLASS_LIB(QSymbianEvent, QtGui, qsymbianevent.h)
-QT_CLASS_LIB(QS60MainApplicationBase, QtGui, qs60mainapplication.h)
-QT_CLASS_LIB(QS60MainApplicationBase, QtGui, qs60mainapplication.h)
-QT_CLASS_LIB(QS60MainApplication, QtGui, qs60mainapplication.h)
-QT_CLASS_LIB(QS60MainAppUiBase, QtGui, qs60mainappui.h)
-QT_CLASS_LIB(QS60StubAknAppUiBase, QtGui, qs60mainappui.h)
-QT_CLASS_LIB(QS60StubMEikStatusPaneObserver, QtGui, qs60mainappui.h)
-QT_CLASS_LIB(QS60StubMAknTouchPaneObserver, QtGui, qs60mainappui.h)
-QT_CLASS_LIB(QS60StubAknAppUi, QtGui, qs60mainappui.h)
-QT_CLASS_LIB(QS60MainAppUiBase, QtGui, qs60mainappui.h)
-QT_CLASS_LIB(QS60MainAppUi, QtGui, qs60mainappui.h)
-QT_CLASS_LIB(QS60MainDocumentBase, QtGui, qs60maindocument.h)
-QT_CLASS_LIB(QS60MainDocumentBase, QtGui, qs60maindocument.h)
-QT_CLASS_LIB(QS60MainDocument, QtGui, qs60maindocument.h)
-QT_CLASS_LIB(QCopChannel, QtGui, qcopchannel_qws.h)
-QT_CLASS_LIB(QDecorationAction, QtGui, qdecoration_qws.h)
-QT_CLASS_LIB(QDecoration, QtGui, qdecoration_qws.h)
-QT_CLASS_LIB(QDecorationDefault, QtGui, qdecorationdefault_qws.h)
-QT_CLASS_LIB(QDecorationFactory, QtGui, qdecorationfactory_qws.h)
-QT_CLASS_LIB(QDecorationFactoryInterface, QtGui, qdecorationplugin_qws.h)
-QT_CLASS_LIB(QDecorationPlugin, QtGui, qdecorationplugin_qws.h)
-QT_CLASS_LIB(QDecorationStyled, QtGui, qdecorationstyled_qws.h)
-QT_CLASS_LIB(QDecorationWindows, QtGui, qdecorationwindows_qws.h)
-QT_CLASS_LIB(QDirectPainter, QtGui, qdirectpainter_qws.h)
-QT_CLASS_LIB(QWSKeyboardHandler, QtGui, qkbd_qws.h)
-QT_CLASS_LIB(QKbdDriverFactory, QtGui, qkbddriverfactory_qws.h)
-QT_CLASS_LIB(QWSKeyboardHandlerFactoryInterface, QtGui, qkbddriverplugin_qws.h)
-QT_CLASS_LIB(QKbdDriverPlugin, QtGui, qkbddriverplugin_qws.h)
-QT_CLASS_LIB(QWSIntKeyboardHandler, QtGui, qkbdintegrity_qws.h)
-QT_CLASS_LIB(QWSLinuxInputKeyboardHandler, QtGui, qkbdlinuxinput_qws.h)
-QT_CLASS_LIB(QWSQnxKeyboardHandler, QtGui, qkbdqnx_qws.h)
-QT_CLASS_LIB(QWSTtyKeyboardHandler, QtGui, qkbdtty_qws.h)
-QT_CLASS_LIB(QWSUmKeyboardHandler, QtGui, qkbdum_qws.h)
-QT_CLASS_LIB(QVFbKeyboardHandler, QtGui, qkbdvfb_qws.h)
-QT_CLASS_LIB(QWSPointerCalibrationData, QtGui, qmouse_qws.h)
-QT_CLASS_LIB(QWSMouseHandler, QtGui, qmouse_qws.h)
-QT_CLASS_LIB(QWSCalibratedMouseHandler, QtGui, qmouse_qws.h)
-QT_CLASS_LIB(QMouseDriverFactory, QtGui, qmousedriverfactory_qws.h)
-QT_CLASS_LIB(QWSMouseHandlerFactoryInterface, QtGui, qmousedriverplugin_qws.h)
-QT_CLASS_LIB(QMouseDriverPlugin, QtGui, qmousedriverplugin_qws.h)
-QT_CLASS_LIB(QIntMouseHandler, QtGui, qmouseintegrity_qws.h)
-QT_CLASS_LIB(QWSLinuxInputMouseHandler, QtGui, qmouselinuxinput_qws.h)
-QT_CLASS_LIB(QWSLinuxTPMouseHandler, QtGui, qmouselinuxtp_qws.h)
-QT_CLASS_LIB(QWSPcMouseHandler, QtGui, qmousepc_qws.h)
-QT_CLASS_LIB(QQnxMouseHandler, QtGui, qmouseqnx_qws.h)
-QT_CLASS_LIB(QWSTslibMouseHandler, QtGui, qmousetslib_qws.h)
-QT_CLASS_LIB(QVFbMouseHandler, QtGui, qmousevfb_qws.h)
-QT_CLASS_LIB(QScreenCursor, QtGui, qscreen_qws.h)
-QT_CLASS_LIB(QPoolEntry, QtGui, qscreen_qws.h)
-QT_CLASS_LIB(QScreen, QtGui, qscreen_qws.h)
-QT_CLASS_LIB(QScreenDriverFactory, QtGui, qscreendriverfactory_qws.h)
-QT_CLASS_LIB(QScreenDriverFactoryInterface, QtGui, qscreendriverplugin_qws.h)
-QT_CLASS_LIB(QScreenDriverPlugin, QtGui, qscreendriverplugin_qws.h)
-QT_CLASS_LIB(QIntfbScreen, QtGui, qscreenintegrityfb_qws.h)
-QT_CLASS_LIB(QLinuxFb_Shared, QtGui, qscreenlinuxfb_qws.h)
-QT_CLASS_LIB(QLinuxFbScreen, QtGui, qscreenlinuxfb_qws.h)
-QT_CLASS_LIB(QProxyScreenCursor, QtGui, qscreenproxy_qws.h)
-QT_CLASS_LIB(QProxyScreen, QtGui, qscreenproxy_qws.h)
-QT_CLASS_LIB(QQnxScreen, QtGui, qscreenqnx_qws.h)
-QT_CLASS_LIB(QTransformedScreen, QtGui, qscreentransformed_qws.h)
-QT_CLASS_LIB(QVFbScreen, QtGui, qscreenvfb_qws.h)
-QT_CLASS_LIB(QWSSoundServer, QtGui, qsoundqss_qws.h)
-QT_CLASS_LIB(QWSSoundClient, QtGui, qsoundqss_qws.h)
-QT_CLASS_LIB(QWSSoundServerSocket, QtGui, qsoundqss_qws.h)
-QT_CLASS_LIB(QTransportAuth, QtGui, qtransportauth_qws.h)
-QT_CLASS_LIB(QAuthDevice, QtGui, qtransportauth_qws.h)
-QT_CLASS_LIB(QVFbHeader, QtGui, qvfbhdr.h)
-QT_CLASS_LIB(QVFbKeyData, QtGui, qvfbhdr.h)
-QT_CLASS_LIB(QWSInternalWindowInfo, QtGui, qwindowsystem_qws.h)
-QT_CLASS_LIB(QWSScreenSaver, QtGui, qwindowsystem_qws.h)
-QT_CLASS_LIB(QWSWindow, QtGui, qwindowsystem_qws.h)
-QT_CLASS_LIB(QWSSoundServer, QtGui, qwindowsystem_qws.h)
-QT_CLASS_LIB(QWSServer, QtGui, qwindowsystem_qws.h)
-QT_CLASS_LIB(QWSInputMethod, QtGui, qwindowsystem_qws.h)
-QT_CLASS_LIB(QWSCursorMap, QtGui, qwindowsystem_qws.h)
-QT_CLASS_LIB(QWSClient, QtGui, qwindowsystem_qws.h)
-QT_CLASS_LIB(QWSCursor, QtGui, qwscursor_qws.h)
-QT_CLASS_LIB(QWSWindowInfo, QtGui, qwsdisplay_qws.h)
-QT_CLASS_LIB(QWSDisplay, QtGui, qwsdisplay_qws.h)
-QT_CLASS_LIB(QWSEmbedWidget, QtGui, qwsembedwidget.h)
-QT_CLASS_LIB(QWSEvent, QtGui, qwsevent_qws.h)
-QT_CLASS_LIB(QWSManager, QtGui, qwsmanager_qws.h)
-QT_CLASS_LIB(QWSPropertyManager, QtGui, qwsproperty_qws.h)
-QT_CLASS_LIB(QWSProtocolItem, QtGui, qwsprotocolitem_qws.h)
-QT_CLASS_LIB(QWSSocket, QtGui, qwssocket_qws.h)
-QT_CLASS_LIB(QWSServerSocket, QtGui, qwssocket_qws.h)
-QT_CLASS_LIB(QAbstractPageSetupDialog, QtGui, qabstractpagesetupdialog.h)
-QT_CLASS_LIB(QAbstractPrintDialog, QtGui, qabstractprintdialog.h)
-QT_CLASS_LIB(QColorDialog, QtGui, qcolordialog.h)
-QT_CLASS_LIB(QDialog, QtGui, qdialog.h)
-QT_CLASS_LIB(QErrorMessage, QtGui, qerrormessage.h)
-QT_CLASS_LIB(QFileDialog, QtGui, qfiledialog.h)
-QT_CLASS_LIB(QFileSystemModel, QtGui, qfilesystemmodel.h)
-QT_CLASS_LIB(QFontDialog, QtGui, qfontdialog.h)
-QT_CLASS_LIB(QInputDialog, QtGui, qinputdialog.h)
-QT_CLASS_LIB(QMessageBox, QtGui, qmessagebox.h)
-QT_CLASS_LIB(QPageSetupDialog, QtGui, qpagesetupdialog.h)
-QT_CLASS_LIB(QUnixPrintWidget, QtGui, qprintdialog.h)
-QT_CLASS_LIB(QPrintDialog, QtGui, qprintdialog.h)
-QT_CLASS_LIB(QPrintPreviewDialog, QtGui, qprintpreviewdialog.h)
-QT_CLASS_LIB(QProgressDialog, QtGui, qprogressdialog.h)
-QT_CLASS_LIB(QWizard, QtGui, qwizard.h)
-QT_CLASS_LIB(QWizardPage, QtGui, qwizard.h)
-QT_CLASS_LIB(QKeyEventTransition, QtGui, qkeyeventtransition.h)
-QT_CLASS_LIB(QMouseEventTransition, QtGui, qmouseeventtransition.h)
-QT_CLASS_LIB(QBrush, QtGui, qbrush.h)
-QT_CLASS_LIB(QBrushData, QtGui, qbrush.h)
-QT_CLASS_LIB(QGradientStop, QtGui, qbrush.h)
-QT_CLASS_LIB(QGradientStops, QtGui, qbrush.h)
-QT_CLASS_LIB(QGradient, QtGui, qbrush.h)
-QT_CLASS_LIB(QLinearGradient, QtGui, qbrush.h)
-QT_CLASS_LIB(QRadialGradient, QtGui, qbrush.h)
-QT_CLASS_LIB(QConicalGradient, QtGui, qbrush.h)
-QT_CLASS_LIB(QColor, QtGui, qcolor.h)
-QT_CLASS_LIB(QColormap, QtGui, qcolormap.h)
-QT_CLASS_LIB(QTileRules, QtGui, qdrawutil.h)
-QT_CLASS_LIB(QSymbianGraphicsSystemHelper, QtGui, qgraphicssystemhelper_symbian.h)
-QT_CLASS_LIB(QMatrix, QtGui, qmatrix.h)
-QT_CLASS_LIB(QPaintDevice, QtGui, qpaintdevice.h)
-QT_CLASS_LIB(QTextItem, QtGui, qpaintengine.h)
-QT_CLASS_LIB(QPaintEngine, QtGui, qpaintengine.h)
-QT_CLASS_LIB(QPaintEngineState, QtGui, qpaintengine.h)
-QT_CLASS_LIB(QPainter, QtGui, qpainter.h)
-QT_CLASS_LIB(QPainterPath, QtGui, qpainterpath.h)
-QT_CLASS_LIB(QPainterPathPrivate, QtGui, qpainterpath.h)
-QT_CLASS_LIB(QPainterPathStroker, QtGui, qpainterpath.h)
-QT_CLASS_LIB(QPen, QtGui, qpen.h)
-QT_CLASS_LIB(QPolygon, QtGui, qpolygon.h)
-QT_CLASS_LIB(QPolygonF, QtGui, qpolygon.h)
-QT_CLASS_LIB(QPrintEngine, QtGui, qprintengine.h)
-QT_CLASS_LIB(QPrinter, QtGui, qprinter.h)
-QT_CLASS_LIB(QPrinterInfo, QtGui, qprinterinfo.h)
-QT_CLASS_LIB(QRegion, QtGui, qregion.h)
-QT_CLASS_LIB(QRgb, QtGui, qrgb.h)
-QT_CLASS_LIB(QStylePainter, QtGui, qstylepainter.h)
-QT_CLASS_LIB(QTransform, QtGui, qtransform.h)
-QT_CLASS_LIB(QWMatrix, QtGui, qwmatrix.h)
-QT_CLASS_LIB(QCompleter, QtGui, qcompleter.h)
-QT_CLASS_LIB(QDesktopServices, QtGui, qdesktopservices.h)
-QT_CLASS_LIB(QSystemTrayIcon, QtGui, qsystemtrayicon.h)
-QT_CLASS_LIB(QUndoGroup, QtGui, qundogroup.h)
-QT_CLASS_LIB(QUndoCommand, QtGui, qundostack.h)
-QT_CLASS_LIB(QUndoStack, QtGui, qundostack.h)
-QT_CLASS_LIB(QUndoView, QtGui, qundoview.h)
-QT_CLASS_LIB(QGraphicsAnchor, QtGui, qgraphicsanchorlayout.h)
-QT_CLASS_LIB(QGraphicsAnchorLayout, QtGui, qgraphicsanchorlayout.h)
-QT_CLASS_LIB(QGraphicsGridLayout, QtGui, qgraphicsgridlayout.h)
-QT_CLASS_LIB(QGraphicsItem, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QGraphicsObject, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QAbstractGraphicsShapeItem, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QGraphicsPathItem, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QGraphicsRectItem, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QGraphicsEllipseItem, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QGraphicsPolygonItem, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QGraphicsLineItem, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QGraphicsPixmapItem, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QGraphicsTextItem, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QGraphicsSimpleTextItem, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QGraphicsItemGroup, QtGui, qgraphicsitem.h)
-QT_CLASS_LIB(QGraphicsItemAnimation, QtGui, qgraphicsitemanimation.h)
-QT_CLASS_LIB(QGraphicsLayout, QtGui, qgraphicslayout.h)
-QT_CLASS_LIB(QGraphicsLayoutItem, QtGui, qgraphicslayoutitem.h)
-QT_CLASS_LIB(QGraphicsLinearLayout, QtGui, qgraphicslinearlayout.h)
-QT_CLASS_LIB(QGraphicsProxyWidget, QtGui, qgraphicsproxywidget.h)
-QT_CLASS_LIB(QGraphicsScene, QtGui, qgraphicsscene.h)
-QT_CLASS_LIB(QGraphicsSceneEvent, QtGui, qgraphicssceneevent.h)
-QT_CLASS_LIB(QGraphicsSceneMouseEvent, QtGui, qgraphicssceneevent.h)
-QT_CLASS_LIB(QGraphicsSceneWheelEvent, QtGui, qgraphicssceneevent.h)
-QT_CLASS_LIB(QGraphicsSceneContextMenuEvent, QtGui, qgraphicssceneevent.h)
-QT_CLASS_LIB(QGraphicsSceneHoverEvent, QtGui, qgraphicssceneevent.h)
-QT_CLASS_LIB(QGraphicsSceneHelpEvent, QtGui, qgraphicssceneevent.h)
-QT_CLASS_LIB(QGraphicsSceneDragDropEvent, QtGui, qgraphicssceneevent.h)
-QT_CLASS_LIB(QGraphicsSceneResizeEvent, QtGui, qgraphicssceneevent.h)
-QT_CLASS_LIB(QGraphicsSceneMoveEvent, QtGui, qgraphicssceneevent.h)
-QT_CLASS_LIB(QGraphicsTransform, QtGui, qgraphicstransform.h)
-QT_CLASS_LIB(QGraphicsScale, QtGui, qgraphicstransform.h)
-QT_CLASS_LIB(QGraphicsRotation, QtGui, qgraphicstransform.h)
-QT_CLASS_LIB(QGraphicsView, QtGui, qgraphicsview.h)
-QT_CLASS_LIB(QGraphicsWidget, QtGui, qgraphicswidget.h)
-QT_CLASS_LIB(QAccessible, QtGui, qaccessible.h)
-QT_CLASS_LIB(QAccessibleInterface, QtGui, qaccessible.h)
-QT_CLASS_LIB(QAccessibleInterfaceEx, QtGui, qaccessible.h)
-QT_CLASS_LIB(QAccessibleEvent, QtGui, qaccessible.h)
-QT_CLASS_LIB(QAccessible2Interface, QtGui, qaccessible2.h)
-QT_CLASS_LIB(QAccessibleTextInterface, QtGui, qaccessible2.h)
-QT_CLASS_LIB(QAccessibleEditableTextInterface, QtGui, qaccessible2.h)
-QT_CLASS_LIB(QAccessibleSimpleEditableTextInterface, QtGui, qaccessible2.h)
-QT_CLASS_LIB(QAccessibleValueInterface, QtGui, qaccessible2.h)
-QT_CLASS_LIB(QAccessibleTableInterface, QtGui, qaccessible2.h)
-QT_CLASS_LIB(QAccessibleTable2CellInterface, QtGui, qaccessible2.h)
-QT_CLASS_LIB(QAccessibleTable2Interface, QtGui, qaccessible2.h)
-QT_CLASS_LIB(QAccessibleActionInterface, QtGui, qaccessible2.h)
-QT_CLASS_LIB(QAccessibleImageInterface, QtGui, qaccessible2.h)
-QT_CLASS_LIB(QAccessibleBridge, QtGui, qaccessiblebridge.h)
-QT_CLASS_LIB(QAccessibleBridgeFactoryInterface, QtGui, qaccessiblebridge.h)
-QT_CLASS_LIB(QAccessibleBridgePlugin, QtGui, qaccessiblebridge.h)
-QT_CLASS_LIB(QAccessibleObject, QtGui, qaccessibleobject.h)
-QT_CLASS_LIB(QAccessibleObjectEx, QtGui, qaccessibleobject.h)
-QT_CLASS_LIB(QAccessibleApplication, QtGui, qaccessibleobject.h)
-QT_CLASS_LIB(QAccessibleFactoryInterface, QtGui, qaccessibleplugin.h)
-QT_CLASS_LIB(QAccessiblePlugin, QtGui, qaccessibleplugin.h)
-QT_CLASS_LIB(QAccessibleWidget, QtGui, qaccessiblewidget.h)
-QT_CLASS_LIB(QAccessibleWidgetEx, QtGui, qaccessiblewidget.h)
-QT_CLASS_LIB(QCDEStyle, QtGui, qcdestyle.h)
-QT_CLASS_LIB(QCleanlooksStyle, QtGui, qcleanlooksstyle.h)
-QT_CLASS_LIB(QCommonStyle, QtGui, qcommonstyle.h)
-QT_CLASS_LIB(QGtkStyle, QtGui, qgtkstyle.h)
-QT_CLASS_LIB(QMacStyle, QtGui, qmacstyle_mac.h)
-QT_CLASS_LIB(QMotifStyle, QtGui, qmotifstyle.h)
-QT_CLASS_LIB(QPlastiqueStyle, QtGui, qplastiquestyle.h)
-QT_CLASS_LIB(QProxyStyle, QtGui, qproxystyle.h)
-QT_CLASS_LIB(QS60Style, QtGui, qs60style.h)
-QT_CLASS_LIB(QStyle, QtGui, qstyle.h)
-QT_CLASS_LIB(QStyleFactory, QtGui, qstylefactory.h)
-QT_CLASS_LIB(QStyleOption, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionFocusRect, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionFrame, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionFrameV2, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionFrameV3, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionTabWidgetFrame, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionTabWidgetFrameV2, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionTabBarBase, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionTabBarBaseV2, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionHeader, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionButton, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionTab, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionTabV2, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionTabV3, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionToolBar, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionProgressBar, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionProgressBarV2, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionMenuItem, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionQ3ListViewItem, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionQ3DockWindow, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionDockWidget, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionDockWidgetV2, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionViewItem, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionViewItemV2, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionViewItemV3, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionViewItemV4, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionToolBox, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionToolBoxV2, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionRubberBand, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionComplex, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionSlider, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionSpinBox, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionQ3ListView, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionToolButton, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionComboBox, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionTitleBar, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionGroupBox, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionSizeGrip, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleOptionGraphicsItem, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleHintReturn, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleHintReturnMask, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleHintReturnVariant, QtGui, qstyleoption.h)
-QT_CLASS_LIB(QStyleFactoryInterface, QtGui, qstyleplugin.h)
-QT_CLASS_LIB(QStylePlugin, QtGui, qstyleplugin.h)
-QT_CLASS_LIB(QWindowsCEStyle, QtGui, qwindowscestyle.h)
-QT_CLASS_LIB(QWindowsMobileStyle, QtGui, qwindowsmobilestyle.h)
-QT_CLASS_LIB(QWindowsStyle, QtGui, qwindowsstyle.h)
-QT_CLASS_LIB(QWindowsVistaStyle, QtGui, qwindowsvistastyle.h)
-QT_CLASS_LIB(QWindowsXPStyle, QtGui, qwindowsxpstyle.h)
-QT_CLASS_LIB(QFontEngineInfo, QtGui, qabstractfontengine_qws.h)
-QT_CLASS_LIB(QFontEngineFactoryInterface, QtGui, qabstractfontengine_qws.h)
-QT_CLASS_LIB(QFontEnginePlugin, QtGui, qabstractfontengine_qws.h)
-QT_CLASS_LIB(QAbstractFontEngine, QtGui, qabstractfontengine_qws.h)
-QT_CLASS_LIB(QAbstractTextDocumentLayout, QtGui, qabstracttextdocumentlayout.h)
-QT_CLASS_LIB(QTextObjectInterface, QtGui, qabstracttextdocumentlayout.h)
-QT_CLASS_LIB(QFont, QtGui, qfont.h)
-QT_CLASS_LIB(QFontDatabase, QtGui, qfontdatabase.h)
-QT_CLASS_LIB(QFontInfo, QtGui, qfontinfo.h)
-QT_CLASS_LIB(QFontMetrics, QtGui, qfontmetrics.h)
-QT_CLASS_LIB(QFontMetricsF, QtGui, qfontmetrics.h)
-QT_CLASS_LIB(QGlyphRun, QtGui, qglyphrun.h)
-QT_CLASS_LIB(QSupportedWritingSystems, QtGui, qplatformfontdatabase_qpa.h)
-QT_CLASS_LIB(QPlatformFontDatabase, QtGui, qplatformfontdatabase_qpa.h)
-QT_CLASS_LIB(QRawFont, QtGui, qrawfont.h)
-QT_CLASS_LIB(QStaticText, QtGui, qstatictext.h)
-QT_CLASS_LIB(QSyntaxHighlighter, QtGui, qsyntaxhighlighter.h)
-QT_CLASS_LIB(QTextCursor, QtGui, qtextcursor.h)
-QT_CLASS_LIB(QAbstractUndoItem, QtGui, qtextdocument.h)
-QT_CLASS_LIB(QTextDocument, QtGui, qtextdocument.h)
-QT_CLASS_LIB(QTextDocumentFragment, QtGui, qtextdocumentfragment.h)
-QT_CLASS_LIB(QTextDocumentWriter, QtGui, qtextdocumentwriter.h)
-QT_CLASS_LIB(QTextLength, QtGui, qtextformat.h)
-QT_CLASS_LIB(QTextFormat, QtGui, qtextformat.h)
-QT_CLASS_LIB(QTextCharFormat, QtGui, qtextformat.h)
-QT_CLASS_LIB(QTextBlockFormat, QtGui, qtextformat.h)
-QT_CLASS_LIB(QTextListFormat, QtGui, qtextformat.h)
-QT_CLASS_LIB(QTextImageFormat, QtGui, qtextformat.h)
-QT_CLASS_LIB(QTextFrameFormat, QtGui, qtextformat.h)
-QT_CLASS_LIB(QTextTableFormat, QtGui, qtextformat.h)
-QT_CLASS_LIB(QTextTableCellFormat, QtGui, qtextformat.h)
-QT_CLASS_LIB(QTextInlineObject, QtGui, qtextlayout.h)
-QT_CLASS_LIB(QTextLayout, QtGui, qtextlayout.h)
-QT_CLASS_LIB(QTextLine, QtGui, qtextlayout.h)
-QT_CLASS_LIB(QTextList, QtGui, qtextlist.h)
-QT_CLASS_LIB(QTextObject, QtGui, qtextobject.h)
-QT_CLASS_LIB(QTextBlockGroup, QtGui, qtextobject.h)
-QT_CLASS_LIB(QTextFrameLayoutData, QtGui, qtextobject.h)
-QT_CLASS_LIB(QTextFrame, QtGui, qtextobject.h)
-QT_CLASS_LIB(QTextBlockUserData, QtGui, qtextobject.h)
-QT_CLASS_LIB(QTextBlock, QtGui, qtextobject.h)
-QT_CLASS_LIB(QTextFragment, QtGui, qtextobject.h)
-QT_CLASS_LIB(QTextOption, QtGui, qtextoption.h)
-QT_CLASS_LIB(QTextTableCell, QtGui, qtexttable.h)
-QT_CLASS_LIB(QTextTable, QtGui, qtexttable.h)
-QT_CLASS_LIB(QBitmap, QtGui, qbitmap.h)
-QT_CLASS_LIB(QIcon, QtGui, qicon.h)
-QT_CLASS_LIB(QIconSet, QtGui, qicon.h)
-QT_CLASS_LIB(QIconEngine, QtGui, qiconengine.h)
-QT_CLASS_LIB(QIconEngineV2, QtGui, qiconengine.h)
-QT_CLASS_LIB(QIconEngineFactoryInterface, QtGui, qiconengineplugin.h)
-QT_CLASS_LIB(QIconEnginePlugin, QtGui, qiconengineplugin.h)
-QT_CLASS_LIB(QIconEngineFactoryInterfaceV2, QtGui, qiconengineplugin.h)
-QT_CLASS_LIB(QIconEnginePluginV2, QtGui, qiconengineplugin.h)
-QT_CLASS_LIB(QImageTextKeyLang, QtGui, qimage.h)
-QT_CLASS_LIB(QImage, QtGui, qimage.h)
-QT_CLASS_LIB(QImageIOHandler, QtGui, qimageiohandler.h)
-QT_CLASS_LIB(QImageIOHandlerFactoryInterface, QtGui, qimageiohandler.h)
-QT_CLASS_LIB(QImageIOPlugin, QtGui, qimageiohandler.h)
-QT_CLASS_LIB(QImageReader, QtGui, qimagereader.h)
-QT_CLASS_LIB(QImageWriter, QtGui, qimagewriter.h)
-QT_CLASS_LIB(QMovie, QtGui, qmovie.h)
-QT_CLASS_LIB(QPicture, QtGui, qpicture.h)
-QT_CLASS_LIB(QPictureIO, QtGui, qpicture.h)
-QT_CLASS_LIB(QPictureFormatInterface, QtGui, qpictureformatplugin.h)
-QT_CLASS_LIB(QPictureFormatPlugin, QtGui, qpictureformatplugin.h)
-QT_CLASS_LIB(QPixmap, QtGui, qpixmap.h)
-QT_CLASS_LIB(QPixmapCache, QtGui, qpixmapcache.h)
-QT_CLASS_LIB(QScriptEngineDebugger, QtScriptTools, qscriptenginedebugger.h)
-QT_CLASS_LIB(QUiLoader, QtUiTools, quiloader.h)
-QT_CLASS_LIB(QDesignerActionEditorInterface, QtDesigner, abstractactioneditor.h)
-QT_CLASS_LIB(QDesignerBrushManagerInterface, QtDesigner, abstractbrushmanager.h)
-QT_CLASS_LIB(QDesignerDnDItemInterface, QtDesigner, abstractdnditem.h)
-QT_CLASS_LIB(QDesignerFormEditorInterface, QtDesigner, abstractformeditor.h)
-QT_CLASS_LIB(QDesignerFormEditorPluginInterface, QtDesigner, abstractformeditorplugin.h)
-QT_CLASS_LIB(QDesignerFormWindowInterface, QtDesigner, abstractformwindow.h)
-QT_CLASS_LIB(QDesignerFormWindowCursorInterface, QtDesigner, abstractformwindowcursor.h)
-QT_CLASS_LIB(QDesignerFormWindowManagerInterface, QtDesigner, abstractformwindowmanager.h)
-QT_CLASS_LIB(QDesignerFormWindowToolInterface, QtDesigner, abstractformwindowtool.h)
-QT_CLASS_LIB(QDesignerIconCacheInterface, QtDesigner, abstracticoncache.h)
-QT_CLASS_LIB(QDesignerIntegrationInterface, QtDesigner, abstractintegration.h)
-QT_CLASS_LIB(QDesignerLanguageExtension, QtDesigner, abstractlanguage.h)
-QT_CLASS_LIB(QDesignerMetaDataBaseItemInterface, QtDesigner, abstractmetadatabase.h)
-QT_CLASS_LIB(QDesignerMetaDataBaseInterface, QtDesigner, abstractmetadatabase.h)
-QT_CLASS_LIB(QDesignerObjectInspectorInterface, QtDesigner, abstractobjectinspector.h)
-QT_CLASS_LIB(QDesignerPromotionInterface, QtDesigner, abstractpromotioninterface.h)
-QT_CLASS_LIB(QDesignerPropertyEditorInterface, QtDesigner, abstractpropertyeditor.h)
-QT_CLASS_LIB(QDesignerResourceBrowserInterface, QtDesigner, abstractresourcebrowser.h)
-QT_CLASS_LIB(QDesignerWidgetBoxInterface, QtDesigner, abstractwidgetbox.h)
-QT_CLASS_LIB(QDesignerWidgetDataBaseItemInterface, QtDesigner, abstractwidgetdatabase.h)
-QT_CLASS_LIB(QDesignerWidgetDataBaseInterface, QtDesigner, abstractwidgetdatabase.h)
-QT_CLASS_LIB(QDesignerWidgetFactoryInterface, QtDesigner, abstractwidgetfactory.h)
-QT_CLASS_LIB(QDesignerDynamicPropertySheetExtension, QtDesigner, dynamicpropertysheet.h)
-QT_CLASS_LIB(QDesignerExtraInfoExtension, QtDesigner, extrainfo.h)
-QT_CLASS_LIB(QDesignerLayoutDecorationExtension, QtDesigner, layoutdecoration.h)
-QT_CLASS_LIB(QDesignerMemberSheetExtension, QtDesigner, membersheet.h)
-QT_CLASS_LIB(QDesignerPropertySheetExtension, QtDesigner, propertysheet.h)
-QT_CLASS_LIB(QDesignerTaskMenuExtension, QtDesigner, taskmenu.h)
-QT_CLASS_LIB(QDesignerComponents, QtDesigner, qdesigner_components.h)
-QT_CLASS_LIB(QExtensionFactory, QtDesigner, default_extensionfactory.h)
-QT_CLASS_LIB(QAbstractExtensionFactory, QtDesigner, extension.h)
-QT_CLASS_LIB(QAbstractExtensionManager, QtDesigner, extension.h)
-QT_CLASS_LIB(QExtensionManager, QtDesigner, qextensionmanager.h)
-QT_CLASS_LIB(QAbstractFormBuilder, QtDesigner, abstractformbuilder.h)
-QT_CLASS_LIB(QDesignerContainerExtension, QtDesigner, container.h)
-QT_CLASS_LIB(QDesignerCustomWidgetInterface, QtDesigner, customwidget.h)
-QT_CLASS_LIB(QDesignerCustomWidgetCollectionInterface, QtDesigner, customwidget.h)
-QT_CLASS_LIB(QFormBuilder, QtDesigner, formbuilder.h)
-QT_CLASS_LIB(QDesignerExportWidget, QtDesigner, qdesignerexportwidget.h)
-QT_CLASS_LIB(Phonon::AbstractAudioOutput, phonon, abstractaudiooutput.h)
-QT_CLASS_LIB(Phonon::AbstractMediaStream, phonon, abstractmediastream.h)
-QT_CLASS_LIB(Phonon::AbstractVideoOutput, phonon, abstractvideooutput.h)
-QT_CLASS_LIB(Phonon::AddonInterface, phonon, addoninterface.h)
-QT_CLASS_LIB(Phonon::AudioDataOutput, phonon, audiodataoutput.h)
-QT_CLASS_LIB(Phonon::AudioDataOutputInterface, phonon, audiodataoutputinterface.h)
-QT_CLASS_LIB(Phonon::AudioOutput, phonon, audiooutput.h)
-QT_CLASS_LIB(Phonon::AudioOutputInterface40, phonon, audiooutputinterface.h)
-QT_CLASS_LIB(Phonon::AudioOutputInterface42, phonon, audiooutputinterface.h)
-QT_CLASS_LIB(Phonon::AudioOutputInterface, phonon, audiooutputinterface.h)
-QT_CLASS_LIB(Phonon::AudioOutputInterface, phonon, audiooutputinterface.h)
-QT_CLASS_LIB(Phonon::BackendCapabilities, phonon, backendcapabilities.h)
-QT_CLASS_LIB(Phonon::BackendInterface, phonon, backendinterface.h)
-QT_CLASS_LIB(Phonon::Effect, phonon, effect.h)
-QT_CLASS_LIB(Phonon::EffectInterface, phonon, effectinterface.h)
-QT_CLASS_LIB(Phonon::EffectParameter, phonon, effectparameter.h)
-QT_CLASS_LIB(Phonon::EffectWidget, phonon, effectwidget.h)
-QT_CLASS_LIB(Phonon::GlobalConfig, phonon, globalconfig.h)
-QT_CLASS_LIB(Phonon::MediaController, phonon, mediacontroller.h)
-QT_CLASS_LIB(Phonon::MediaNode, phonon, medianode.h)
-QT_CLASS_LIB(Phonon::MediaObject, phonon, mediaobject.h)
-QT_CLASS_LIB(Phonon::MediaObjectInterface, phonon, mediaobjectinterface.h)
-QT_CLASS_LIB(Phonon::MediaSource, phonon, mediasource.h)
-QT_CLASS_LIB(Phonon::ObjectDescriptionData, phonon, objectdescription.h)
-QT_CLASS_LIB(Phonon::ObjectDescription, phonon, objectdescription.h)
-QT_CLASS_LIB(Phonon::AudioOutputDevice, phonon, objectdescription.h)
-QT_CLASS_LIB(Phonon::AudioCaptureDevice, phonon, objectdescription.h)
-QT_CLASS_LIB(Phonon::EffectDescription, phonon, objectdescription.h)
-QT_CLASS_LIB(Phonon::AudioChannelDescription, phonon, objectdescription.h)
-QT_CLASS_LIB(Phonon::SubtitleDescription, phonon, objectdescription.h)
-QT_CLASS_LIB(Phonon::ObjectDescriptionModelData, phonon, objectdescriptionmodel.h)
-QT_CLASS_LIB(Phonon::ObjectDescriptionModel, phonon, objectdescriptionmodel.h)
-QT_CLASS_LIB(Phonon::AudioOutputDeviceModel, phonon, objectdescriptionmodel.h)
-QT_CLASS_LIB(Phonon::AudioCaptureDeviceModel, phonon, objectdescriptionmodel.h)
-QT_CLASS_LIB(Phonon::EffectDescriptionModel, phonon, objectdescriptionmodel.h)
-QT_CLASS_LIB(Phonon::AudioChannelDescriptionModel, phonon, objectdescriptionmodel.h)
-QT_CLASS_LIB(Phonon::SubtitleDescriptionModel, phonon, objectdescriptionmodel.h)
-QT_CLASS_LIB(Phonon::Path, phonon, path.h)
-QT_CLASS_LIB(Phonon::Global, phonon, phononnamespace.h)
-QT_CLASS_LIB(Phonon::PlatformPlugin, phonon, platformplugin.h)
-QT_CLASS_LIB(Phonon::PulseSupport, phonon, pulsesupport.h)
-QT_CLASS_LIB(Phonon::SeekSlider, phonon, seekslider.h)
-QT_CLASS_LIB(Phonon::StreamInterface, phonon, streaminterface.h)
-QT_CLASS_LIB(Phonon::VideoPlayer, phonon, videoplayer.h)
-QT_CLASS_LIB(Phonon::VideoWidget, phonon, videowidget.h)
-QT_CLASS_LIB(Phonon::VideoWidgetInterface, phonon, videowidgetinterface.h)
-QT_CLASS_LIB(Phonon::VideoWidgetInterface44, phonon, videowidgetinterface.h)
-QT_CLASS_LIB(Phonon::VideoWidgetInterfaceLatest, phonon, videowidgetinterface.h)
-QT_CLASS_LIB(Phonon::VideoWidgetInterfaceLatest, phonon, videowidgetinterface.h)
-QT_CLASS_LIB(Phonon::VolumeFaderEffect, phonon, volumefadereffect.h)
-QT_CLASS_LIB(Phonon::VolumeFaderInterface, phonon, volumefaderinterface.h)
-QT_CLASS_LIB(Phonon::VolumeSlider, phonon, volumeslider.h)
-QT_CLASS_LIB(QGraphicsSvgItem, QtSvg, qgraphicssvgitem.h)
-QT_CLASS_LIB(QSvgGenerator, QtSvg, qsvggenerator.h)
-QT_CLASS_LIB(QSvgRenderer, QtSvg, qsvgrenderer.h)
-QT_CLASS_LIB(QSvgWidget, QtSvg, qsvgwidget.h)
-QT_CLASS_LIB(Q3Action, Qt3Support, q3action.h)
-QT_CLASS_LIB(Q3ActionGroup, Qt3Support, q3action.h)
-QT_CLASS_LIB(Q3Button, Qt3Support, q3button.h)
-QT_CLASS_LIB(Q3ButtonGroup, Qt3Support, q3buttongroup.h)
-QT_CLASS_LIB(Q3VButtonGroup, Qt3Support, q3buttongroup.h)
-QT_CLASS_LIB(Q3HButtonGroup, Qt3Support, q3buttongroup.h)
-QT_CLASS_LIB(Q3ComboBox, Qt3Support, q3combobox.h)
-QT_CLASS_LIB(Q3DateTimeEditBase, Qt3Support, q3datetimeedit.h)
-QT_CLASS_LIB(Q3DateEdit, Qt3Support, q3datetimeedit.h)
-QT_CLASS_LIB(Q3TimeEdit, Qt3Support, q3datetimeedit.h)
-QT_CLASS_LIB(Q3DateTimeEdit, Qt3Support, q3datetimeedit.h)
-QT_CLASS_LIB(Q3DockAreaLayout, Qt3Support, q3dockarea.h)
-QT_CLASS_LIB(Q3DockArea, Qt3Support, q3dockarea.h)
-QT_CLASS_LIB(Q3DockWindow, Qt3Support, q3dockwindow.h)
-QT_CLASS_LIB(Q3Frame, Qt3Support, q3frame.h)
-QT_CLASS_LIB(Q3Grid, Qt3Support, q3grid.h)
-QT_CLASS_LIB(Q3GridView, Qt3Support, q3gridview.h)
-QT_CLASS_LIB(Q3GroupBox, Qt3Support, q3groupbox.h)
-QT_CLASS_LIB(Q3HBox, Qt3Support, q3hbox.h)
-QT_CLASS_LIB(Q3Header, Qt3Support, q3header.h)
-QT_CLASS_LIB(Q3HGroupBox, Qt3Support, q3hgroupbox.h)
-QT_CLASS_LIB(Q3MainWindow, Qt3Support, q3mainwindow.h)
-QT_CLASS_LIB(Q3PopupMenu, Qt3Support, q3popupmenu.h)
-QT_CLASS_LIB(Q3ProgressBar, Qt3Support, q3progressbar.h)
-QT_CLASS_LIB(Q3RangeControl, Qt3Support, q3rangecontrol.h)
-QT_CLASS_LIB(Q3SpinWidget, Qt3Support, q3rangecontrol.h)
-QT_CLASS_LIB(Q3ScrollView, Qt3Support, q3scrollview.h)
-QT_CLASS_LIB(Q3ToolBar, Qt3Support, q3toolbar.h)
-QT_CLASS_LIB(Q3VBox, Qt3Support, q3vbox.h)
-QT_CLASS_LIB(Q3VGroupBox, Qt3Support, q3vgroupbox.h)
-QT_CLASS_LIB(Q3WhatsThis, Qt3Support, q3whatsthis.h)
-QT_CLASS_LIB(Q3WidgetStack, Qt3Support, q3widgetstack.h)
-QT_CLASS_LIB(Q3Accel, Qt3Support, q3accel.h)
-QT_CLASS_LIB(Q3BoxLayout, Qt3Support, q3boxlayout.h)
-QT_CLASS_LIB(Q3HBoxLayout, Qt3Support, q3boxlayout.h)
-QT_CLASS_LIB(Q3VBoxLayout, Qt3Support, q3boxlayout.h)
-QT_CLASS_LIB(Q3DragObject, Qt3Support, q3dragobject.h)
-QT_CLASS_LIB(Q3StoredDrag, Qt3Support, q3dragobject.h)
-QT_CLASS_LIB(Q3TextDrag, Qt3Support, q3dragobject.h)
-QT_CLASS_LIB(Q3ImageDrag, Qt3Support, q3dragobject.h)
-QT_CLASS_LIB(Q3UriDrag, Qt3Support, q3dragobject.h)
-QT_CLASS_LIB(Q3ColorDrag, Qt3Support, q3dragobject.h)
-QT_CLASS_LIB(Q3DropSite, Qt3Support, q3dropsite.h)
-QT_CLASS_LIB(Q3GridLayout, Qt3Support, q3gridlayout.h)
-QT_CLASS_LIB(Q3MimeSourceFactory, Qt3Support, q3mimefactory.h)
-QT_CLASS_LIB(Q3PolygonScanner, Qt3Support, q3polygonscanner.h)
-QT_CLASS_LIB(Q3Process, Qt3Support, q3process.h)
-QT_CLASS_LIB(Q3AsciiCache, Qt3Support, q3asciicache.h)
-QT_CLASS_LIB(Q3AsciiCacheIterator, Qt3Support, q3asciicache.h)
-QT_CLASS_LIB(Q3AsciiDict, Qt3Support, q3asciidict.h)
-QT_CLASS_LIB(Q3AsciiDictIterator, Qt3Support, q3asciidict.h)
-QT_CLASS_LIB(Q3Cache, Qt3Support, q3cache.h)
-QT_CLASS_LIB(Q3CacheIterator, Qt3Support, q3cache.h)
-QT_CLASS_LIB(Q3CleanupHandler, Qt3Support, q3cleanuphandler.h)
-QT_CLASS_LIB(Q3SingleCleanupHandler, Qt3Support, q3cleanuphandler.h)
-QT_CLASS_LIB(Q3CString, Qt3Support, q3cstring.h)
-QT_CLASS_LIB(Q3DeepCopy, Qt3Support, q3deepcopy.h)
-QT_CLASS_LIB(Q3Dict, Qt3Support, q3dict.h)
-QT_CLASS_LIB(Q3DictIterator, Qt3Support, q3dict.h)
-QT_CLASS_LIB(Q3GArray, Qt3Support, q3garray.h)
-QT_CLASS_LIB(Q3GCache, Qt3Support, q3gcache.h)
-QT_CLASS_LIB(Q3GCacheIterator, Qt3Support, q3gcache.h)
-QT_CLASS_LIB(Q3BaseBucket, Qt3Support, q3gdict.h)
-QT_CLASS_LIB(Q3StringBucket, Qt3Support, q3gdict.h)
-QT_CLASS_LIB(Q3AsciiBucket, Qt3Support, q3gdict.h)
-QT_CLASS_LIB(Q3IntBucket, Qt3Support, q3gdict.h)
-QT_CLASS_LIB(Q3PtrBucket, Qt3Support, q3gdict.h)
-QT_CLASS_LIB(Q3GDict, Qt3Support, q3gdict.h)
-QT_CLASS_LIB(Q3GDictIterator, Qt3Support, q3gdict.h)
-QT_CLASS_LIB(Q3LNode, Qt3Support, q3glist.h)
-QT_CLASS_LIB(Q3GList, Qt3Support, q3glist.h)
-QT_CLASS_LIB(Q3GListIterator, Qt3Support, q3glist.h)
-QT_CLASS_LIB(Q3GListStdIterator, Qt3Support, q3glist.h)
-QT_CLASS_LIB(Q3GVector, Qt3Support, q3gvector.h)
-QT_CLASS_LIB(Q3IntCache, Qt3Support, q3intcache.h)
-QT_CLASS_LIB(Q3IntCacheIterator, Qt3Support, q3intcache.h)
-QT_CLASS_LIB(Q3IntDict, Qt3Support, q3intdict.h)
-QT_CLASS_LIB(Q3IntDictIterator, Qt3Support, q3intdict.h)
-QT_CLASS_LIB(Q3MemArray, Qt3Support, q3memarray.h)
-QT_CLASS_LIB(Q3ObjectDictionary, Qt3Support, q3objectdict.h)
-QT_CLASS_LIB(Q3PtrCollection, Qt3Support, q3ptrcollection.h)
-QT_CLASS_LIB(Q3PtrDict, Qt3Support, q3ptrdict.h)
-QT_CLASS_LIB(Q3PtrDictIterator, Qt3Support, q3ptrdict.h)
-QT_CLASS_LIB(Q3PtrListStdIterator, Qt3Support, q3ptrlist.h)
-QT_CLASS_LIB(Q3PtrList, Qt3Support, q3ptrlist.h)
-QT_CLASS_LIB(Q3PtrListIterator, Qt3Support, q3ptrlist.h)
-QT_CLASS_LIB(Q3PtrQueue, Qt3Support, q3ptrqueue.h)
-QT_CLASS_LIB(Q3PtrStack, Qt3Support, q3ptrstack.h)
-QT_CLASS_LIB(Q3PtrVector, Qt3Support, q3ptrvector.h)
-QT_CLASS_LIB(Q3Semaphore, Qt3Support, q3semaphore.h)
-QT_CLASS_LIB(Q3Shared, Qt3Support, q3shared.h)
-QT_CLASS_LIB(Q3Signal, Qt3Support, q3signal.h)
-QT_CLASS_LIB(Q3SortedList, Qt3Support, q3sortedlist.h)
-QT_CLASS_LIB(Q3StrListIterator, Qt3Support, q3strlist.h)
-QT_CLASS_LIB(Q3StrListIterator, Qt3Support, q3strlist.h)
-QT_CLASS_LIB(Q3StrList, Qt3Support, q3strlist.h)
-QT_CLASS_LIB(Q3StrIList, Qt3Support, q3strlist.h)
-QT_CLASS_LIB(Q3StrVec, Qt3Support, q3strvec.h)
-QT_CLASS_LIB(Q3StrIVec, Qt3Support, q3strvec.h)
-QT_CLASS_LIB(Q3ValueListIterator, Qt3Support, q3valuelist.h)
-QT_CLASS_LIB(Q3ValueListConstIterator, Qt3Support, q3valuelist.h)
-QT_CLASS_LIB(Q3ValueList, Qt3Support, q3valuelist.h)
-QT_CLASS_LIB(Q3ValueStack, Qt3Support, q3valuestack.h)
-QT_CLASS_LIB(Q3ValueVector, Qt3Support, q3valuevector.h)
-QT_CLASS_LIB(Q3IconDragItem, Qt3Support, q3iconview.h)
-QT_CLASS_LIB(Q3IconDrag, Qt3Support, q3iconview.h)
-QT_CLASS_LIB(Q3IconViewItem, Qt3Support, q3iconview.h)
-QT_CLASS_LIB(Q3IconView, Qt3Support, q3iconview.h)
-QT_CLASS_LIB(Q3ListBox, Qt3Support, q3listbox.h)
-QT_CLASS_LIB(Q3ListBoxItem, Qt3Support, q3listbox.h)
-QT_CLASS_LIB(Q3ListBoxText, Qt3Support, q3listbox.h)
-QT_CLASS_LIB(Q3ListBoxPixmap, Qt3Support, q3listbox.h)
-QT_CLASS_LIB(Q3ListViewItem, Qt3Support, q3listview.h)
-QT_CLASS_LIB(Q3ListView, Qt3Support, q3listview.h)
-QT_CLASS_LIB(Q3CheckListItem, Qt3Support, q3listview.h)
-QT_CLASS_LIB(Q3ListViewItemIterator, Qt3Support, q3listview.h)
-QT_CLASS_LIB(Q3TableSelection, Qt3Support, q3table.h)
-QT_CLASS_LIB(Q3TableItem, Qt3Support, q3table.h)
-QT_CLASS_LIB(Q3ComboTableItem, Qt3Support, q3table.h)
-QT_CLASS_LIB(Q3CheckTableItem, Qt3Support, q3table.h)
-QT_CLASS_LIB(Q3Table, Qt3Support, q3table.h)
-QT_CLASS_LIB(Q3Dns, Qt3Support, q3dns.h)
-QT_CLASS_LIB(Q3DnsSocket, Qt3Support, q3dns.h)
-QT_CLASS_LIB(Q3Ftp, Qt3Support, q3ftp.h)
-QT_CLASS_LIB(Q3HttpHeader, Qt3Support, q3http.h)
-QT_CLASS_LIB(Q3HttpResponseHeader, Qt3Support, q3http.h)
-QT_CLASS_LIB(Q3HttpRequestHeader, Qt3Support, q3http.h)
-QT_CLASS_LIB(Q3Http, Qt3Support, q3http.h)
-QT_CLASS_LIB(Q3LocalFs, Qt3Support, q3localfs.h)
-QT_CLASS_LIB(Q3NetworkProtocolFactoryBase, Qt3Support, q3networkprotocol.h)
-QT_CLASS_LIB(Q3NetworkProtocolFactory, Qt3Support, q3networkprotocol.h)
-QT_CLASS_LIB(Q3NetworkProtocolDict, Qt3Support, q3networkprotocol.h)
-QT_CLASS_LIB(Q3NetworkProtocol, Qt3Support, q3networkprotocol.h)
-QT_CLASS_LIB(Q3NetworkOperation, Qt3Support, q3networkprotocol.h)
-QT_CLASS_LIB(Q3ServerSocket, Qt3Support, q3serversocket.h)
-QT_CLASS_LIB(Q3Socket, Qt3Support, q3socket.h)
-QT_CLASS_LIB(Q3SocketDevice, Qt3Support, q3socketdevice.h)
-QT_CLASS_LIB(Q3Url, Qt3Support, q3url.h)
-QT_CLASS_LIB(Q3UrlOperator, Qt3Support, q3urloperator.h)
-QT_CLASS_LIB(Q3CanvasItemList, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasItem, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3Canvas, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasView, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasPixmap, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasPixmapArray, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasSprite, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasPolygonalItem, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasRectangle, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasPolygon, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasSpline, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasLine, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasEllipse, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3CanvasText, Qt3Support, q3canvas.h)
-QT_CLASS_LIB(Q3FileIconProvider, Qt3Support, q3filedialog.h)
-QT_CLASS_LIB(Q3FilePreview, Qt3Support, q3filedialog.h)
-QT_CLASS_LIB(Q3FileDialog, Qt3Support, q3filedialog.h)
-QT_CLASS_LIB(Q3ProgressDialog, Qt3Support, q3progressdialog.h)
-QT_CLASS_LIB(Q3TabDialog, Qt3Support, q3tabdialog.h)
-QT_CLASS_LIB(Q3Wizard, Qt3Support, q3wizard.h)
-QT_CLASS_LIB(Q3PaintDeviceMetrics, Qt3Support, q3paintdevicemetrics.h)
-QT_CLASS_LIB(Q3Painter, Qt3Support, q3painter.h)
-QT_CLASS_LIB(Q3Picture, Qt3Support, q3picture.h)
-QT_CLASS_LIB(Q3PointArray, Qt3Support, q3pointarray.h)
-QT_CLASS_LIB(Q3MultiLineEdit, Qt3Support, q3multilineedit.h)
-QT_CLASS_LIB(Q3SimpleRichText, Qt3Support, q3simplerichtext.h)
-QT_CLASS_LIB(Q3StyleSheetItem, Qt3Support, q3stylesheet.h)
-QT_CLASS_LIB(Q3StyleSheet, Qt3Support, q3stylesheet.h)
-QT_CLASS_LIB(Q3SyntaxHighlighter, Qt3Support, q3syntaxhighlighter.h)
-QT_CLASS_LIB(Q3TextBrowser, Qt3Support, q3textbrowser.h)
-QT_CLASS_LIB(Q3TextEditOptimPrivate, Qt3Support, q3textedit.h)
-QT_CLASS_LIB(Q3TextEdit, Qt3Support, q3textedit.h)
-QT_CLASS_LIB(Q3TextStream, Qt3Support, q3textstream.h)
-QT_CLASS_LIB(Q3TSFUNC, Qt3Support, q3textstream.h)
-QT_CLASS_LIB(Q3TextView, Qt3Support, q3textview.h)
-QT_CLASS_LIB(Q3DataBrowser, Qt3Support, q3databrowser.h)
-QT_CLASS_LIB(Q3DataTable, Qt3Support, q3datatable.h)
-QT_CLASS_LIB(Q3DataView, Qt3Support, q3dataview.h)
-QT_CLASS_LIB(Q3EditorFactory, Qt3Support, q3editorfactory.h)
-QT_CLASS_LIB(Q3SqlCursor, Qt3Support, q3sqlcursor.h)
-QT_CLASS_LIB(Q3SqlEditorFactory, Qt3Support, q3sqleditorfactory.h)
-QT_CLASS_LIB(Q3SqlFieldInfo, Qt3Support, q3sqlfieldinfo.h)
-QT_CLASS_LIB(Q3SqlForm, Qt3Support, q3sqlform.h)
-QT_CLASS_LIB(Q3SqlPropertyMap, Qt3Support, q3sqlpropertymap.h)
-QT_CLASS_LIB(Q3SqlFieldInfoList, Qt3Support, q3sqlrecordinfo.h)
-QT_CLASS_LIB(Q3SqlRecordInfo, Qt3Support, q3sqlrecordinfo.h)
-QT_CLASS_LIB(Q3SqlSelectCursor, Qt3Support, q3sqlselectcursor.h)
diff --git a/tools/assistant/lib/qhelpgenerator.cpp b/tools/assistant/lib/qhelpgenerator.cpp
index 6f1bd8a..d0b465e 100644
--- a/tools/assistant/lib/qhelpgenerator.cpp
+++ b/tools/assistant/lib/qhelpgenerator.cpp
@@ -380,9 +380,7 @@ bool QHelpGenerator::createTables()
d->query->exec(QLatin1String("INSERT INTO MetaDataTable VALUES('qchVersion', '1.0')"));
- d->query->prepare(QLatin1String("INSERT INTO MetaDataTable VALUES('CreationDate', ?)"));
- d->query->bindValue(0, QDateTime::currentDateTime().toString(Qt::ISODate));
- d->query->exec();
+ d->query->exec(QLatin1String("INSERT INTO MetaDataTable VALUES('CreationDate', '2012-12-20T12:00:00Z')"));
return true;
}
diff --git a/tools/assistant/tools/qcollectiongenerator/main.cpp b/tools/assistant/tools/qcollectiongenerator/main.cpp
index ef25ecf..b0305e4 100644
--- a/tools/assistant/tools/qcollectiongenerator/main.cpp
+++ b/tools/assistant/tools/qcollectiongenerator/main.cpp
@@ -521,7 +521,7 @@ int main(int argc, char *argv[])
CollectionConfiguration::setAddressBarVisible(helpEngine,
!config.hideAddressBar());
CollectionConfiguration::setCreationTime(helpEngine,
- QDateTime::currentDateTime().toTime_t());
+ QDateTime::fromString("2012-12-20T12:00:00Z", Qt::ISODate).toUTC().toTime_t());
CollectionConfiguration::setFullTextSearchFallbackEnabled(helpEngine,
config.fullTextSearchFallbackEnabled());
diff --git a/tools/assistant/tools/shared/collectionconfiguration.cpp b/tools/assistant/tools/shared/collectionconfiguration.cpp
index 352bb60..0ce182a 100644
--- a/tools/assistant/tools/shared/collectionconfiguration.cpp
+++ b/tools/assistant/tools/shared/collectionconfiguration.cpp
@@ -282,7 +282,7 @@ const QDateTime CollectionConfiguration::lastRegisterTime(const QHelpEngineCore
void CollectionConfiguration::updateLastRegisterTime(QHelpEngineCore &helpEngine)
{
- helpEngine.setCustomValue(LastRegisterTime, QDateTime::currentDateTime());
+ helpEngine.setCustomValue(LastRegisterTime, QDateTime::fromString("2012-12-20T12:00:00Z", Qt::ISODate).toUTC());
}
bool CollectionConfiguration::isNewer(const QHelpEngineCore &newer,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/qt4-x11.git
More information about the Reproducible-commits
mailing list