kradio4 r778
|
00001 /*************************************************************************** 00002 stationlistmetadata.h - description 00003 ------------------- 00004 begin : Sat March 29 2003 00005 copyright : (C) 2003 by Klas Kalass 00006 email : klas@kde.org 00007 copyright : (C) 2002 by Martin Witte / Frank Schwanz 00008 email : emw-kradio@nocabal.de / schwanz@fh-brandenburg.de 00009 ***************************************************************************/ 00010 00011 /*************************************************************************** 00012 * * 00013 * This program is free software; you can redistribute it and/or modify * 00014 * it under the terms of the GNU General Public License as published by * 00015 * the Free Software Foundation; either version 2 of the License, or * 00016 * (at your option) any later version. * 00017 * * 00018 ***************************************************************************/ 00019 00020 #ifndef STATIONLISTMETADATA_H 00021 #define STATIONLISTMETADATA_H 00022 00023 #ifdef HAVE_CONFIG_H 00024 #include <config.h> 00025 #endif 00026 00027 #include <QtCore/QString> 00028 #include <QtCore/QDateTime> 00029 00035 class KDE_EXPORT StationListMetaData { 00036 public: 00037 QString maintainer; 00038 QDateTime lastChange; 00039 QString country; 00040 QString city; 00041 QString media; 00042 QString comment; 00043 00044 bool operator != (const StationListMetaData &x) const { return !operator ==(x); } 00045 bool operator == (const StationListMetaData &x) const { 00046 return maintainer == x.maintainer && 00047 lastChange == x.lastChange && 00048 country == x.country && 00049 city == x.city && 00050 media == x.media && 00051 comment == x.comment; 00052 } 00053 }; 00054 00055 #endif