"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gui/widgetVisibilityHandler/WidgetVisibilityHandler.h" between
ksnip-1.8.1.tar.gz and ksnip-1.8.2.tar.gz

About: ksnip is a Qt based cross-platform screenshot tool that provides many annotation features for your screenshots.

WidgetVisibilityHandler.h  (ksnip-1.8.1):WidgetVisibilityHandler.h  (ksnip-1.8.2)
skipping to change at line 34 skipping to change at line 34
#include "src/backend/config/KsnipConfig.h" #include "src/backend/config/KsnipConfig.h"
class WidgetVisibilityHandler class WidgetVisibilityHandler
{ {
public: public:
explicit WidgetVisibilityHandler(QWidget *widget); explicit WidgetVisibilityHandler(QWidget *widget);
~WidgetVisibilityHandler() = default; ~WidgetVisibilityHandler() = default;
virtual void hide(); virtual void hide();
virtual void makeInvisible(); virtual void makeInvisible();
virtual void minimize(); virtual void show();
virtual void restoreVisibility(); virtual void restoreState();
virtual void enforceVisible(); virtual void enforceVisible();
virtual bool isMaximized(); virtual bool isMaximized();
virtual void updateState(); virtual void updateState();
protected: protected:
QWidget *mWidget; QWidget *mWidget;
virtual void setVisible(bool isVisible); virtual void setVisible(bool isVisible);
private: private:
bool mWindowStateChangeLock; bool mWindowStateChangeLock;
bool mWasMinimized; bool mIsMinimized;
bool mIsHidden;
Qt::WindowState mSelectedWindowState; Qt::WindowState mSelectedWindowState;
void showWidget(); void showWidget();
}; };
 End of changes. 2 change blocks. 
3 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)