diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-04-30 16:56:33 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-04-30 16:56:33 (GMT) |
commit | b566cac68d7bb91f726b5353318b3a5eddd8f3c2 (patch) | |
tree | 6b9e7cdaf3273cde638dbfe9cbec0405c5708113 /Swift/QtUI/QtEditBookmarkWindow.h | |
parent | 499f41d456203837b1ab8eb558a2855238957593 (diff) | |
download | swift-contrib-b566cac68d7bb91f726b5353318b3a5eddd8f3c2.zip swift-contrib-b566cac68d7bb91f726b5353318b3a5eddd8f3c2.tar.bz2 |
Support adding/removing bookmarks from the UI
Doesn't support editing meaningfully, nor do changes get saved.
Diffstat (limited to 'Swift/QtUI/QtEditBookmarkWindow.h')
-rw-r--r-- | Swift/QtUI/QtEditBookmarkWindow.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Swift/QtUI/QtEditBookmarkWindow.h b/Swift/QtUI/QtEditBookmarkWindow.h new file mode 100644 index 0000000..3c11fbe --- /dev/null +++ b/Swift/QtUI/QtEditBookmarkWindow.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2010 Kevin Smith + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once +#include "QtBookmarkDetailWindow.h" + +#include "Swift/Controllers/UIEvents/UIEventStream.h" +#include "Swift/Controllers/UIEvents/EditMUCBookmarkUIEvent.h" + +namespace Swift { + class QtEditBookmarkWindow : public QtBookmarkDetailWindow { + Q_OBJECT + public: + QtEditBookmarkWindow(UIEventStream* eventStream, boost::shared_ptr<MUCBookmark> bookmark); + void commit(); + + private: + UIEventStream* eventStream_; + boost::shared_ptr<MUCBookmark> bookmark_; + }; +} |