summaryrefslogtreecommitdiff
path: root/examples/opiecore/onotifydemo/onotifydemo.cpp
Unidiff
Diffstat (limited to 'examples/opiecore/onotifydemo/onotifydemo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/opiecore/onotifydemo/onotifydemo.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/examples/opiecore/onotifydemo/onotifydemo.cpp b/examples/opiecore/onotifydemo/onotifydemo.cpp
index 2beda2a..e147c6a 100644
--- a/examples/opiecore/onotifydemo/onotifydemo.cpp
+++ b/examples/opiecore/onotifydemo/onotifydemo.cpp
@@ -102,3 +102,3 @@ DemoApp::DemoApp( int argc, char** argv ) : OApplication( argc, argv, "libopie2
102 { 102 {
103 success = OFileNotification::singleShot( filename, this, SLOT( unnamedTrigger() ), (OFileNotificationType) fntype ); 103 success = OFileNotification::singleShot( filename, this, SLOT(unnamedTrigger()), (OFileNotificationType) fntype );
104 } 104 }
@@ -108,4 +108,5 @@ DemoApp::DemoApp( int argc, char** argv ) : OApplication( argc, argv, "libopie2
108 success = fn->watch( filename, false, (OFileNotificationType) fntype ); 108 success = fn->watch( filename, false, (OFileNotificationType) fntype );
109 connect( fn, SIGNAL( triggered( const QString& ) ), this, SLOT( namedTrigger( const QString& ) ) ); 109 connect( fn, SIGNAL(triggered(const QString&,unsigned int,const QString&)),
110 } 110 this, SLOT(namedTrigger(const QString&,unsigned int,const QString&)) );
111 }
111 } 112 }
@@ -115,3 +116,4 @@ DemoApp::DemoApp( int argc, char** argv ) : OApplication( argc, argv, "libopie2
115 success = dn->watch( filename, !multi, (OFileNotificationType) fntype ); 116 success = dn->watch( filename, !multi, (OFileNotificationType) fntype );
116 connect( dn, SIGNAL( triggered( const QString& ) ), this, SLOT( namedTrigger( const QString& ) ) ); 117 connect( dn, SIGNAL(triggered(const QString&,unsigned int,const QString&)),
118 this, SLOT(namedTrigger(const QString&,unsigned int,const QString&)) );
117 } 119 }
@@ -164,5 +166,5 @@ DemoApp::DemoApp( int argc, char** argv ) : OApplication( argc, argv, "libopie2
164 166
165 void DemoApp::namedTrigger( const QString& path ) 167 void DemoApp::namedTrigger( const QString& path, unsigned int type, const QString& name )
166 { 168 {
167 owarn << "DemoApp::named trigger = " << path << " : F I R E !!!!!" << oendl; 169 owarn << "DemoApp::named trigger = ( " << path << ", " << type << ", " << name << " ) : F I R E !!!!!" << oendl;
168 } 170 }