Felix Geyer
33650c4a04
Add non-const version of Group::groupsRecursive().
2015-01-11 16:20:24 +01:00
Felix Geyer
07e4fbacd4
Remove ModifiedOnExpandedStateChanges config option.
...
I'm pretty sure noone knew what it actually does.
This is the sort of option users shouldn't be bothered with.
2014-11-30 23:04:17 +01:00
Florian Geyer
204cd8d971
Move exporter to separate class.
2014-05-16 12:07:22 +02:00
Florian Geyer
8bf4826003
Move search into separate class.
2014-05-15 23:50:40 +02:00
Felix Geyer
5de62a5ef4
Add Group::resolveAutoTypeEnabled().
2014-04-26 18:30:22 +02:00
Felix Geyer
7893a2e84d
Rename Group::includeInSearch() to resolveSearchingEnabled().
...
Make it public and drop the resolveInherit parameter.
2014-04-26 18:27:52 +02:00
Felix Geyer
98c821df05
Add Group::exportToDb().
2013-11-22 13:36:46 +01:00
Felix Geyer
a992c76d6a
Allow passing entry cloning flags to Group::clone().
2013-11-22 13:34:34 +01:00
Felix Geyer
f2dfef8c41
Add flags to Entry::clone() for customized cloning.
2013-11-22 13:32:13 +01:00
Felix Geyer
cb804eb143
Document clone() methods.
2013-11-22 10:30:50 +01:00
Felix Geyer
1f47033835
Make sure icon() and iconPixmap() never crash.
2013-11-22 10:30:50 +01:00
Felix Geyer
5588792344
Make KeePass2XmlReader::parseGroup() safe against reordered xml elements.
2013-04-29 22:31:50 +02:00
Felix Geyer
5a96e19ce9
Copy custom icons when copying/moving entries/groups to another database.
2013-04-07 18:32:43 +02:00
Felix Geyer
bee570c3cf
Add Group::clone().
...
Move all the data we want to clone into a GroupData struct.
2013-04-04 21:48:55 +02:00
Felix Geyer
1c7e8f6921
Small optimizations.
2013-03-26 23:53:34 +01:00
Felix Geyer
c7593a3047
Stop suppressing signals in Group dtor.
...
That way we emit entry/group removed signals.
Move cleanupParent() call to the bottom so we
maintain the group tree structure for objects that
connect to those signals.
2013-03-24 14:00:23 +01:00
Felix Geyer
72d17c045f
Handle deleting groups more consistently.
...
Delete the entries and child groups in Group dtor
no what if the group has a database or not.
2013-03-24 14:00:23 +01:00
Felix Geyer
8fb2f9db7c
Move inline keyword to function definition.
2012-08-04 22:06:41 +02:00
Felix Geyer
e9a96ff80a
Mark m_pixmapCacheKey as mutable so we don't have to const_cast.
2012-07-25 12:18:16 +02:00
Felix Geyer
33b4cd8636
Don't add new entries to EntryModel when in search mode.
...
Only allow moving entries from one group to the other.
2012-07-21 22:21:49 +02:00
Florian Geyer
f6e1af30b3
Move recycle bin creation method to Group class.
2012-07-21 11:58:00 +02:00
Felix Geyer
0c1fecfb2b
const_cast "this" instead of the member variable.
2012-07-19 23:32:31 +02:00
Felix Geyer
308d3ad84b
Use constructor initialization lists where possible.
2012-07-19 19:42:14 +02:00
Felix Geyer
782223a643
Coding style fixes.
2012-07-01 21:58:45 +02:00
Felix Geyer
ee3bc89a54
Coding style fixes.
2012-06-30 00:22:07 +02:00
Felix Geyer
68155e8f89
Make use of Q_NULLPTR.
2012-06-29 14:15:16 +02:00
Florian Geyer
204822b66f
Improve auto save handling.
2012-06-24 19:30:30 +02:00
Florian Geyer
cf5f56af6f
Rename setting so it refers only to group expanded state changes.
2012-05-30 11:27:09 +02:00
Florian Geyer
5003499700
Add settings option if visual changes mark databases as modified.
2012-05-29 22:10:03 +02:00
Florian Geyer
d218924b4f
Add expiry option to group edit.
2012-05-18 10:52:05 +02:00
Felix Geyer
ce268260b1
Display expired entries and groups struck out.
2012-05-15 20:02:08 +02:00
Florian Geyer
621ec80bbe
Use static constants for default icon numbers.
2012-05-15 18:46:59 +02:00
Florian Geyer
6b6c109903
Add search.
...
Refs #24
2012-05-13 19:21:10 +02:00
Felix Geyer
af726d465d
Fix typo.
2012-05-13 13:33:55 +02:00
Florian Geyer
4807ec3368
Include groups in custom icon delete check.
...
Refs #22
2012-05-12 02:14:06 +02:00
Florian Geyer
e4b6289c0b
Prevent deletion of custom icon if it is still used by other entries.
...
Refs #22
2012-05-12 00:30:29 +02:00
Felix Geyer
587a647c11
New TODO comment style.
...
Qt Creator 2.5 is able to parse those.
2012-05-11 12:39:06 +02:00
Andreas Piesk
7568582b05
compile with QT < 4.7 (RHEL6 an clones)
2012-05-09 22:15:28 +02:00
Felix Geyer
739f4d97a6
Coding style fixes.
2012-05-02 17:04:03 +02:00
Felix Geyer
de4b90cdf1
Copy custom icons when moved to another database.
...
Closes #9
2012-04-27 11:22:02 +02:00
Felix Geyer
c36481edae
Support setting a new parent group with an empty db.
2012-04-27 10:50:32 +02:00
Felix Geyer
0d20955920
Fix bug where index is wrong when a group is moved to the end from the same parent.
...
This triggered the bug:
group->setParent(group->parentGroup());
Then index was group->parentGroup()->children().size() instead of size()-1.
2012-04-25 00:10:06 +02:00
Felix Geyer
bddc29101c
Introduce Group::aboutToMove() and moved() signals.
...
Emit them instead of remove/add when groups are moved within
a database.
2012-04-23 16:57:08 +02:00
Florian Geyer
222abe09d9
Make save order for deleted objects consistent.
2012-04-22 19:59:50 +02:00
Felix Geyer
ef26065a99
Update LocationChanged time when entries and groups are moved.
...
Closes #3
2012-04-22 12:10:21 +02:00
Felix Geyer
0bcce7ce7f
Remove some unnecessary initializations.
2012-04-22 00:38:21 +02:00
Felix Geyer
411617cc8b
Add convenience function Database::addDeletedObject(const Uuid&).
...
Drop Group::addDeletedObject() and make Entry call the Database function
instead.
2012-04-22 00:29:39 +02:00
Florian Geyer
5dc21a191b
Clean up group deletion.
2012-04-22 00:11:17 +02:00
Florian Geyer
8467e7756d
Add ability to delete groups via gui.
2012-04-22 00:11:17 +02:00
Felix Geyer
19bacd6737
Use QPointer for Entry::m_lastTopVisibleEntry.
...
Closes #14
2012-04-22 00:10:04 +02:00