From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/kmfolderdia.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kmail/kmfolderdia.h') diff --git a/kmail/kmfolderdia.h b/kmail/kmfolderdia.h index 4db30ab12..31fb26d9b 100644 --- a/kmail/kmfolderdia.h +++ b/kmail/kmfolderdia.h @@ -82,12 +82,12 @@ public: /// @return whether save succeeded virtual bool save() = 0; - enum AcceptStatus { Accepted, Canceled, Delayed }; + enum AccepStatus { Accepted, Canceled, Delayed }; /// Called when clicking OK. /// If a module returns Delayed, the closing is cancelled for now, /// and the module can close the dialog later on (i.e. after an async /// operation like a KIO job). - virtual AcceptStatus accept() { + virtual AccepStatus accept() { return save() ? Accepted : Canceled; } -- cgit v1.2.1