[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/desktop/shell
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2011-01-05 4:03:38
Message-ID: 20110105040338.D9A76AC8B0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1211851 by aseigo:
allow finding out what is showing (or not)
M +12 -4 controllerwindow.cpp
M +3 -0 controllerwindow.h
--- trunk/KDE/kdebase/workspace/plasma/desktop/shell/controllerwindow.cpp #1211850:1211851
@@ -228,7 +228,7 @@
}
if (!moved) {
- // set it to the bottom of the screen as we have no better hints to go by
+ // set it to ehe bottom of the screen as we have no better hints to go by
QRect geom = QApplication::desktop()->availableGeometry(screen());
setGeometry(geom.x(), geom.bottom() - height(), geom.width(), height());
}
@@ -267,11 +267,9 @@
m_graphicsWidget->resize(windowSize.width(), m_graphicsWidget->size().height());
}
+ setMinimumSize(windowSize);
resize(windowSize);
- setMinimumSize(windowSize);
-
-
updateGeometry();
//reposition and resize the view.
@@ -427,6 +425,11 @@
}
}
+bool ControllerWindow::showingWidgetExplorer() const
+{
+ return m_widgetExplorer;
+}
+
void ControllerWindow::showActivityManager()
{
if (!m_activityManager) {
@@ -456,6 +459,11 @@
}
}
+bool ControllerWindow::showingActivityManager() const
+{
+ return m_activityManager;
+}
+
bool ControllerWindow::isControllerViewVisible() const
{
return m_view && m_view->isVisible();
--- trunk/KDE/kdebase/workspace/plasma/desktop/shell/controllerwindow.h #1211850:1211851
@@ -67,6 +67,9 @@
int screen() const;
void setScreen(int screen);
+ bool showingWidgetExplorer() const;
+ bool showingActivityManager() const;
+
public Q_SLOTS:
void activate();
void showWidgetExplorer();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic