r18825 by jghali - the visibilityChanged() signal is now part from QToolBar, remove it from ScToolBar
scribus-commit
scribus-commit at lists.scribus.net
Wed Feb 19 06:27:49 UTC 2014
Author: jghali
Date: Wed Feb 19 06:27:48 2014
New Revision: 18825
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18825
Log:
the visibilityChanged() signal is now part from QToolBar, remove it from ScToolBar
Modified:
trunk/Scribus/scribus/ui/sctoolbar.cpp
trunk/Scribus/scribus/ui/sctoolbar.h
Modified: trunk/Scribus/scribus/ui/sctoolbar.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18825&path=/trunk/Scribus/scribus/ui/sctoolbar.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/sctoolbar.cpp (original)
+++ trunk/Scribus/scribus/ui/sctoolbar.cpp Wed Feb 19 06:27:48 2014
@@ -308,14 +308,3 @@
}
-void ScToolBar::hideEvent(QHideEvent * e)
-{
- emit visibilityChanged(isVisible());
- QToolBar::hideEvent(e);
-}
-
-void ScToolBar::showEvent(QShowEvent * e)
-{
- emit visibilityChanged(isVisible());
- QToolBar::showEvent(e);
-}
Modified: trunk/Scribus/scribus/ui/sctoolbar.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18825&path=/trunk/Scribus/scribus/ui/sctoolbar.h
==============================================================================
--- trunk/Scribus/scribus/ui/sctoolbar.h (original)
+++ trunk/Scribus/scribus/ui/sctoolbar.h Wed Feb 19 06:27:48 2014
@@ -54,9 +54,6 @@
// void storeDockPosition();
// void moveDock();
void initVisibility();
-
-signals:
- void visibilityChanged(bool);
public slots:
void languageChange();
@@ -88,8 +85,6 @@
// void initPrefsButton();
// void storeDockPositions();
// void moveDocks();
- void hideEvent(QHideEvent * e);
- void showEvent(QShowEvent * e);
enum Orientation { Vert, Hor };
};
More information about the scribus-commit
mailing list