• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdeio
 

tdeio/tdeio

  • tdeio
  • tdeio
kdirnotify.h
1 /* This file is part of the KDE project
2  Copyright (C) 2000 David Faure <faure@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef __kdirnotify_h__
21 #define __kdirnotify_h__
22 
23 #include <dcopobject.h>
24 #include <kurl.h>
25 
32 class TDEIO_EXPORT KDirNotify : public DCOPObject
33 {
34  K_DCOP
35 protected:
36  KDirNotify();
37  virtual ~KDirNotify() {}
38 
39 public:
40 k_dcop:
46  virtual ASYNC FilesAdded( const KURL & directory ) = 0;
47 
53  virtual ASYNC FilesRemoved( const KURL::List & fileList ) = 0;
54 
62  virtual ASYNC FilesChanged( const KURL::List & fileList ) = 0;
63 
70  virtual ASYNC FileRenamed( const KURL &src, const KURL &dst );
71 
72  // WARNING: When adding new methods, make sure to update
73  // kdirnotify_stub.cpp and kdirnotify_stub.h manually.
74  // They are not automatically generated since they contain
75  // handcoded changes.
76 
77 private:
78  // @internal
79  static int s_serial;
80 protected:
81  virtual void virtual_hook( int id, void* data );
82 };
83 
84 #endif
KDirNotify
An abstract class that receives notifications of added and removed files in any directory,...
Definition: kdirnotify.h:33
KDirNotify::FilesAdded
virtual ASYNC FilesAdded(const KURL &directory)=0
Notify that files have been added in directory Note: this is ASYNC so that it can be used with a broa...
KDirNotify::FilesRemoved
virtual ASYNC FilesRemoved(const KURL::List &fileList)=0
Notify that files have been deleted.
KDirNotify::FilesChanged
virtual ASYNC FilesChanged(const KURL::List &fileList)=0
Notify that files have been changed.

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.9.1
This website is maintained by Timothy Pearson.