20#include <kmm_plugin_export.h>
24class IMyMoneyOperationsFormat;
25typedef void (*KMyMoneyAppCallback)(int, int,
const QString&);
27namespace KMyMoneyPlugin {
28class KMM_PLUGIN_EXPORT AppInterface :
public QObject
33 explicit AppInterface(
QObject* parent,
const char* name = 0);
34 virtual ~AppInterface();
41 virtual bool fileOpen() = 0;
43 virtual bool isDatabase() = 0;
44 virtual bool isNativeFile() = 0;
45 virtual QUrl filenameURL()
const = 0;
46 virtual void writeFilenameURL(
const QUrl& url) = 0;
47 virtual QUrl lastOpenedURL() = 0;
48 virtual void writeLastUsedFile(
const QString& fileName) = 0;
49 virtual void slotFileOpenRecent(
const QUrl& url) = 0;
50 virtual void addToRecentFiles(
const QUrl& url) = 0;
51 virtual KMyMoneyAppCallback progressCallback() = 0;
52 virtual void writeLastUsedDir(
const QString& directory) = 0;
53 virtual QString readLastUsedDir()
const = 0;
54 virtual void consistencyCheck(
bool alwaysDisplayResult) = 0;
57 void kmmFilePlugin(
unsigned int);
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:05 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.