diff options
Diffstat (limited to 'Swift/QtUI/QtAddBookmarkWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtAddBookmarkWindow.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Swift/QtUI/QtAddBookmarkWindow.cpp b/Swift/QtUI/QtAddBookmarkWindow.cpp new file mode 100644 index 0000000..863e98c --- /dev/null +++ b/Swift/QtUI/QtAddBookmarkWindow.cpp @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2010 Kevin Smith + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#include "QtAddBookmarkWindow.h" + +#include <qdebug.h> + +namespace Swift { +QtAddBookmarkWindow::QtAddBookmarkWindow(UIEventStream* eventStream) : eventStream_(eventStream) { + +} + +void QtAddBookmarkWindow::commit() { + qDebug() << "committing"; + eventStream_->send(boost::shared_ptr<UIEvent>(new AddMUCBookmarkUIEvent(createBookmarkFromForm()))); +} + +} |