error.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef KSYNC_ERROR_H
00022
#define KSYNC_ERROR_H
00023
00024
#include <qstring.h>
00025
00026
#include "notify.h"
00027
00028
namespace KSync {
00032 class Error :
public Notify {
00033
public:
00034
enum ErrorCodes{
00035 ConnectionLost, WrongPassword, Authentication, WrongUser,
00036 WrongIP, CouldNotConnect, DownloadError, UploadError, UserDefined,
00037 KonnectorNotExist, CouldNotDisconnect, BackupNotSupported, RestoreNotSupported,
00038 DownloadNotSupported
00039 };
00040
Error(
int number,
const QString& text );
00041
Error(
const QString& text = QString::null);
00042
00043
bool operator==(
const Error& rhs);
00044
00045
private:
00046
class Private;
00047 Private* d;
00048
00049 };
00050 }
00051
00052
#endif
This file is part of the documentation for kitchensync Library Version 3.3.0.