Changeset 3571
- Timestamp:
- 03/03/09 11:48:45 (13 months ago)
- Location:
- pcbsd/trunk/SystemUpdaterTray
- Files:
-
- 3 modified
-
SystemUpdaterTray.pro (modified) (1 diff)
-
UpdaterTray.cpp (modified) (2 diffs)
-
UpdaterTray.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pcbsd/trunk/SystemUpdaterTray/SystemUpdaterTray.pro
r3081 r3571 14 14 RESOURCES += SystemUpdaterTray.qrc 15 15 16 INCLUDEPATH += /PCBSD/local/kde4/include 16 INCLUDEPATH += /PCBSD/local/kde4/include /usr/local/kde4/include 17 17 18 LIBS += -L/PCBSD/local/kde4/lib 18 LIBS += -L/PCBSD/local/kde4/lib -L/usr/local/kde4/lib 19 19 20 QMAKE_LIBDIR = /PCBSD/local/kde4/lib /PCBSD/local/lib/qt4 /PCBSD/local/lib 20 QMAKE_LIBDIR = /PCBSD/local/kde4/lib /PCBSD/local/lib/qt4 /PCBSD/local/lib /usr/local/kde4/lib /usr/local/lib/qt4 /usr/local/lib 21 21 22 22 TARGET = SystemUpdaterTray -
pcbsd/trunk/SystemUpdaterTray/UpdaterTray.cpp
r3115 r3571 109 109 // Start the monitor service for system updates 110 110 QTimer::singleShot(1000, this, SLOT(slotScheduledSystemCheck())); 111 112 111 // Start the monitor service for PBI updates 113 112 QTimer::singleShot(1000, this, SLOT(slotScheduledPBICheck())); 113 114 fileWatcher = KDirWatch::self(); 115 fileWatcher->addFile("/Programs/.config/ProgList"); 116 117 connect(fileWatcher, SIGNAL(dirty(const QString&)), this, SLOT(slotScheduledPBICheck() )); 118 114 119 115 120 } … … 560 565 return; 561 566 } 562 563 567 564 568 int i = -1; -
pcbsd/trunk/SystemUpdaterTray/UpdaterTray.h
r3115 r3571 4 4 #include <ksystemtrayicon.h> 5 5 #include <kio/jobclasses.h> 6 #include <kdirwatch.h> 6 7 7 8 … … 49 50 KJob *sysFetchJob; 50 51 KIO::TransferJob *checkPBIJob; 52 KDirWatch *fileWatcher; 51 53 QString sysPatchsetTmpFile; 52 54 bool useCustomTmpDir;
