kioslave
http_cache_cleaner.cpp File Reference
#include <time.h>
#include <stdlib.h>
#include <qdir.h>
#include <qstring.h>
#include <qptrlist.h>
#include <kinstance.h>
#include <klocale.h>
#include <kcmdlineargs.h>
#include <kglobal.h>
#include <kstandarddirs.h>
#include <dcopclient.h>
#include <kprotocolmanager.h>
#include <unistd.h>
#include <kdebug.h>
Include dependency graph for http_cache_cleaner.cpp:
Go to the source code of this file.
Defines | |
#define | CACHE_REVISION "7\n" |
Functions | |
KDE_EXPORT int | kdemain (int argc, char **argv) |
FileInfo * | readEntry (const QString &filename) |
void | scanDirectory (FileInfoList &fileEntries, const QString &name, const QString &strDir) |
Variables | |
static const char | appName [] = "kio_http_cache_cleaner" |
time_t | currentDate |
static const char | description [] = I18N_NOOP("KDE HTTP cache maintenance tool") |
int | m_maxCacheAge |
int | m_maxCacheSize |
static const KCmdLineOptions | options [] |
static const char | version [] = "1.0.0" |
Define Documentation
#define CACHE_REVISION "7\n" |
Definition at line 81 of file http_cache_cleaner.cpp.
Function Documentation
KDE_EXPORT int kdemain | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 190 of file http_cache_cleaner.cpp.
FileInfo* readEntry | ( | const QString & | filename | ) |
Definition at line 83 of file http_cache_cleaner.cpp.
Definition at line 164 of file http_cache_cleaner.cpp.
Variable Documentation
const char appName[] = "kio_http_cache_cleaner" [static] |
Definition at line 51 of file http_cache_cleaner.cpp.
time_t currentDate |
Definition at line 47 of file http_cache_cleaner.cpp.
const char description[] = I18N_NOOP("KDE HTTP cache maintenance tool") [static] |
Definition at line 53 of file http_cache_cleaner.cpp.
int m_maxCacheAge |
Definition at line 48 of file http_cache_cleaner.cpp.
int m_maxCacheSize |
Definition at line 49 of file http_cache_cleaner.cpp.
const KCmdLineOptions options[] [static] |
Initial value:
{ {"clear-all", I18N_NOOP("Empty the cache"), 0}, KCmdLineLastOption }
Definition at line 57 of file http_cache_cleaner.cpp.
const char version[] = "1.0.0" [static] |
Definition at line 55 of file http_cache_cleaner.cpp.