Update windows version

This commit is contained in:
Ximi1970
2023-07-22 23:29:45 +02:00
parent a6a7bfb070
commit f2ca0eefcb
2 changed files with 37 additions and 0 deletions

View File

@@ -85,6 +85,24 @@ Preferences::MinimizeType WindowCtrlWin::getMinimizeType() const
}
/*
* Set the minimize icon type
*/
void WindowCtrlWin::setMinimizeIconType( Preferences::MinimizeIconType type )
{
m_minimize_icon_type = type;
}
/*
* Get the minimize icon type
*/
Preferences::MinimizeIconType WindowCtrlWin::getMinimizeIconType() const
{
return m_minimize_icon_type;
}
/*
* Get the parent pid of SysTray-X, TB hopefully
*/

View File

@@ -79,6 +79,20 @@ class WindowCtrlWin : public QObject
*/
Preferences::MinimizeType getMinimizeType() const;
/**
* @brief setMinimizeIconType
*
* @param type Set the minimize icon type.
*/
void setMinimizeIconType( Preferences::MinimizeIconType type );
/**
* @brief getMinimizeIconType
*
* @return The minimize icon type.
*/
Preferences::MinimizeIconType getMinimizeIconType() const;
/**
* @brief getPpid. Get the parent process id.
*
@@ -298,6 +312,11 @@ class WindowCtrlWin : public QObject
*/
Preferences::MinimizeType m_minimize_type;
/**
* @brief m_minimize_icon_type. Minimize icon type.
*/
Preferences::MinimizeIconType m_minimize_icon_type;
/**
* @brief m_hook
*/