File: filewatcher.cpp

package info (click to toggle)
qsstv 9.5.8-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,928 kB
  • sloc: cpp: 47,579; makefile: 4
file content (19 lines) | stat: -rw-r--r-- 371 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "filewatcher.h"
#include "configparams.h"
#include "gallerywidget.h"

fileWatcher::fileWatcher()
{

}

void fileWatcher::init()
{
  if(directories().count()>0)
    {
      removePaths(directories());
    }
  addPath(txStockImagesPath);
  addPath(templatesPath);
  connect(this,SIGNAL(directoryChanged(QString)),galleryWidgetPtr,SLOT(slotDirChanged(QString)));
}