mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Follow project coding style. Issue #2192.
This commit is contained in:
@@ -36,25 +36,25 @@ QT_BEGIN_NAMESPACE
|
||||
class QKeyEvent;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class LogListWidget : public QListWidget
|
||||
class LogListWidget: public QListWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit LogListWidget(int max_lines = 100, QWidget *parent = 0);
|
||||
explicit LogListWidget(int max_lines = 100, QWidget *parent = 0);
|
||||
|
||||
public slots:
|
||||
void appendLine(const QString &line);
|
||||
void appendLine(const QString &line);
|
||||
|
||||
protected slots:
|
||||
void copySelection();
|
||||
void clearLog();
|
||||
void copySelection();
|
||||
void clearLog();
|
||||
|
||||
protected:
|
||||
void keyPressEvent(QKeyEvent *event);
|
||||
void keyPressEvent(QKeyEvent *event);
|
||||
|
||||
private:
|
||||
int m_maxLines;
|
||||
int m_maxLines;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user