summaryrefslogtreecommitdiffstats
path: root/kioslaves/mbox/stat.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:05:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 01:05:15 -0600
commit64df902cf71a8ee258fb85f6be26248f399aa01f (patch)
treedba58f705042c22cea26b678d5b0e4e9a34bf202 /kioslaves/mbox/stat.h
parentde53c98cab07e9c4b0f5e25dab82830fb6fc67ec (diff)
downloadtdepim-64df902cf71a8ee258fb85f6be26248f399aa01f.tar.gz
tdepim-64df902cf71a8ee258fb85f6be26248f399aa01f.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kioslaves/mbox/stat.h')
-rw-r--r--kioslaves/mbox/stat.h82
1 files changed, 0 insertions, 82 deletions
diff --git a/kioslaves/mbox/stat.h b/kioslaves/mbox/stat.h
deleted file mode 100644
index 8ce593cc0..000000000
--- a/kioslaves/mbox/stat.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * This is a simple kioslave to handle mbox-files.
- * Copyright (C) 2004 Mart Kelder (mart.kde@hccnet.nl)
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-#ifndef STAT_H
-#define STAT_H
-
-#include <kio/global.h>
-
-class ReadMBox;
-class UrlInfo;
-
-class KURL;
-
-class TQString;
-
-/**
- * This class is used to get the stats of a mbox-email or mbox-file.
- * This class only uses static members.
- */
-class Stat
-{
-public:
- /**
- * Empty constructor
- */
- Stat() {}
-
- /**
- * Emtpy destructor
- */
- ~Stat() {}
-
- /**
- * This functions gives information with a given UrlInfo.
- * @param info The file information
- * @return The information of the file as destribed in UrlInfo.
- */
- static TDEIO::UDSEntry stat( const UrlInfo& info );
- /**
- * This function gives information with a given ReadMBox and UrlInfo.
- * Through this, it is possible to ask the stats of the next message,
- * without reopening the mbox-file.
- * @param mbox The ReadMBox instance, used to search the mbox-email in.
- * @param info The url information.
- * @return The requesteds information.
- */
- static TDEIO::UDSEntry stat( ReadMBox& mbox, const UrlInfo& info );
-
- /**
- * This function gets the stats of a given mbox-file in an UDSEntry.
- * @param info The location of the mbox-file.
- * @return A list of Atoms.
- */
- static TDEIO::UDSEntry statDirectory( const UrlInfo& info );
-
- /**
- * This function gets the stats of a geven mbox-message in a UDSEntry.
- * @param info The url of the mbox-message.
- * @return Information shipped in an UDSEntry.
- */
- static TDEIO::UDSEntry statMessage( const UrlInfo& info );
-private:
- static void addAtom( TDEIO::UDSEntry& entry, unsigned int key, const TQString& value );
- static void addAtom( TDEIO::UDSEntry& entry, unsigned int key, const long value );
-};
-
-#endif