Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

RemoteTab Class Reference

#include </home/clem/local/src/opie/noncore/tools/remote/remotetab.h>

Collaboration diagram for RemoteTab:

Collaboration graph
[legend]
List of all members.

Public Slots

int sendIR ()
void remoteSelected (const QString &string)

Public Member Functions

 RemoteTab (QWidget *parent=0, const char *name=0)
void setIRSocket (int newfd)
const char * readPacket ()
void setConfig (Config *newCfg)
void updateRemotesList ()

Private Attributes

int fd
int timeout
sockaddr_un addr
Configcfg
TopGrouptopGroup
DVDGroupdvdGroup
VCRGroupvcrGroup
ChannelGroupchannelGroup

Constructor & Destructor Documentation

RemoteTab::RemoteTab QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 19 of file remotetab.cpp.

References addr, channelGroup, dvdGroup, printf, timeout, topGroup, and vcrGroup.


Member Function Documentation

const char * RemoteTab::readPacket  ) 
 

Definition at line 114 of file remotetab.cpp.

References end, fd, NULL, PACKET_SIZE, timeout, and TIMEOUT.

Referenced by sendIR().

void RemoteTab::remoteSelected const QString string  )  [slot]
 

Definition at line 181 of file remotetab.cpp.

References cfg, channelGroup, dvdGroup, Config::hasKey(), printf, Config::readEntry(), Config::setGroup(), topGroup, and vcrGroup.

int RemoteTab::sendIR  )  [slot]
 

Definition at line 54 of file remotetab.cpp.

References addr, cfg, fd, QString::latin1(), Opie::Core::perror(), printf, Config::readEntry(), readPacket(), Opie::Internal::string(), and write().

void RemoteTab::setConfig Config newCfg  ) 
 

Definition at line 174 of file remotetab.cpp.

References cfg, Config::setGroup(), topGroup, and TopGroup::updateRemotes().

void RemoteTab::setIRSocket int  newfd  ) 
 

Definition at line 169 of file remotetab.cpp.

References fd.

Referenced by MainView::MainView(), and MainView::setIRSocket().

void RemoteTab::updateRemotesList  ) 
 

Definition at line 260 of file remotetab.cpp.

References cfg, topGroup, and TopGroup::updateRemotes().

Referenced by MainView::updateRemotesList().


Member Data Documentation

struct sockaddr_un RemoteTab::addr [private]
 

Definition at line 58 of file remotetab.h.

Referenced by RemoteTab(), and sendIR().

Config* RemoteTab::cfg [private]
 

Definition at line 59 of file remotetab.h.

Referenced by remoteSelected(), sendIR(), setConfig(), and updateRemotesList().

ChannelGroup* RemoteTab::channelGroup [private]
 

Definition at line 63 of file remotetab.h.

Referenced by remoteSelected(), and RemoteTab().

DVDGroup* RemoteTab::dvdGroup [private]
 

Definition at line 61 of file remotetab.h.

Referenced by remoteSelected(), and RemoteTab().

int RemoteTab::fd [private]
 

Definition at line 56 of file remotetab.h.

Referenced by readPacket(), sendIR(), and setIRSocket().

int RemoteTab::timeout [private]
 

Definition at line 57 of file remotetab.h.

Referenced by readPacket(), and RemoteTab().

TopGroup* RemoteTab::topGroup [private]
 

Definition at line 60 of file remotetab.h.

Referenced by remoteSelected(), RemoteTab(), setConfig(), and updateRemotesList().

VCRGroup* RemoteTab::vcrGroup [private]
 

Definition at line 62 of file remotetab.h.

Referenced by remoteSelected(), and RemoteTab().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:50:48 2005 for OPIE by  doxygen 1.4.2