mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Fix statsdialog.* coding style
This commit is contained in:
parent
78d6b14fe8
commit
cb678a254d
2 changed files with 76 additions and 74 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Bittorrent Client using Qt4 and libtorrent.
|
||||
* Copyright (C) 2013 Nick Tiskov
|
||||
* Bittorrent Client using Qt and libtorrent.
|
||||
* Copyright (C) 2013 Nick Tiskov <daymansmail@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -24,8 +24,6 @@
|
|||
* modify file(s), you may extend this exception to your version of the file(s),
|
||||
* but you are not obligated to do so. If you do not wish to do so, delete this
|
||||
* exception statement from your version.
|
||||
*
|
||||
* Contact : daymansmail@gmail.com
|
||||
*/
|
||||
|
||||
#ifndef STATSDIALOG_H
|
||||
|
@ -34,23 +32,25 @@
|
|||
#include <QDialog>
|
||||
#include <QTimer>
|
||||
|
||||
namespace Ui {
|
||||
class StatsDialog;
|
||||
namespace Ui
|
||||
{
|
||||
class StatsDialog;
|
||||
}
|
||||
|
||||
class StatsDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
class StatsDialog: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit StatsDialog(QWidget *parent);
|
||||
~StatsDialog();
|
||||
~StatsDialog() override;
|
||||
|
||||
private slots:
|
||||
void updateUI();
|
||||
void update();
|
||||
|
||||
private:
|
||||
Ui::StatsDialog *ui;
|
||||
QTimer* t;
|
||||
Ui::StatsDialog *m_ui;
|
||||
QTimer *m_timer;
|
||||
};
|
||||
|
||||
#endif // STATSDIALOG_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue