1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00
transmission/qt/stats-dialog.h
Mike Gelfand 237acf1726 Rework statistics dialog in Qt client to load from .ui
Fix "Started %n time(s)" phrase (remove space in "time (s)", add proper
English translation for numeric forms).
2014-12-21 13:57:15 +00:00

38 lines
616 B
C++

/*
* This file Copyright (C) 2009-2014 Mnemosyne LLC
*
* It may be used under the GNU GPL versions 2 or 3
* or any future license endorsed by Mnemosyne LLC.
*
* $Id$
*/
#ifndef STATS_DIALOG_H
#define STATS_DIALOG_H
#include <QDialog>
#include "ui_stats-dialog.h"
class Session;
class QTimer;
class StatsDialog: public QDialog
{
Q_OBJECT
private slots:
void updateStats ();
public:
StatsDialog (Session&, QWidget * parent = 0);
~StatsDialog ();
virtual void setVisible (bool visible);
private:
Session & mySession;
QTimer * myTimer;
Ui::StatsDialog ui;
};
#endif