author | waspe <waspe> | 2003-11-05 18:34:52 (UTC) |
---|---|---|
committer | waspe <waspe> | 2003-11-05 18:34:52 (UTC) |
commit | b7669e25027e64a721705548efc2a7f92daed704 (patch) (unidiff) | |
tree | 7bbb2a807f57e41896fe304b963d024eb22d5c7b /library/filemanager.cpp | |
parent | 7f271d89922254226280f039ae53c5fee63ef94d (diff) | |
download | opie-b7669e25027e64a721705548efc2a7f92daed704.zip opie-b7669e25027e64a721705548efc2a7f92daed704.tar.gz opie-b7669e25027e64a721705548efc2a7f92daed704.tar.bz2 |
double entries in function defintions
(i commented out the second entry)
-rw-r--r-- | library/filemanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/filemanager.cpp b/library/filemanager.cpp index c51ca2f..eff8429 100644 --- a/library/filemanager.cpp +++ b/library/filemanager.cpp | |||
@@ -312,17 +312,17 @@ bool FileManager::renameFile( const QString & src, const QString & dest ) { | |||
312 | if(copyFile( src, dest )) { | 312 | if(copyFile( src, dest )) { |
313 | if(QFile::remove(src) ) { | 313 | if(QFile::remove(src) ) { |
314 | return true; | 314 | return true; |
315 | } | 315 | } |
316 | } | 316 | } |
317 | return false; | 317 | return false; |
318 | } | 318 | } |
319 | 319 | ||
320 | 320 | /* | |
321 | bool FileManager::copyFile( const QString & src, const QString & dest ) { | 321 | bool FileManager::copyFile( const QString & src, const QString & dest ) { |
322 | bool success = true; | 322 | bool success = true; |
323 | struct stat status; | 323 | struct stat status; |
324 | int read_fd=0; | 324 | int read_fd=0; |
325 | int write_fd=0; | 325 | int write_fd=0; |
326 | struct stat stat_buf; | 326 | struct stat stat_buf; |
327 | off_t offset = 0; | 327 | off_t offset = 0; |
328 | QFile srcFile(src); | 328 | QFile srcFile(src); |
@@ -372,17 +372,17 @@ bool FileManager::copyFile( const QString & src, const QString & dest ) { | |||
372 | bool FileManager::renameFile( const QString & src, const QString & dest ) { | 372 | bool FileManager::renameFile( const QString & src, const QString & dest ) { |
373 | if(copyFile( src, dest )) { | 373 | if(copyFile( src, dest )) { |
374 | if(QFile::remove(src) ) { | 374 | if(QFile::remove(src) ) { |
375 | return true; | 375 | return true; |
376 | } | 376 | } |
377 | } | 377 | } |
378 | return false; | 378 | return false; |
379 | } | 379 | } |
380 | 380 | */ | |
381 | 381 | ||
382 | /*! | 382 | /*! |
383 | Opens the document specified by \a f as a readable QIODevice. | 383 | Opens the document specified by \a f as a readable QIODevice. |
384 | The caller must delete the return value. | 384 | The caller must delete the return value. |
385 | 385 | ||
386 | Returns 0 if the operation fails. | 386 | Returns 0 if the operation fails. |
387 | */ | 387 | */ |
388 | QIODevice* FileManager::openFile( const DocLnk& f ) | 388 | QIODevice* FileManager::openFile( const DocLnk& f ) |