~ubuntu-branches/ubuntu/trusty/glibmm2.4/trusty

« back to all changes in this revision

Viewing changes to gio/giomm/filemonitor.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-02-22 07:01:47 UTC
  • mfrom: (1.2.68)
  • Revision ID: package-import@ubuntu.com-20120222070147-mjn5l85oc48061da
Tags: 2.31.18-0ubuntu1
* New upstream release
* debian/watch: Look for unstable versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
 * File::monitor_directory().
67
67
 * 
68
68
 * To get informed about changes to the file or directory you are monitoring, 
69
 
 * connect to signal_changed.
 
69
 * connect to signal_changed().
70
70
 *
71
71
 * @newin{2,16}
72
72
 */
143
143
  
144
144
 
145
145
  /**
146
 
   * @par Prototype:
 
146
   * @par Slot Prototype:
147
147
   * <tt>void on_my_%changed(const Glib::RefPtr<File>& file, const Glib::RefPtr<File>& other_file, FileMonitorEvent event_type)</tt>
 
148
   *
 
149
   * Emitted when @a file has been changed.
 
150
   * 
 
151
   * If using FILE_MONITOR_SEND_MOVED flag and @a event_type is
 
152
   * FILE_MONITOR_SEND_MOVED, @a file will be set to a File containing the
 
153
   * old path, and @a other_file will be set to a File containing the new path.
 
154
   * 
 
155
   * In all the other cases, @a other_file will be set to #<tt>0</tt>.
 
156
   * @param file A File.
 
157
   * @param other_file A File or #<tt>0</tt>.
 
158
   * @param event_type A FileMonitorEvent.
148
159
   */
149
160
 
 
161
 
150
162
  Glib::SignalProxy3< void,const Glib::RefPtr<File>&,const Glib::RefPtr<File>&,FileMonitorEvent > signal_changed();
151
163
 
152
164
  
192
204
  //GTK+ Virtual Functions (override these to change behaviour):
193
205
 
194
206
  //Default Signal Handlers::
 
207
  /// This is a default handler for the signal signal_changed().
195
208
  virtual void on_changed(const Glib::RefPtr<File>& file, const Glib::RefPtr<File>& other_file, FileMonitorEvent event_type);
196
209
 
197
210