Prep multi win for win

This commit is contained in:
Ximi1970
2020-06-21 17:31:56 +02:00
parent bdb6bc9d80
commit 1a64553c67
2 changed files with 2 additions and 62 deletions

View File

@@ -59,26 +59,6 @@ WindowCtrlWin::~WindowCtrlWin()
}
/*
* Set the window state.
*/
void WindowCtrlWin::setWindowState( int state )
{
m_window_state = state;
}
/**
* @brief getWindowState. Get the window state.
*
* @return The state.
*/
int WindowCtrlWin::getWindowState() const
{
return m_window_state;
}
/*
* Set the minimize type
*/
@@ -190,7 +170,7 @@ BOOL CALLBACK WindowCtrlWin::enumWindowsTitleProc( HWND hwnd, LPARAM lParam )
/*
* Find the window by pid
*/
bool WindowCtrlWin::findWindow( qint64 pid )
bool WindowCtrlWin::findWindows( qint64 pid )
{
EnumWindowsPidProcData data;
data.pid = pid;
@@ -264,15 +244,6 @@ void WindowCtrlWin::displayWindowElements( quint64 window )
}
/*
* Get the Thunderbird window ID
*/
quint64 WindowCtrlWin::getWinId()
{
return m_tb_window;
}
/*
* Get the Thunderbird window IDs
*/

View File

@@ -64,20 +64,6 @@ class WindowCtrlWin : public QObject
*/
~WindowCtrlWin();
/**
* @brief setWindowState. Set the window state.
*
* @param state The state.
*/
void setWindowState( int state );
/**
* @brief getWindowState. Get the window state.
*
* @return The state.
*/
int getWindowState() const;
/**
* @brief setMinimizeType
*
@@ -133,7 +119,7 @@ class WindowCtrlWin : public QObject
*
* @return State of the find.
*/
bool findWindow( qint64 pid );
bool findWindows( qint64 pid );
/**
* @brief displayWindowElements. Display window elements.
@@ -149,13 +135,6 @@ class WindowCtrlWin : public QObject
*/
void displayWindowElements( quint64 window );
/**
* @brief getWinId. Get the Thunderbird window ID.
*
* @return The TB window ID.
*/
quint64 getWinId();
/**
* @brief getWinIds. Get the Thunderbird window IDs.
*
@@ -296,11 +275,6 @@ class WindowCtrlWin : public QObject
private:
/**
* @brief m_tb_window. The Thunderbird window.
*/
quint64 m_tb_window;
/**
* @brief m_tb_window. The Thunderbird windows.
*/
@@ -311,11 +285,6 @@ class WindowCtrlWin : public QObject
*/
Preferences::MinimizeType m_minimize_type;
/**
* @brief m_window_state. State of the TB window.
*/
int m_window_state;
/**
* @brief m_hook
*/