Diffstat (limited to 'examples/opiecore/onotifytest/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | examples/opiecore/onotifytest/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opiecore/onotifytest/main.cpp b/examples/opiecore/onotifytest/main.cpp index 8374c59..b773da9 100644 --- a/examples/opiecore/onotifytest/main.cpp +++ b/examples/opiecore/onotifytest/main.cpp | |||
@@ -30,13 +30,13 @@ App::App( int argc, char** argv ) : QApplication( argc, argv ) | |||
30 | QObject::connect( tmpfoo, SIGNAL(accessed(const QString&)), this, SLOT(quit()) ); | 30 | QObject::connect( tmpfoo, SIGNAL(accessed(const QString&)), this, SLOT(quit()) ); |
31 | QObject::connect( tmpfoo, SIGNAL(closed(const QString&,bool)), this, SLOT(quit()) ); | 31 | QObject::connect( tmpfoo, SIGNAL(closed(const QString&,bool)), this, SLOT(quit()) ); |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | ODirNotification* tmpfoo = new ODirNotification( 0, 0 ); | 34 | ODirNotification* tmpfoo = new ODirNotification( 0, 0 ); |
35 | 35 | ||
36 | int result = tmpfoo->watch( "/tmp/foo", false, CreateFile, 1 ); | 36 | int result = tmpfoo->watch( "/tmp/foo", false, CreateFile, 2 ); |
37 | QObject::connect( tmpfoo, SIGNAL(triggered(const QString&,unsigned int,const QString&)), | 37 | QObject::connect( tmpfoo, SIGNAL(triggered(const QString&,unsigned int,const QString&)), |
38 | this, SLOT(triggered(const QString&,unsigned int,const QString&)) ); | 38 | this, SLOT(triggered(const QString&,unsigned int,const QString&)) ); |
39 | } | 39 | } |
40 | 40 | ||
41 | App::~App() | 41 | App::~App() |
42 | { | 42 | { |