WindowStateSaver QML Type

Creates a KWindowStateSaver in QML, and assigns it to the window it's parented to. More...

Import Statement: import org.kde.config
Since: 6.5

Properties

Detailed Description

Functions exactly as KWindowStateSaver in C++, as it's a small wrapper around it.

 import org.kde.config as KConfig

 Kirigami.ApplicationWindow {
     id: root

     title: i18n("My Window")

     KConfig.WindowStateSaver {
         configGroupName: "Main"
     }
 }

See also KWindowStateSaver.

Property Documentation

configGroupName : string