summaryrefslogtreecommitdiffstats
path: root/kfilereplace/kfilereplacelib.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:06:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:06:46 -0600
commitef2264e9790ae7e700ad3cf5fb3dbad05efd98d8 (patch)
treeac4650a642d502c458d0b654c8b731739ce601dc /kfilereplace/kfilereplacelib.h
parenta32b928478b59d4fa8b8495bbad6864476c129b1 (diff)
downloadtdewebdev-ef2264e9790ae7e700ad3cf5fb3dbad05efd98d8.tar.gz
tdewebdev-ef2264e9790ae7e700ad3cf5fb3dbad05efd98d8.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kfilereplace/kfilereplacelib.h')
-rw-r--r--kfilereplace/kfilereplacelib.h65
1 files changed, 0 insertions, 65 deletions
diff --git a/kfilereplace/kfilereplacelib.h b/kfilereplace/kfilereplacelib.h
deleted file mode 100644
index de80d17d..00000000
--- a/kfilereplace/kfilereplacelib.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/***************************************************************************
- kfilereplacelib.h - File library, derived from filelib.h
- -------------------
- begin : lun mai 3 20:19:52 CEST 1999
-
- copyright : (C) 1999 by François Dupoux
- (C) 2003 Andras Mantia <amantia@kde.org>
- (C) 2004 Emiliano Gulmini <emi_barbarossa@yahoo.it>
- email : dupoux@dupoux.com
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/
-
-#ifndef KFILEREPLACELIB_H
-#define KFILEREPLACELIB_H
-
-// KDE
-#include <klocale.h>
-class KlistView;
-
-// local
-#include "configurationclasses.h"
-
-class KFileReplaceLib
-{
- public:
-
- /**
- Format a path, from a path and a filename, or another sub-path (avoid double '/' risks)
- Parameters::.....* basePath: fist path (can be "/" if root, or "/usr/bin/" or "/usr/bin" for example)
- .................* filename: second path (can be "/doc/html/", or "doc/html/" or "doc/html/index.html" for example)
- Return values:...* Full valid path (without double "/")
- */
- static TQString formatFullPath(const TQString& basePath, const TQString& fileName);
-
- /**
- Add an extension to a filename, or a filepath
- Parameters::.....* filename: filename or filepath (it can have already the extension)
- .................* extension: extension to add without "." (ex: "html", "kfr")
- Return values:...* Filename / Filepath with the extension
- */
- static TQString addExtension(const TQString& fileName, const TQString& extension);
-
- static TQString formatFileSize(double size);
-
- /**
- converts the old kfr format file in the new xml-based format.
- */
- static void convertOldToNewKFRFormat(const TQString& fileName, KListView* stringView);
- /**
- Verifies that files, which we are scanning, respect some
- conditions
- */
- static bool isAnAccessibleFile(const TQString& filePath, const TQString& fileName, RCOptions* info);
-
- static void setIconForFileEntry(TQListViewItem* item, TQString path);
-};
-#endif // KFILEREPLACEFILELIB_H