From 06d25e3ba95f8bc8c1c41a8c35750d73863d5826 Mon Sep 17 00:00:00 2001 From: Markus Wuebben Date: Fri, 13 Feb 1998 20:23:14 +0000 Subject: [PATCH] //: Minor changes to kmnewiostatus* svn path=/trunk/kdenetwork/kmail/; revision=5263 --- kmnewiostatus.cpp | 4 ++++ kmnewiostatus.h | 3 +++ kmnewiostatuswdg.cpp | 4 ++++ kmnewiostatuswdg.h | 3 +++ 4 files changed, 14 insertions(+) diff --git a/kmnewiostatus.cpp b/kmnewiostatus.cpp index 228cc0906..2c7a0aea0 100644 --- a/kmnewiostatus.cpp +++ b/kmnewiostatus.cpp @@ -38,6 +38,10 @@ void KMIOStatus::update() { } +void KMIOStatus::newMail(bool _newMail) { + +} + KMIOStatus::task KMIOStatus::Task() { return _task; diff --git a/kmnewiostatus.h b/kmnewiostatus.h index 783d5e98a..f20232bf4 100644 --- a/kmnewiostatus.h +++ b/kmnewiostatus.h @@ -46,6 +46,9 @@ class KMIOStatus : public QWidget /** Tell widget that the tranmission has been completed **/ virtual void transmissionCompleted(); + /** Tell widget that new mail arrived / has to be sent or not + virtual void newMail(bool); + private slots: virtual void abortPressed(); diff --git a/kmnewiostatuswdg.cpp b/kmnewiostatuswdg.cpp index ad971513f..7310a0480 100644 --- a/kmnewiostatuswdg.cpp +++ b/kmnewiostatuswdg.cpp @@ -54,6 +54,10 @@ KMIOStatusWdg::~KMIOStatusWdg() { } +void KMIOStatusWdg::newMail(bool _newMail) { + +} + void KMIOStatusWdg::updateProgressBar(int index ,int of) { float value; diff --git a/kmnewiostatuswdg.h b/kmnewiostatuswdg.h index 651005cd8..6b00bdee8 100644 --- a/kmnewiostatuswdg.h +++ b/kmnewiostatuswdg.h @@ -31,6 +31,9 @@ class KMIOStatusWdg : public KMIOStatus /** Tell widget that the tranmission has been completed **/ void transmissionCompleted(); + /** Tell widget if mail has to be sent or arrived or not **/ + void newMail(bool); + private slots: void abortPressed(); void update();