From 4b243af3de3ff2534a0d87225f52074490bdf8fd Mon Sep 17 00:00:00 2001 From: Johann Latocha Date: Sat, 4 Jun 2011 12:36:31 +0200 Subject: Enhancement #831 --- src/gui/connectionFrame.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/connectionFrame.cpp') diff --git a/src/gui/connectionFrame.cpp b/src/gui/connectionFrame.cpp index 32e20f7..f927706 100644 --- a/src/gui/connectionFrame.cpp +++ b/src/gui/connectionFrame.cpp @@ -490,6 +490,11 @@ void ConnectionFrame::setDozent(bool isDozent) _dozentContaimner->setDisabled(true); } +bool ConnectionFrame::isDozent() +{ + return _dozentContaimner->isEnabled(); +} + void ConnectionFrame::on_click() { //std::cout << "HALLO! WAS?" << std::endl; -- cgit v1.2.3-55-g7522