#include <channelstore.h>
Inheritance diagram for ChannelStore::
Public Slots | |
void | setName (const QString &filename) |
bool | reload () |
void | addChannel (Channel *channel) |
int | removeChannel (int idx) |
int | removeChannelNumber (int n) |
int | removeChannel (Channel *channel) |
void | addChannels (const ChannelStore &nstore) |
void | clear () |
void | renumber (int start) |
void | renumber () |
Signals | |
void | channelAdded (Channel *x) |
void | channelRemoved (Channel *x) |
void | aboutToReload () |
void | loaded () |
void | saved () |
Public Methods | |
ChannelStore (QtVision *qtv, QObject *parent, const char *name=0) | |
virtual | ~ChannelStore () |
uint | count () const |
bool | isEmpty () const |
bool | load (const QString &filename=QString::null, const char *fmt=0) |
bool | save (const QString &filename=QString::null, const char *fmt=0) |
const QString & | fileName () const |
DCOPRef | channelIfaceAt (int idx) |
Channel * | addChannel (ulong freq) |
Channel * | channelAt (int idx) |
Channel * | channelNumber (int n) |
Channel * | channelAfter (Channel *channel) |
Channel * | channelBefore (Channel *channel) |
|
Returns a DCOP reference to the Channel at the specified index.
Reimplemented from QtVisionChannelStoreIface. |
|
Adds channels from
|
|
Renumbers the channels from 2.
Reimplemented from QtVisionChannelStoreIface. |