summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-04-30 10:02:18 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-04-30 10:02:18 (GMT)
commitff21fe854d4c6bf5a5fed8d7412c9b02609faeb6 (patch)
tree6d1bfe9ed4f7d5d9ef1b8f811ec67f1943c9b96a /Swift/QtUI/QtChatWindow.h
parentc26753dc9785377da0d836ce6f4286af6e3b8790 (diff)
downloadswift-contrib-ff21fe854d4c6bf5a5fed8d7412c9b02609faeb6.zip
swift-contrib-ff21fe854d4c6bf5a5fed8d7412c9b02609faeb6.tar.bz2
Tidy up some correction quibbles
Diffstat (limited to 'Swift/QtUI/QtChatWindow.h')
-rw-r--r--Swift/QtUI/QtChatWindow.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatWindow.h b/Swift/QtUI/QtChatWindow.h
index fd6b315..a95041e 100644
--- a/Swift/QtUI/QtChatWindow.h
+++ b/Swift/QtUI/QtChatWindow.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Kevin Smith
+ * Copyright (c) 2010-2011 Kevin Smith
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
@@ -17,6 +17,7 @@
class QTextEdit;
class QLineEdit;
class QComboBox;
+class QLabel;
namespace Swift {
class QtChatView;
@@ -77,6 +78,8 @@ namespace Swift {
private:
void updateTitleWithUnreadCount();
void tabComplete();
+ void beginCorrection();
+ void cancelCorrection();
std::string addMessage(const std::string &message, const std::string &senderName, bool senderIsSelf, boost::shared_ptr<SecurityLabel> label, const std::string& avatarPath, const QString& style, const boost::posix_time::ptime& time);
int unreadCount_;
@@ -89,6 +92,7 @@ namespace Swift {
QtTextEdit* input_;
QComboBox* labelsWidget_;
QtTreeWidget* treeWidget_;
+ QLabel* correctingLabel_;
TabComplete* completer_;
std::vector<SecurityLabelsCatalog::Item> availableLabels_;
bool isCorrection_;