Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/interfaces/kmmviewinterface.h
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | 61 | /** | |||
---|---|---|---|---|---|
63 | * created with addPage() | 63 | * created with addPage() | ||
64 | * | 64 | * | ||
65 | * @param view pointer to view object | 65 | * @param view pointer to view object | ||
66 | * @param w pointer to widget | 66 | * @param w pointer to widget | ||
67 | */ | 67 | */ | ||
68 | // void addWidget(KMyMoneyViewBase* view, QWidget* w); | 68 | // void addWidget(KMyMoneyViewBase* view, QWidget* w); | ||
69 | 69 | | |||
70 | /** | 70 | /** | ||
71 | * Calls MyMoneyFile::readAllData which reads a MyMoneyFile into appropriate | | |||
72 | * data structures in memory. The return result is examined to make sure no | | |||
73 | * errors occurred whilst parsing. | | |||
74 | * | | |||
75 | * @param url The URL to read from. | | |||
76 | * If no protocol is specified, file:// is assumed. | | |||
77 | * | | |||
78 | * @return Whether the read was successful. | | |||
79 | */ | | |||
80 | bool readFile(const QUrl &url, IMyMoneyOperationsFormat *pExtReader = nullptr) override; | | |||
81 | | ||||
82 | /** | | |||
83 | * Makes sure that a MyMoneyFile is open and has been created successfully. | | |||
84 | * | | |||
85 | * @return Whether the file is open and initialised | | |||
86 | */ | | |||
87 | bool fileOpen() override; | | |||
88 | | ||||
89 | bool isDatabase() override; | | |||
90 | | ||||
91 | /** | | |||
92 | * Brings up a dialog to change the list(s) settings and saves them into the | 71 | * Brings up a dialog to change the list(s) settings and saves them into the | ||
93 | * class KMyMoneySettings (a singleton). | 72 | * class KMyMoneySettings (a singleton). | ||
94 | * | 73 | * | ||
95 | * @see KListSettingsDlg | 74 | * @see KListSettingsDlg | ||
96 | * Refreshes all views. Used e.g. after settings have been changed or | 75 | * Refreshes all views. Used e.g. after settings have been changed or | ||
97 | * data has been loaded from external sources (QIF import). | 76 | * data has been loaded from external sources (QIF import). | ||
98 | **/ | 77 | **/ | ||
99 | void slotRefreshViews() override; | 78 | void slotRefreshViews() override; | ||
Show All 9 Lines |