adjusted ctor and getter function to KDE/Qt conventions