diff options
Diffstat (limited to 'Swift/QtUI/QtNameWidget.h')
-rw-r--r-- | Swift/QtUI/QtNameWidget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/QtNameWidget.h b/Swift/QtUI/QtNameWidget.h index 52586b7..313108d 100644 --- a/Swift/QtUI/QtNameWidget.h +++ b/Swift/QtUI/QtNameWidget.h @@ -10,12 +10,13 @@ namespace Swift { class QtElidingLabel; + class QtSettingsProvider; class QtNameWidget : public QWidget { Q_OBJECT public: - QtNameWidget(QWidget *parent); + QtNameWidget(QtSettingsProvider* settings, QWidget *parent); void setNick(const QString& text); void setJID(const QString& jid); @@ -30,6 +31,7 @@ namespace Swift { ShowJID, }; + QtSettingsProvider* settings; Mode mode; QtElidingLabel* textLabel; QString jid; |