mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Unify/prettify Qt client headers style
This commit is contained in:
@@ -33,24 +33,26 @@ class PathButton: public QToolButton
|
||||
void setPath (const QString& path);
|
||||
const QString& path () const;
|
||||
|
||||
// QWidget
|
||||
virtual QSize sizeHint () const;
|
||||
|
||||
signals:
|
||||
void pathChanged (const QString& path);
|
||||
|
||||
protected:
|
||||
// QWidget
|
||||
virtual void paintEvent (QPaintEvent * event);
|
||||
|
||||
private slots:
|
||||
void onClicked ();
|
||||
void onFileSelected (const QString& path);
|
||||
|
||||
private:
|
||||
void updateAppearance ();
|
||||
|
||||
bool isDirMode () const;
|
||||
QString effectiveTitle () const;
|
||||
|
||||
private slots:
|
||||
void onClicked ();
|
||||
void onFileSelected (const QString& path);
|
||||
|
||||
private:
|
||||
Mode myMode;
|
||||
QString myTitle;
|
||||
|
||||
Reference in New Issue
Block a user