Diffstat (limited to 'kabc/plugins/olaccess/resourceolaccess.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kabc/plugins/olaccess/resourceolaccess.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/kabc/plugins/olaccess/resourceolaccess.h b/kabc/plugins/olaccess/resourceolaccess.h index 64d06f9..0066331 100644 --- a/kabc/plugins/olaccess/resourceolaccess.h +++ b/kabc/plugins/olaccess/resourceolaccess.h @@ -13,75 +13,75 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Enhanced Version of the file for platform independent KDE tools. Copyright (c) 2004 Ulf Schenk $Id$ */ -#ifndef KABC_RESOURCESHARPDTM_H -#define KABC_RESOURCESHARPDTM_H + + +#ifndef KABC_RESOURCEolaccess_H +#define KABC_RESOURCEolaccess_H #include <kconfig.h> #include <kdirwatch.h> #include <sys/types.h> #include "resource.h" -class SlZDataBase; - namespace KABC { class ResourceConfigWidget; -class SharpDTMConverter; +class OlaccessConverter; /** @internal */ -class ResourceSharpDTM : public Resource +class Resourceolaccess : public Resource { Q_OBJECT public: /** Constructor. @param cfg The config object where custom resource settings are stored. */ - ResourceSharpDTM( const KConfig *cfg ); + Resourceolaccess( const KConfig *cfg ); /** Construct file resource on file @arg fileName using format @arg formatName. */ - ResourceSharpDTM( const QString &fileName ); + Resourceolaccess( const QString &fileName ); /** * Destructor. */ - ~ResourceSharpDTM(); + ~Resourceolaccess(); /** Writes the config back. */ virtual void writeConfig( KConfig *cfg ); /** * Tries to open the file and checks for the proper format. * This method should be called before @ref load(). */ virtual bool doOpen(); /** * Closes the file again. */ virtual void doClose(); @@ -120,27 +120,26 @@ public: * This method is called by an error handler if the application * crashed */ virtual void cleanUp(); protected slots: void fileChanged(); protected: void init( const QString &fileName ); bool lock( const QString &fileName ); void unlock( const QString &fileName ); private: - SlZDataBase* mAccess; - SharpDTMConverter* mConverter; + OlaccessConverter* mConverter; QString mLockUniqueName; KDirWatch mDirWatch; }; } #endif |