#include <QTranslator>
#include <QUrl>
+#include <TimeStamp>
+#include <TZFile>
+
#include "configdialog.h"
#include "debug.h"
#include "hmac.h"
QMessageBox mb;
mb.setIconPixmap(QPixmap(":/icon.png"));
mb.setWindowTitle(tr("MagicSmoke Version Information"));
+ TimeZoneLib::TZFile tzf=TimeStamp::defaultZoneFile();
mb.setText(tr( "<h3>MagicSmoke Version %3</h3>"
"<table>"
"<tr><td>Repository:<td>%1</tr>"
"<tr><td>PACK Library:<td>%9<br/>%10</tr>"
"<tr><td>Qt:<td>%11</tr>"
"<tr><td>ELAM:<td>%12</tr>"
- "<tr><td>Time Zone Library:<td>%13</tr>"
- "<tr><td>Time Zone Data:<td>%14</tr>"
+ "<tr><td>Time Zone Default:<td>%13 in %14<br/>version %15</tr>"
+ "<tr><td>Time Zone Built-In:<td>%16</tr>"
"</table>"
)
.arg(htmlize(MSInterface::staticVersionInfo(WOb::VersionRootURL))) // %1
.arg(htmlize(MSInterface::staticVersionInfo(WOb::VersionAuthor))) //&6
.arg(htmlize(MSInterface::staticWocVersionInfo(WOb::VersionRootURL))) //%7
.arg(htmlize(MSInterface::staticWocVersionInfo(WOb::VersionNumber)))
- .arg(htmlize(WInterface::staticLibraryVersionInfo(WOb::VersionRootURL))) //%0
+ .arg(htmlize(WInterface::staticLibraryVersionInfo(WOb::VersionRootURL))) //%9
.arg(htmlize(WInterface::staticLibraryVersionInfo(WOb::VersionNumber)))
.arg(htmlize(QT_VERSION_STR)) //%11
.arg(htmlize(ELAM::versionInfo())) //%12
- .arg("??") //%13
- .arg("??") //%14
+ .arg(tzf.name()) //%13
+ .arg(tzf.dirName())
+ .arg(tzf.version())
+ .arg(TimeZoneLib::TZFile::builtinVersion()) //%16
);
mb.setStandardButtons(QMessageBox::Ok);
mb.exec();