D7191: Added startInCurrentSessionDir property

Sven Fischer noreply at phabricator.kde.org
Mon Aug 7 15:40:16 UTC 2017


svenihoney created this revision.
Restricted Application added a subscriber: Konsole.
Restricted Application added a project: Konsole.

REVISION SUMMARY
  For users of this kpart, a read-only property has been introduced to
  enable clients to determine the status of the setting in the profile.

TEST PLAN
  Instantiate a konsole part with
  
    KService::Ptr service = KService::serviceByDesktopName(QStringLiteral("konsolepart"));
    if( service )
    {
        factory = KPluginLoader(service->library()).factory();
    }
    
    m_part = factory ? (factory->create<KParts::Part>(parent)) : 0;
  
  and query the property with `m_part->property("startInCurrentSessionDir");`. It should return the preferences property as set in konsole.

REPOSITORY
  R319 Konsole

BRANCH
  feature/yakuake-support (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D7191

AFFECTED FILES
  src/Part.cpp
  src/Part.h

To: svenihoney, hindenburg
Cc: #konsole, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20170807/f0492921/attachment.html>


More information about the konsole-devel mailing list