Remove unnecessary code
This commit is contained in:
parent
58bf5c9c8e
commit
b5bb3bb6e5
@ -329,13 +329,6 @@ QStringList Locale::currencyCodeList() const
|
||||
return m_locale->currencyCodeList();
|
||||
}
|
||||
|
||||
/* Just copy in for now to keep diff clean, remove later
|
||||
QString Locale::formatDateTime(const Locale *locale, const QDateTime &dateTime, Locale::DateFormat format,
|
||||
bool includeSeconds, int daysTo, int secsTo)
|
||||
{
|
||||
}
|
||||
*/
|
||||
|
||||
QString Locale::formatDateTime(const QDateTime &dateTime, Locale::DateFormat format, bool includeSeconds) const
|
||||
{
|
||||
return m_locale->formatDateTime(dateTime, (KLocale::DateFormat)format, (KLocale::DateFormat)includeSeconds);
|
||||
|
@ -21,19 +21,14 @@
|
||||
#define LOCALE_H
|
||||
|
||||
#include <QObject>
|
||||
#include <QVariant>
|
||||
|
||||
#include <KLocale>
|
||||
|
||||
class QString;
|
||||
class QStringList; //TODO will the QStringList invokable methods work in QML?
|
||||
class QTextCodec;
|
||||
class QDate;
|
||||
class QTime;
|
||||
class QDateTime;
|
||||
|
||||
class KCalendarSystem;//TODO make it calendarSystem???
|
||||
|
||||
/**
|
||||
* \file klocale.h
|
||||
*/
|
||||
@ -902,7 +897,6 @@ public:
|
||||
*
|
||||
* @return the current calendar system instance
|
||||
*/
|
||||
//const KCalendarSystem * calendar() const;
|
||||
|
||||
/**
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user