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

kgpg

  • sources
  • kde-4.14
  • kdeutils
  • kgpg
  • core
emailvalidator.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2006 by Jimmy Gilles *
3  * jimmygilles@gmail.com *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
19  ***************************************************************************/
20 
21 #ifndef EMAILVALIDATOR_H
22 #define EMAILVALIDATOR_H
23 
24 #include <QValidator>
25 
26 namespace KgpgCore
27 {
28 
29 class EmailValidator : public QValidator
30 {
31 public:
32  explicit EmailValidator(QObject *parent = 0) : QValidator(parent) { }
33  virtual QValidator::State validate(QString &input, int &pos) const;
34 };
35 
36 } // namespace KgpgCore
37 
38 #endif // EMAILVALIDATOR_H
QObject
QString
KgpgCore::EmailValidator::EmailValidator
EmailValidator(QObject *parent=0)
Definition: emailvalidator.h:32
QObject::parent
QObject * parent() const
KgpgCore::EmailValidator
Definition: emailvalidator.h:29
KgpgCore::EmailValidator::validate
virtual QValidator::State validate(QString &input, int &pos) const
Definition: emailvalidator.cpp:30
QValidator
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgpg

Skip menu "kgpg"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

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