Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/kmymoneysplittable.h
Show All 29 Lines | |||||
30 | // ---------------------------------------------------------------------------- | 30 | // ---------------------------------------------------------------------------- | ||
31 | // Project Includes | 31 | // Project Includes | ||
32 | 32 | | |||
33 | class KMyMoneyCategory; | 33 | class KMyMoneyCategory; | ||
34 | class MyMoneyMoney; | 34 | class MyMoneyMoney; | ||
35 | class MyMoneySplit; | 35 | class MyMoneySplit; | ||
36 | class MyMoneyTransaction; | 36 | class MyMoneyTransaction; | ||
37 | class MyMoneyAccount; | 37 | class MyMoneyAccount; | ||
38 | class KTagContainer; | ||||
38 | 39 | | |||
39 | template <class Key, class Value> class QMap; | 40 | template <class Key, class Value> class QMap; | ||
40 | 41 | | |||
41 | /** | 42 | /** | ||
42 | * @author Thomas Baumgart | 43 | * @author Thomas Baumgart | ||
43 | */ | 44 | */ | ||
44 | class KMyMoneySplitTablePrivate; | 45 | class KMyMoneySplitTablePrivate; | ||
45 | class KMyMoneySplitTable : public QTableWidget | 46 | class KMyMoneySplitTable : public QTableWidget | ||
▲ Show 20 Lines • Show All 138 Lines • ▼ Show 20 Line(s) | 183 | /** | |||
184 | * @sa KMyMoneyCombo::createItem() | 185 | * @sa KMyMoneyCombo::createItem() | ||
185 | * | 186 | * | ||
186 | * @param txt The name of the category to be created | 187 | * @param txt The name of the category to be created | ||
187 | * @param id A connected slot should store the id of the created object in this variable | 188 | * @param id A connected slot should store the id of the created object in this variable | ||
188 | */ | 189 | */ | ||
189 | void createCategory(const QString& txt, QString& id); | 190 | void createCategory(const QString& txt, QString& id); | ||
190 | 191 | | |||
191 | /** | 192 | /** | ||
193 | * This signal is sent out, when a new tag needs to be created | ||||
194 | * @sa KMyMoneyCombo::createItem() | ||||
195 | * | ||||
196 | * @param txt The name of the tag to be created | ||||
197 | * @param id A connected slot should store the id of the created object in this variable | ||||
198 | */ | ||||
199 | void createTag(const QString& txt, QString& id); | ||||
200 | | ||||
201 | /** | ||||
192 | * Signal is emitted, if any of the widgets enters (@a state equals @a true) | 202 | * Signal is emitted, if any of the widgets enters (@a state equals @a true) | ||
193 | * or leaves (@a state equals @a false) object creation mode. | 203 | * or leaves (@a state equals @a false) object creation mode. | ||
194 | * | 204 | * | ||
195 | * @param state Enter (@a true) or leave (@a false) object creation | 205 | * @param state Enter (@a true) or leave (@a false) object creation | ||
196 | */ | 206 | */ | ||
197 | void objectCreation(bool state); | 207 | void objectCreation(bool state); | ||
198 | 208 | | |||
199 | private: | 209 | private: | ||
200 | KMyMoneySplitTablePrivate * const d_ptr; | 210 | KMyMoneySplitTablePrivate * const d_ptr; | ||
201 | Q_DECLARE_PRIVATE(KMyMoneySplitTable) | 211 | Q_DECLARE_PRIVATE(KMyMoneySplitTable) | ||
202 | }; | 212 | }; | ||
203 | 213 | | |||
204 | #endif | 214 | #endif |