KDECore
kprotocolinfo_p.h
Go to the documentation of this file.
00001 /* This file is part of the KDE libraries 00002 Copyright (C) 1999 Torben Weis <weis@kde.org> 00003 Copyright (C) 2000-2001 Waldo Bastian <bastian@kde.org> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License version 2 as published by the Free Software Foundation. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00017 Boston, MA 02110-1301, USA. 00018 */ 00019 #ifndef KPROTOCOLINFOPRIVATE_H 00020 #define KPROTOCOLINFOPRIVATE_H 00021 00022 #include "kprotocolinfo.h" 00023 00024 #include <ksycocaentry_p.h> 00025 00026 class KProtocolInfoPrivate : public KSycocaEntryPrivate 00027 { 00028 public: 00029 K_SYCOCATYPE( KST_KProtocolInfo, KSycocaEntryPrivate ) 00030 00031 KProtocolInfoPrivate(const QString &path, KProtocolInfo *q_) 00032 : KSycocaEntryPrivate(path), q(q_) 00033 { 00034 } 00035 KProtocolInfoPrivate(QDataStream& _str, int offset, KProtocolInfo *q_) 00036 : KSycocaEntryPrivate(_str, offset), q(q_) 00037 { 00038 } 00039 00040 virtual void save(QDataStream &s); 00041 00042 virtual QString name() const 00043 { 00044 return q->m_name; 00045 } 00046 00047 00048 KProtocolInfo *q; 00049 QString docPath; 00050 QString protClass; 00051 QStringList archiveMimetype; 00052 KProtocolInfo::ExtraFieldList extraFields; 00053 bool showPreviews : 1; 00054 bool canRenameFromFile : 1; 00055 bool canRenameToFile : 1; 00056 bool canDeleteRecursive : 1; 00057 KProtocolInfo::FileNameUsedForCopying fileNameUsedForCopying; 00058 //KUrl::URIMode uriMode; 00059 QStringList capabilities; 00060 QString proxyProtocol; 00061 int maxSlavesPerHost; 00062 }; 00063 00064 00065 #endif
KDE 4.6 API Reference