QtTvDB 0.3.0
Classes | Namespaces | Defines | Functions

qttvdb.h File Reference

#include "qttvdb_export.h"
#include <QtCore/QObject>
#include <QtCore/QStringList>
#include <QtCore/QUrl>
#include <QtCore/QDateTime>
#include <QtXml/QDomNode>
#include <QtCore/QVariant>
#include <QtCore/QPair>

Go to the source code of this file.

Classes

class  QtTvDB::Mirrors
class  QtTvDB::Episode
class  QtTvDB::Show
class  QtTvDB::Banner

Namespaces

namespace  QtTvDB

Defines

#define TVDB_PROPERTY(type_, name_, getter_, setter_)

Functions

 Q_DECLARE_METATYPE (QtTvDB::Mirrors *)
 Q_DECLARE_METATYPE (QtTvDB::Episode *)
 Q_DECLARE_METATYPE (QtTvDB::Show *)
 Q_DECLARE_METATYPE (QtTvDB::Banner *)

Define Documentation

#define TVDB_PROPERTY (   type_,
  name_,
  getter_,
  setter_ 
)
Value:
private:                                                                \
  type_ name_##_;                                                       \
public:                                                                 \
  inline type_ & getter_() {                                            \
      return name_##_;                                                  \
  }                                                                     \
  inline type_ const & getter_() const {                                \
      return name_##_;                                                  \
  }                                                                     \
  inline void setter_(type_ const & name_##__) {                        \
      name_##_ = name_##__;                                             \
      emit name_##Changed();                                            \
  }

Function Documentation

Q_DECLARE_METATYPE ( QtTvDB::Mirrors )
Q_DECLARE_METATYPE ( QtTvDB::Banner )
Q_DECLARE_METATYPE ( QtTvDB::Show )
Q_DECLARE_METATYPE ( QtTvDB::Episode )