find and replace dialog
This commit is contained in:
@@ -8,6 +8,7 @@ class QLabel;
|
||||
class SciEdit;
|
||||
class TabWidget;
|
||||
class DocumentManager;
|
||||
class FindReplaceDialog;
|
||||
|
||||
class MainWindow : public KXmlGuiWindow
|
||||
{
|
||||
@@ -36,6 +37,10 @@ private:
|
||||
void updateWindowTitle();
|
||||
void updateStatusBar();
|
||||
void updateActions();
|
||||
void showFindReplaceDialog(bool showReplace);
|
||||
bool findNextInCurrentEditor(bool forward, bool showNotFoundMessage);
|
||||
bool replaceOneInCurrentEditor(bool showNotFoundMessage);
|
||||
int replaceAllInCurrentEditor(bool showNotFoundMessage);
|
||||
|
||||
DocumentManager *m_documentManager;
|
||||
TabWidget *m_tabWidget;
|
||||
@@ -43,6 +48,10 @@ private:
|
||||
QLabel *m_encodingStatusLabel;
|
||||
QLabel *m_languageStatusLabel;
|
||||
bool m_indentGuidesEnabled = false;
|
||||
FindReplaceDialog *m_findReplaceDialog = nullptr;
|
||||
bool m_findInSelectionEnabled = false;
|
||||
int m_findSelectionStart = 0;
|
||||
int m_findSelectionEnd = 0;
|
||||
};
|
||||
|
||||
// plainly for KConfigDialog
|
||||
|
||||
Reference in New Issue
Block a user