aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/find/currentdocumentfind.h
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2009-07-21 11:10:02 +0200
committercon <qtc-committer@nokia.com>2009-07-21 13:44:30 +0200
commit091f3727236b1ea9ba617c8d6ebb40323a6b45c3 (patch)
treeb62af22a2d229394e957a22edff788fb128bd43a /src/plugins/find/currentdocumentfind.h
parente1362eab38396db258470f3dbcd06c1d4200dbe6 (diff)
Making the find tool bar be more connected to the searched text.
Diffstat (limited to 'src/plugins/find/currentdocumentfind.h')
-rw-r--r--src/plugins/find/currentdocumentfind.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/find/currentdocumentfind.h b/src/plugins/find/currentdocumentfind.h
index eb8bdf38e0..82f6da9b0c 100644
--- a/src/plugins/find/currentdocumentfind.h
+++ b/src/plugins/find/currentdocumentfind.h
@@ -53,6 +53,7 @@ public:
QString completedFindString() const;
bool isEnabled() const;
+ bool candidateIsEnabled() const;
void highlightAll(const QString &txt, IFindSupport::FindFlags findFlags);
bool findIncremental(const QString &txt, IFindSupport::FindFlags findFlags);
bool findStep(const QString &txt, IFindSupport::FindFlags findFlags);
@@ -62,6 +63,7 @@ public:
IFindSupport::FindFlags findFlags);
void defineFindScope();
void clearFindScope();
+ void acceptCandidate();
void removeConnections();
bool setFocusToCurrentFindSupport();
@@ -70,9 +72,10 @@ public:
signals:
void changed();
+ void candidateChanged();
private slots:
- void updateCurrentFindFilter(QWidget *old, QWidget *now);
+ void updateCandidateFindFilter(QWidget *old, QWidget *now);
void findSupportDestroyed();
private:
@@ -80,6 +83,8 @@ private:
QPointer<IFindSupport> m_currentFind;
QPointer<QWidget> m_currentWidget;
+ QPointer<IFindSupport> m_candidateFind;
+ QPointer<QWidget> m_candidateWidget;
};
} // namespace Internal