KMyMoneyPlugin::StoragePlugin

Search for usage in LXR

KMyMoneyPlugin::StoragePlugin Class Referenceabstract

#include <kmymoneyplugin.h>

Public Member Functions

virtual QString fileExtension () const =0
 
virtual bool open (const QUrl &url)=0
 
virtual QUrl openUrl () const =0
 
virtual bool save (const QUrl &url)=0
 
virtual bool saveAs ()=0
 
virtual eKMyMoney::StorageType storageType () const =0
 

Detailed Description

This class describes the interface between the KMyMoney application and it's STORAGE plugins.

All storage plugins must provide this interface.

Definition at line 293 of file kmymoneyplugin.h.

Member Function Documentation

virtual bool KMyMoneyPlugin::StoragePlugin::open ( const QUrl url)
pure virtual

Loads file into storage.

Parameters
urlURL of the file
Returns
true if successfully opened
virtual QUrl KMyMoneyPlugin::StoragePlugin::openUrl ( ) const
pure virtual

returns the full URL used to open the database (incl.

password)

Returns
QUrl to re-open the database
virtual bool KMyMoneyPlugin::StoragePlugin::save ( const QUrl url)
pure virtual

Saves storage into file.

Parameters
urlURL of the file
Returns
true if successfully saved
virtual bool KMyMoneyPlugin::StoragePlugin::saveAs ( )
pure virtual

Saves storage into file.

Parameters
urlURL of the file
Returns
true if successfully saved
virtual eKMyMoney::StorageType KMyMoneyPlugin::StoragePlugin::storageType ( ) const
pure virtual

Storage identifier.

Returns
Storage identifier

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Oct 16 2021 23:23:23 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.