[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kio/kio
From:       David Faure <faure () kde ! org>
Date:       2009-03-13 0:14:24
Message-ID: 1236903264.906885.27064.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 938789 by dfaure:

Add overload in order to catch code mistakes (which used to cast the flags into the \
int permission). I fixed all the kde modules that I regularly compile a very long \
time ago already, but this should help 3rd party apps.


 M  +9 -1      job.h  


--- trunk/KDE/kdelibs/kio/kio/job.h #938788:938789
@@ -1,7 +1,7 @@
 // -*- c++ -*-
 /* This file is part of the KDE libraries
     Copyright (C) 2000 Stephan Kulow <coolo@kde.org>
-                       David Faure <faure@kde.org>
+                  2000-2009 David Faure <faure@kde.org>
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Library General Public
@@ -387,6 +387,14 @@
                                        JobFlags flags = DefaultFlags );
 
     /**
+     * Overload for catching code mistakes. Do NOT call this method (it is not \
implemented), +     * insert a value for permissions (-1 by default) before the \
JobFlags. +     * @since 4.3
+     */
+    FileCopyJob *file_move( const KUrl& src, const KUrl& dest, JobFlags flags ); // \
not implemented - on purpose. +
+
+    /**
      * Delete a single file.
      *
      * @param src File to delete.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic