phonon/phononnamespace.h File Reference

phononnamespace.h File Reference
#include "phonon_export.h"
#include <QtCore/QMetaType>

Namespaces

 Phonon
 The KDE Multimedia classes.
 

Macros

#define PHONON_VERSION_CHECK(major, minor, patch)   ((major<<16)|(minor<<8)|(patch))
 Helper macro that can be used like. More...
 
#define PHONON_VERSION   PHONON_VERSION_CHECK(4, 4, 0)
 PHONON_VERSION is (major << 16) + (minor << 8) + patch. More...
 
#define PHONON_VERSION_STR   "4.4.0"
 PHONON_VERSION_STR is "major.minor.patch". More...
 

Enumerations

enum  DiscType { NoDisc = -1, Cd = 0, Dvd = 1, Vcd = 2 }
 Enum to identify the media discs supported by MediaObject. More...
 
enum  MetaData {
  ArtistMetaData, AlbumMetaData, TitleMetaData, DateMetaData,
  GenreMetaData, TracknumberMetaData, DescriptionMetaData, MusicBrainzDiscIdMetaData
}
 Provided as keys for MediaObject::metaData for convenience, in addition to the strings defined in the Ogg Vorbis specification. More...
 
enum  State {
  LoadingState, StoppedState, PlayingState, BufferingState,
  PausedState, ErrorState
}
 The state the media producing object is in at the moment. More...
 
enum  Category {
  NoCategory = -1, NotificationCategory = 0, MusicCategory = 1, VideoCategory = 2,
  CommunicationCategory = 3, GameCategory = 4, AccessibilityCategory = 5, LastCategory = AccessibilityCategory
}
 Set's the category your program should be listed in in the mixer. More...
 
enum  ErrorType { NoError = 0, NormalError = 1, FatalError = 2 }
 Tells your program how to recover from an error. More...
 

Functions

PHONON_EXPORT const char * phononVersion ()
 
PHONON_EXPORT QString categoryToString (Category c)
 Returns a (translated) string to show to the user identifying the given Category. More...
 

Macro Definition Documentation

#define PHONON_VERSION_CHECK (   major,
  minor,
  patch 
)    ((major<<16)|(minor<<8)|(patch))

Helper macro that can be used like.

1 #if (PHONON_VERSION >= PHONON_VERSION_CHECK(4, 4, 0))

Definition at line 39 of file phononnamespace.h.

#define PHONON_VERSION   PHONON_VERSION_CHECK(4, 4, 0)

PHONON_VERSION is (major << 16) + (minor << 8) + patch.

Definition at line 44 of file phononnamespace.h.

#define PHONON_VERSION_STR   "4.4.0"

PHONON_VERSION_STR is "major.minor.patch".

E.g. "4.2.1"

Definition at line 49 of file phononnamespace.h.

Go to the source code of this file.