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

ButtonDialog Class Reference

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

Collaboration diagram for ButtonDialog:

Collaboration graph
[legend]
List of all members.

Public Slots

void remoteSelected (const QString &string)
void buttonSelected (const QString &string)

Public Member Functions

 ButtonDialog (QString buttonName, QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags f=0)
void setIRSocket (int newfd)
const char * readPacket ()
QStringList getRemotes ()
QStringList getButtons (const char *remoteName)
QStringList getList ()
QString getLabel ()

Private Attributes

QComboBox * remote
QComboBox * button
QStringList list
QLineEdit * label
int fd
int timeout
sockaddr_un addr

Constructor & Destructor Documentation

ButtonDialog::ButtonDialog QString  buttonName,
QWidget *  parent = 0,
const char *  name = 0,
bool  modal = FALSE,
WFlags  f = 0
 

Definition at line 19 of file buttondialog.cpp.

References button, buttonSelected(), getRemotes(), label, remote, remoteSelected(), and tr.


Member Function Documentation

void ButtonDialog::buttonSelected const QString string  )  [slot]
 

Definition at line 75 of file buttondialog.cpp.

References list.

Referenced by ButtonDialog().

QStringList ButtonDialog::getButtons const char *  remoteName  ) 
 

Definition at line 161 of file buttondialog.cpp.

References addr, fd, i, QString::latin1(), list, NULL, Opie::Core::perror(), readPacket(), QValueList< T >::remove(), Opie::Internal::string(), and write().

Referenced by remoteSelected().

QString ButtonDialog::getLabel  ) 
 

Definition at line 85 of file buttondialog.cpp.

References label.

Referenced by ConfigTab::buttonPressed().

QStringList ButtonDialog::getList  ) 
 

Definition at line 80 of file buttondialog.cpp.

References list.

Referenced by ConfigTab::buttonPressed().

QStringList ButtonDialog::getRemotes  ) 
 

Definition at line 90 of file buttondialog.cpp.

References addr, fd, i, list, NULL, Opie::Core::perror(), printf, readPacket(), and write().

Referenced by ButtonDialog().

const char * ButtonDialog::readPacket  ) 
 

Definition at line 239 of file buttondialog.cpp.

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

Referenced by getButtons(), and getRemotes().

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

Definition at line 68 of file buttondialog.cpp.

References button, getButtons(), and list.

Referenced by ButtonDialog().

void ButtonDialog::setIRSocket int  newfd  ) 
 


Member Data Documentation

struct sockaddr_un ButtonDialog::addr [private]
 

Definition at line 58 of file buttondialog.h.

Referenced by getButtons(), and getRemotes().

QComboBox* ButtonDialog::button [private]
 

Definition at line 53 of file buttondialog.h.

Referenced by ButtonDialog(), and remoteSelected().

int ButtonDialog::fd [private]
 

Definition at line 56 of file buttondialog.h.

Referenced by getButtons(), getRemotes(), and readPacket().

QLineEdit* ButtonDialog::label [private]
 

Definition at line 55 of file buttondialog.h.

Referenced by ButtonDialog(), and getLabel().

QStringList ButtonDialog::list [private]
 

Definition at line 54 of file buttondialog.h.

Referenced by buttonSelected(), getButtons(), getList(), getRemotes(), and remoteSelected().

QComboBox* ButtonDialog::remote [private]
 

Definition at line 52 of file buttondialog.h.

Referenced by ButtonDialog().

int ButtonDialog::timeout [private]
 

Definition at line 57 of file buttondialog.h.

Referenced by readPacket().


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