preparing gui for maemo version; running astyle

This commit is contained in:
floty
2012-01-24 20:48:38 +00:00
parent 2ed4410da6
commit d88182e865
42 changed files with 12826 additions and 198 deletions
@@ -18,7 +18,11 @@
#ifndef MANUALBLINDSORDERDIALOGIMPL_H
#define MANUALBLINDSORDERDIALOGIMPL_H
#ifdef GUI_800x480
#include "ui_manualblindsorderdialog_800x480.h"
#else
#include "ui_manualblindsorderdialog.h"
#endif
#include <QtCore>
#include <QtGui>
@@ -18,7 +18,11 @@
#ifndef SELECTAVATARDIALOGIMPL_H
#define SELECTAVATARDIALOGIMPL_H
#ifdef GUI_800x480
#include "ui_selectavatardialog_800x480.h"
#else
#include "ui_selectavatardialog.h"
#endif
#include <QtCore>
#include <QtGui>
@@ -899,9 +899,9 @@ void settingsDialogImpl::setLogDir()
lineEdit_logDir->setText(dir);
refreshLogFileList();
QMessageBox::information(this, tr("Settings Information"),
tr("You have changed the log file directory.\n"
"Please restart PokerTH to use the new directory for the log files!"),
QMessageBox::Ok);
tr("You have changed the log file directory.\n"
"Please restart PokerTH to use the new directory for the log files!"),
QMessageBox::Ok);
} else {
QMessageBox::warning(this, tr("Settings Error"),
tr("The log file directory doesn't exist.\n"
@@ -1356,8 +1356,8 @@ void settingsDialogImpl::exportLogToHtml()
if(selectedItem) {
QFileInfo fi(selectedItem->text(0));
QString fileName = QFileDialog::getSaveFileName(this, tr("Export PokerTH log file to HTML"),
QDir::homePath()+"/"+fi.baseName()+".html",
tr("PokerTH HTML log (*.html)"));
QDir::homePath()+"/"+fi.baseName()+".html",
tr("PokerTH HTML log (*.html)"));
if(!fileName.isEmpty()) {
myGuiLog->exportLogPdbToHtml(selectedItem->data(0, Qt::UserRole).toString(),fileName);
@@ -18,7 +18,11 @@
#ifndef SETTINGSDIALOGIMPL_H
#define SETTINGSDIALOGIMPL_H
#ifdef GUI_800x480
#include "ui_settingsdialog_800x480.h"
#else
#include "ui_settingsdialog.h"
#endif
#include "selectavatardialogimpl.h"
#include "manualblindsorderdialogimpl.h"