7 #ifndef PICSEARCHOPTIONS_H
8 #define PICSEARCHOPTIONS_H
10 #include "scribusapi.h"
11 #include "ui_picsearchoptions.h"
20 PicSearchOptions(QWidget* parent,
const QString & fileName,
const QString & searchBase);
38 const QStringList &
getMatches () {
return m_listMatches; }
47 void slotChangeSearchDir();
49 void slotSearchPicAborted(
bool userCancelled);
50 void slotSearchPicFinished(
const QStringList & matches,
const QString & fileName);
53 QString m_strFileName;
54 QString m_strLastDirSearched;
55 QStringList m_listMatches;
65 void setSearchButton(
bool toCancel,
const FileSearch* searcher);
70 void enableGuiWhileSearching (
bool enable);
A class to do a depth-first search for a file in a directory tree efficiently and safely (I hope)...
Definition: filesearch.h:24
const QStringList & getMatches()
Fetch all found matches.
Definition: picsearchoptions.h:38
const QString & getFileName()
Fetch the filename used for the last search.
Definition: picsearchoptions.h:32
bool getCancelled()
Did the user cancel the search?
Definition: picsearchoptions.h:44
Definition: picsearchoptions.h:15
const QString & getLastDirSearched()
Fetch the last used searchBase.
Definition: picsearchoptions.h:26