summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Voicu <vladv@rosedu.org>2012-03-19 18:36:07 (GMT)
committervlad <vlad@tyrion.(none)>2012-10-13 13:55:45 (GMT)
commit5f745ebd56014a68695ac4b6fe7fb5dc96e34384 (patch)
tree284e1c2f9d41844dd17046d859d2c68225cfa1d6 /Swift/QtUI/QtTextEdit.h
parentb3948434495a18df5c4537a2a6e0feecc0805788 (diff)
downloadswift-contrib-5f745ebd56014a68695ac4b6fe7fb5dc96e34384.zip
swift-contrib-5f745ebd56014a68695ac4b6fe7fb5dc96e34384.tar.bz2
Addressed Kev's code review
Diffstat (limited to 'Swift/QtUI/QtTextEdit.h')
-rw-r--r--Swift/QtUI/QtTextEdit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swift/QtUI/QtTextEdit.h b/Swift/QtUI/QtTextEdit.h
index b40c935..a8df4d3 100644
--- a/Swift/QtUI/QtTextEdit.h
+++ b/Swift/QtUI/QtTextEdit.h
@@ -28,7 +28,7 @@ namespace Swift {
void returnPressed();
void unhandledKeyPressEvent(QKeyEvent* event);
public slots:
- void handleModifiedSettings();
+ void handleSettingChanged(const std::string& settings);
protected:
virtual void keyPressEvent(QKeyEvent* event);
virtual void contextMenuEvent(QContextMenuEvent* event);
@@ -45,6 +45,6 @@ namespace Swift {
void setUpSpellChecker();
void underlineMisspells();
void spellCheckerSettingsWindow();
- boost::tuple<int,int> getWordFromCursor(int cursorPosition);
+ PositionPair getWordFromCursor(int cursorPosition);
};
}