KFileMetaData

typeinfo.h
1 /*
2  * <one line to give the library's name and an idea of what it does.>
3  * Copyright (C) 2014 Vishesh Handa <[email protected]>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library 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 GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  *
19  */
20 
21 #ifndef KFILEMETADATA_TYPEINFO_H
22 #define KFILEMETADATA_TYPEINFO_H
23 
24 #include "types.h"
25 #include "kfilemetadata_export.h"
26 #include <QString>
27 
28 namespace KFileMetaData {
29 
33 class KFILEMETADATA_EXPORT TypeInfo
34 {
35 public:
36  TypeInfo(Type::Type type);
37  TypeInfo(const TypeInfo& ti);
38  ~TypeInfo();
39 
40  TypeInfo& operator=(const TypeInfo& rhs);
41  bool operator==(const TypeInfo& rhs);
42 
46  Type::Type type() const;
47 
51  QString name() const;
52 
56  QString displayName() const;
57 
62  static TypeInfo fromName(const QString& name);
63 
64 private:
65  class Private;
66  Private* d;
67 };
68 }
69 
70 #endif // KFILEMETADATA_TYPEINFO_H
QString name(const QVariant &location)
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Type type(const QSqlDatabase &db)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jun 2 2020 22:55:51 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.