Fix vacation. The last commit changed two lines and managed to introduce two bugs in it: 1. There's a reason that u is tested for emptiness. Look at findUrlForAccount(). 2. Apart from that fact that using Qt's version of Java's reflection API    makes safe refactoring impossible (b/c the compiler can't check it),    one also needs to take care to always use the fully qualified name.    Thus, (new ImapAccountBase())->inherits(ImapAccountBase)) is always    _false_.
Fix vacation. The last commit changed two lines and managed to introduce two bugs in it:
1. There's a reason that u is tested for emptiness. Look at findUrlForAccount().
2. Apart from that fact that using Qt's version of Java's reflection API
   makes safe refactoring impossible (b/c the compiler can't check it),
   one also needs to take care to always use the fully qualified name.
   Thus, (new ImapAccountBase())->inherits(ImapAccountBase)) is always
   _false_.

If there's a problem with dynamic_cast<> here (other than that it's standard
and not the Qt-way), feel free to fix _that_ problem, but _please_ _test_
before you commit (or post the patch, although posting shouldn't replace testing). This little thing has cost me half an hour of debugging :-((

svn path=/trunk/kdepim/; revision=232715

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi