From b840d14b4c2c12e76af87fa3af784034e80bd0b4 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 8 Dec 2005 17:09:51 +0000 Subject: small fixes --- lib/gui/ewindow.cpp | 5 +++++ lib/gui/ewindow.h | 1 + 2 files changed, 6 insertions(+) (limited to 'lib/gui') diff --git a/lib/gui/ewindow.cpp b/lib/gui/ewindow.cpp index 622e8b0a..54a35958 100644 --- a/lib/gui/ewindow.cpp +++ b/lib/gui/ewindow.cpp @@ -43,6 +43,11 @@ void eWindow::setTitle(const std::string &string) event(evtTitleChanged); } +std::string eWindow::getTitle() const +{ + return m_title; +} + void eWindow::setFlag(int flags) { m_flags |= flags; diff --git a/lib/gui/ewindow.h b/lib/gui/ewindow.h index 33ad7a72..a5b92eda 100644 --- a/lib/gui/ewindow.h +++ b/lib/gui/ewindow.h @@ -13,6 +13,7 @@ public: eWindow(eWidgetDesktop *desktop); ~eWindow(); void setTitle(const std::string &string); + std::string getTitle() const; eWidget *child() { return m_child; } enum { -- cgit v1.2.3