diff --git a/app/SysTray-X/windowctrl-win.cpp b/app/SysTray-X/windowctrl-win.cpp index fcd5870..6dcf46c 100644 --- a/app/SysTray-X/windowctrl-win.cpp +++ b/app/SysTray-X/windowctrl-win.cpp @@ -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 */ diff --git a/app/SysTray-X/windowctrl-win.h b/app/SysTray-X/windowctrl-win.h index b42f6fc..d0df51c 100644 --- a/app/SysTray-X/windowctrl-win.h +++ b/app/SysTray-X/windowctrl-win.h @@ -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 */