mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
237acf1726
Fix "Started %n time(s)" phrase (remove space in "time (s)", add proper English translation for numeric forms).
38 lines
616 B
C++
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
|