summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/texteditoractionhandler.h
diff options
context:
space:
mode:
authormae <qt-info@nokia.com>2010-05-20 15:10:26 +0200
committermae <qt-info@nokia.com>2010-05-20 15:11:31 +0200
commite07c34017e5fd9d9a9cb929c284be9004dd74b95 (patch)
treef8d85f0d770e9ab0c12a512f860cb2cf66896785 /src/plugins/texteditor/texteditoractionhandler.h
parent55b26868e61bdfc11cb7de23471ebd1dbc9973d3 (diff)
downloadqt-creator-e07c34017e5fd9d9a9cb929c284be9004dd74b95.tar.gz
Rework code folding
The new and cleaner foldingIndent in the block user data will make it easier to support other kinds of indentation for various other programming languages (like Python).
Diffstat (limited to 'src/plugins/texteditor/texteditoractionhandler.h')
-rw-r--r--src/plugins/texteditor/texteditoractionhandler.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/texteditor/texteditoractionhandler.h b/src/plugins/texteditor/texteditoractionhandler.h
index 25f2e9febb..331c788d31 100644
--- a/src/plugins/texteditor/texteditoractionhandler.h
+++ b/src/plugins/texteditor/texteditoractionhandler.h
@@ -96,9 +96,9 @@ private slots:
void cleanWhitespace();
void setTextWrapping(bool);
void unCommentSelection();
- void unCollapseAll();
- void collapse();
- void expand();
+ void unfoldAll();
+ void fold();
+ void unfold();
void cutLine();
void deleteLine();
void selectEncoding();
@@ -153,9 +153,9 @@ private:
QAction *m_cleanWhitespaceAction;
QAction *m_textWrappingAction;
QAction *m_unCommentSelectionAction;
- QAction *m_unCollapseAllAction;
- QAction *m_collapseAction;
- QAction *m_expandAction;
+ QAction *m_unfoldAllAction;
+ QAction *m_foldAction;
+ QAction *m_unfoldAction;
QAction *m_cutLineAction;
QAction *m_deleteLineAction;
QAction *m_selectEncodingAction;