• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kmail

  • sources
  • kde-4.14
  • kdepim
  • kmail
  • configuredialog
  • configureagents
configureagentitem.cpp
Go to the documentation of this file.
1 /*
2  Copyright (c) 2015 Montel Laurent <montel@kde.org>
3 
4  This program is free software; you can redistribute it and/or modify it
5  under the terms of the GNU General Public License, version 2, as
6  published by the Free Software Foundation.
7 
8  This program is distributed in the hope that it will be useful, but
9  WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License along
14  with this program; if not, write to the Free Software Foundation, Inc.,
15  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 
18 
19 #include "configureagentitem.h"
20 
21 ConfigureAgentItem::ConfigureAgentItem()
22  : mChecked(false),
23  mFailed(false)
24 {
25 
26 }
27 
28 ConfigureAgentItem::~ConfigureAgentItem()
29 {
30 
31 }
32 
33 QString ConfigureAgentItem::agentName() const
34 {
35  return mAgentName;
36 }
37 
38 void ConfigureAgentItem::setAgentName(const QString &agentName)
39 {
40  mAgentName = agentName;
41 }
42 
43 QString ConfigureAgentItem::description() const
44 {
45  return mDescription;
46 }
47 
48 void ConfigureAgentItem::setDescription(const QString &description)
49 {
50  mDescription = description;
51 }
52 
53 QString ConfigureAgentItem::path() const
54 {
55  return mPath;
56 }
57 
58 void ConfigureAgentItem::setPath(const QString &path)
59 {
60  mPath = path;
61 }
62 
63 QString ConfigureAgentItem::interfaceName() const
64 {
65  return mInterfaceName;
66 }
67 
68 void ConfigureAgentItem::setInterfaceName(const QString &interfaceName)
69 {
70  mInterfaceName = interfaceName;
71 }
72 
73 bool ConfigureAgentItem::checked() const
74 {
75  return mChecked;
76 }
77 
78 void ConfigureAgentItem::setChecked(bool checked)
79 {
80  mChecked = checked;
81 }
82 
83 bool ConfigureAgentItem::failed() const
84 {
85  return mFailed;
86 }
87 
88 void ConfigureAgentItem::setFailed(bool failed)
89 {
90  mFailed = failed;
91 }
92 
93 bool ConfigureAgentItem::operator ==(const ConfigureAgentItem &other) const
94 {
95  return (mAgentName == other.agentName()) &&
96  (mDescription == other.description()) &&
97  (mPath == other.path()) &&
98  (mInterfaceName == other.interfaceName()) &&
99  (mChecked == other.checked()) &&
100  (mFailed == other.failed());
101 }
102 
103 
104 
105 
106 
107 
108 
ConfigureAgentItem::setPath
void setPath(const QString &path)
Definition: configureagentitem.cpp:58
ConfigureAgentItem::agentName
QString agentName() const
Definition: configureagentitem.cpp:33
ConfigureAgentItem::description
QString description() const
Definition: configureagentitem.cpp:43
ConfigureAgentItem::~ConfigureAgentItem
~ConfigureAgentItem()
Definition: configureagentitem.cpp:28
ConfigureAgentItem
Definition: configureagentitem.h:23
ConfigureAgentItem::setChecked
void setChecked(bool checked)
Definition: configureagentitem.cpp:78
ConfigureAgentItem::operator==
bool operator==(const ConfigureAgentItem &other) const
Definition: configureagentitem.cpp:93
ConfigureAgentItem::setInterfaceName
void setInterfaceName(const QString &interfaceName)
Definition: configureagentitem.cpp:68
ConfigureAgentItem::ConfigureAgentItem
ConfigureAgentItem()
Definition: configureagentitem.cpp:21
QString
ConfigureAgentItem::setFailed
void setFailed(bool failed)
Definition: configureagentitem.cpp:88
ConfigureAgentItem::interfaceName
QString interfaceName() const
Definition: configureagentitem.cpp:63
ConfigureAgentItem::setAgentName
void setAgentName(const QString &agentName)
Definition: configureagentitem.cpp:38
ConfigureAgentItem::setDescription
void setDescription(const QString &description)
Definition: configureagentitem.cpp:48
ConfigureAgentItem::checked
bool checked() const
Definition: configureagentitem.cpp:73
ConfigureAgentItem::path
QString path() const
Definition: configureagentitem.cpp:53
ConfigureAgentItem::failed
bool failed() const
Definition: configureagentitem.cpp:83
configureagentitem.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal