Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

miscfunctions.h

Go to the documentation of this file.
00001 #ifndef MISCFUNCTIONS_H
00002 #define MISCFUNCTIONS_H
00003 
00004 #include <qobject.h>
00005 
00006 class MiscFunctions : public QObject
00007 {
00008         Q_OBJECT
00009 
00010 public:
00011         static QString encodeQPrintable(const QString &src);
00012         static QString decodeQPrintable(const QString &src);
00013         static QString encodeBase64(const QString &src);
00014         static QString decodeBase64(const QString &src);
00015         static QString uniqueString();
00016         static QString rfcDate();
00017         static QString smtpAuthCramMd5(const QString &data, const QString &key);
00018 
00019 protected:
00020         MiscFunctions() : QObject() { }
00021 
00022         static void encodeBase64Base(char *src, QString *dest, int len);
00023         static int decodeBase64Base(char *src, char *bufOut);
00024 
00025 };
00026 
00027 #endif

Generated on Sat Nov 5 16:18:08 2005 for OPIE by  doxygen 1.4.2