Display date in locale format
Add GetLocale(), GetDateFormat() and FormatDate()
This commit is contained in:
@@ -33,6 +33,7 @@ class ImportEngine;
|
||||
#include <controller/KissCount.hpp>
|
||||
|
||||
#include "view.hpp"
|
||||
#include "SupportedLanguages.hpp"
|
||||
|
||||
#include <qtranslator.h>
|
||||
#include <qtextcodec.h>
|
||||
@@ -73,7 +74,11 @@ public:
|
||||
void ShowPanel(KissPanel* panel);
|
||||
void NeedReload();
|
||||
|
||||
QLocale* GetLocale() {return _locale;}
|
||||
QString GetDateFormat();
|
||||
|
||||
QString _language;
|
||||
SupportedLanguages::language _curLanguage;
|
||||
|
||||
private slots:
|
||||
void OnButtonClicked(int id);
|
||||
|
Reference in New Issue
Block a user