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 286 of file kmymoneyplugin.h.

Member Function Documentation

◆ open()

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

Loads file into storage.

Parameters
urlURL of the file
Returns
true if successfully opened

◆ openUrl()

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

◆ save()

virtual bool KMyMoneyPlugin::StoragePlugin::save ( const QUrl & url)
pure virtual

Saves storage into file.

Parameters
urlURL of the file
Returns
true if successfully saved

◆ saveAs()

virtual bool KMyMoneyPlugin::StoragePlugin::saveAs ( )
pure virtual

Saves storage into file.

Parameters
urlURL of the file
Returns
true if successfully saved

◆ storageType()

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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:13 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.