diff --git a/src/kmanagesieve/sievejob_p.h b/src/kmanagesieve/sievejob_p.h index c81fb5e..7a36db2 100644 --- a/src/kmanagesieve/sievejob_p.h +++ b/src/kmanagesieve/sievejob_p.h @@ -1,76 +1,76 @@ /* -*- c++ -*- sievejob.h KMail, the KDE mail client. Copyright (c) 2002 Marc Mutz This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US */ #ifndef KSIEVE_KMANAGESIEVE_SIEVEJOB_P_H #define KSIEVE_KMANAGESIEVE_SIEVEJOB_P_H #include "sievejob.h" #include "session.h" #include #include #include namespace KManageSieve { -class SieveJob::Private +class Q_DECL_HIDDEN SieveJob::Private { public: Private(SieveJob *qq) : q(qq) , mFileExists(DontKnow) { } enum Command { Get, Put, Activate, Deactivate, SearchActive, List, Delete, Rename, Check }; enum Existence { DontKnow, Yes, No }; static Session *sessionForUrl(const QUrl &url); void run(Session *session); bool handleResponse(const Response &response, const QByteArray &data); void killed(); SieveJob *q = nullptr; QUrl mUrl; QString mScript; QString mActiveScriptName; QString mErrorMessage; QString mNewName; QStack mCommands; // List of Sieve scripts on the server, used by @ref list() QStringList mAvailableScripts; Existence mFileExists; static QHash > m_sessionPool; }; } #endif