From 4eb3718f2678e29cde2cfa9be6c902d8382a5c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Quentin?= <jquentin@jquentin-laptop-kub2.(none)> Date: Tue, 21 Jul 2009 10:44:10 -0400 Subject: [PATCH] [#1886] --- sflphone-client-kde/src/SFLPhone.cpp | 4 ---- sflphone-client-kde/src/SFLPhone.h | 15 ++++++++++++++- sflphone-client-kde/src/sflphone_kdeview.h | 5 ++++- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/sflphone-client-kde/src/SFLPhone.cpp b/sflphone-client-kde/src/SFLPhone.cpp index 48ebe89989..e76315289b 100644 --- a/sflphone-client-kde/src/SFLPhone.cpp +++ b/sflphone-client-kde/src/SFLPhone.cpp @@ -37,10 +37,6 @@ #include "configurationmanager_interface_singleton.h" -/** - * - * @param parent - */ SFLPhone::SFLPhone(QWidget *parent) : KXmlGuiWindow(parent), view(new sflphone_kdeView(this)) diff --git a/sflphone-client-kde/src/SFLPhone.h b/sflphone-client-kde/src/SFLPhone.h index f0b3992b3b..3904a91cef 100644 --- a/sflphone-client-kde/src/SFLPhone.h +++ b/sflphone-client-kde/src/SFLPhone.h @@ -41,7 +41,20 @@ class sflphone_kdeView; - +/** + * This class represents the SFLphone main window + * It implements the methods relative to windowing + * (status, menus, toolbars, notifications...). + * It uses a view which implements the real functionning + * and features of the phone. + * The display of the window is according to the state of the view, + * so the view sends some signals to ask for changes on the window + * that the window has to take into account. + * + * @short Main window + * @author Jérémy Quentin <jeremy.quentin@savoirfairelinux.com> + * @version 0.9.6 +**/ class SFLPhone : public KXmlGuiWindow { Q_OBJECT diff --git a/sflphone-client-kde/src/sflphone_kdeview.h b/sflphone-client-kde/src/sflphone_kdeview.h index 9387fbab46..0e96de7228 100644 --- a/sflphone-client-kde/src/sflphone_kdeview.h +++ b/sflphone-client-kde/src/sflphone_kdeview.h @@ -48,10 +48,13 @@ class ConfigurationDialogKDE; * This is the main view class for sflphone-client-kde. Most of the non-menu, * non-toolbar, and non-statusbar (e.g., non frame) GUI code should go * here. + * As the state of the view has effects on the window, + * it emits some signals to ask for changes that the window has + * to treat. * * @short Main view * @author Jérémy Quentin <jeremy.quentin@savoirfairelinux.com> - * @version 0.1 + * @version 0.9.6 */ class sflphone_kdeView : public QWidget, public Ui::SFLPhone_view { -- GitLab