#include <QProcess>
#include <QMessageBox>
-const QString VERSION("2016.02.20");
+const QString VERSION("2016.06.26");
inline QString addEsc(const QString& text){
QString rc = text;
m_logger(new ReMemoryLogger()),
m_finder(NULL),
m_guiQueue(),
- m_startDir(startDir)
+ m_startDir(startDir),
+ m_maxListSize(100)
{
initializeGUI();
}
ReGuiQueueItem item = m_guiQueue.popFront();
if (item.m_type == ReGuiQueueItem::Undef)
break;
- if (! item.apply()){
+ if (! item.apply(m_guiQueue, m_maxListSize)){
switch (item.m_type){
case ReGuiQueueItem::ReadyMessage:
say(LOG_INFO, item.m_value);
FileFinder* m_finder;
ReGuiQueue m_guiQueue;
QString m_startDir;
+ int m_maxListSize;
};
#endif // MAINWINDOW_HPP
utils.cpp \
dialogoptions.cpp \
filetablewidget.cpp \
- ../../gui/ReGuiApplication.cpp
+ ../../gui/ReGuiApplication.cpp \
+ ../../base/ReProcess.cpp
HEADERS += mainwindow.hpp \
utils.hpp \
dialogoptions.hpp \
filetablewidget.hpp \
- ../../gui/ReGuiQueue.hpp
+ ../../gui/ReGuiQueue.hpp \
+ ../../base/ReProcess.hpp
FORMS += mainwindow.ui \
*
* This method should only used by the master thread.
*
- * @param
+ * @param queue the queue containing the instance
* @param maxItems 0 or the maximal count of relevant items: items will be
* inserted only if the count of items in the queue
* is lower than this limit. This is a widget type specific