diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-08-16 15:14:56 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-08-16 15:14:56 (GMT) |
commit | 6bb73fb2d367a95cc1df2addf7dd5477b643c2e8 (patch) | |
tree | f6c42a9de8ff3800c9ffe1e44b92bff1e6eda7e6 /Swift/QtUI/QtMainWindow.h | |
parent | 6d64d22bdc18a8b4d3ef1ae7087f657de6c9abd9 (diff) | |
download | swift-contrib-6bb73fb2d367a95cc1df2addf7dd5477b643c2e8.zip swift-contrib-6bb73fb2d367a95cc1df2addf7dd5477b643c2e8.tar.bz2 |
Adding in a button to the roster for 'Add Contact'
Diffstat (limited to 'Swift/QtUI/QtMainWindow.h')
-rw-r--r-- | Swift/QtUI/QtMainWindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Swift/QtUI/QtMainWindow.h b/Swift/QtUI/QtMainWindow.h index 44133af..a62c0a5 100644 --- a/Swift/QtUI/QtMainWindow.h +++ b/Swift/QtUI/QtMainWindow.h @@ -11,6 +11,8 @@ class QComboBox; class QLineEdit; class QPushButton; +class QToolBar; +class QAction; namespace Swift { class QtTreeWidget; @@ -32,6 +34,8 @@ namespace Swift { void handleShowOfflineToggled(bool); void handleJoinMUCAction(); void handleJoinMUCDialogComplete(const JID& muc, const QString& nick); + void handleAddContactDialogComplete(const JID& contact, const QString& name); + void handleAddActionTriggered(bool checked); private: std::vector<QMenu*> menus_; //QtStatusWidget* statusWidget_; @@ -40,6 +44,8 @@ namespace Swift { QPushButton* mucButton_; QtTreeWidget* treeWidget_; QtRosterHeader* meView_; + QToolBar* bottomBar_; + QAction* addAction_; }; } |