lib

KoStoreBase.h
1//
2/* This file is part of the KDE project
3 Copyright 2004 Nicolas GOUTTE <goutte@kde.org>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
14
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19*/
20
21#ifndef KOSTORE_BASE_H
22#define KOSTORE_BASE_H
23
24#include <kurl.h>
25
26#include "KoStore.h"
27
32class KoStoreBase : public KoStore
33{
34public:
35 KoStoreBase(void);
36 virtual ~KoStoreBase(void);
37public:
38 enum FileMode { /*Bad=0,*/ Local=1, RemoteRead, RemoteWrite };
39
40protected:
45 KURL m_url;
46 FileMode m_fileMode;
47 TQString m_localFileName;
48 TQWidget* m_window;
49};
50
51#endif //KOSTORE_BASE_H
Helper class for KoStore (mainly for remote file support)
Definition KoStoreBase.h:33
KURL m_url
original URL of the remote file (undefined for a local file)
Definition KoStoreBase.h:45
Saves and loads KOffice documents using various backends.
Definition KoStore.h:40