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

ConWindow Class Reference

#include </home/clem/local/src/opie/noncore/settings/networksettings/ppp/conwindow.h>

Collaboration diagram for ConWindow:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotAccounting (QString, QString)

Public Member Functions

 ConWindow (PPPData *, QWidget *parent, const char *name, QDialog *)
 ~ConWindow ()
void setConnectionSpeed (const QString &)
void startClock ()
void stopClock ()

Protected Member Functions

void closeEvent (QCloseEvent *e)
bool event (QEvent *e)

Private Slots

void timeclick ()

Private Member Functions

QString prettyPrintVolume (unsigned int)

Private Attributes

QLabel * info1
QLabel * info2
QPushButton * cancelbutton
QPushButton * statsbutton
int minutes
int seconds
int hours
int days
QFrame * fline
QLabel * timelabel1
QLabel * timelabel2
QLabel * total_bill
QLabel * total_bill_l
QLabel * session_bill
QLabel * session_bill_l
QString caption_string
QString time_string2
QString time_string
QTimer * clocktimer
QVBoxLayout * tl1
QLabel * vollabel
QLabel * volinfo
PPPData_pppdata

Constructor & Destructor Documentation

ConWindow::ConWindow PPPData ,
QWidget *  parent,
const char *  name,
QDialog * 
 

Definition at line 30 of file conwindow.cpp.

References cancelbutton, clocktimer, info1, info2, session_bill, session_bill_l, timeclick(), timelabel1, timelabel2, total_bill, total_bill_l, tr, volinfo, and vollabel.

ConWindow::~ConWindow  ) 
 

Definition at line 75 of file conwindow.cpp.

References stopClock().


Member Function Documentation

void ConWindow::closeEvent QCloseEvent *  e  )  [protected]
 

Definition at line 317 of file conwindow.cpp.

bool ConWindow::event QEvent *  e  )  [protected]
 

Definition at line 80 of file conwindow.cpp.

QString ConWindow::prettyPrintVolume unsigned  int  )  [private]
 

Definition at line 90 of file conwindow.cpp.

References i, QString::null, QString::number(), s, and tr.

void ConWindow::setConnectionSpeed const QString  ) 
 

Definition at line 246 of file conwindow.cpp.

References info2.

void ConWindow::slotAccounting QString  ,
QString 
[slot]
 

Definition at line 328 of file conwindow.cpp.

References session_bill, and total_bill.

void ConWindow::startClock  ) 
 

Definition at line 228 of file conwindow.cpp.

References _pppdata, PPPData::accname(), clocktimer, PPPData::get_show_clock_on_caption(), hours, minutes, seconds, timelabel2, and title.

void ConWindow::stopClock  ) 
 

Definition at line 251 of file conwindow.cpp.

References clocktimer.

Referenced by KPPPWidget::disconnect(), KPPPWidget::sigPPPDDied(), and ~ConWindow().

void ConWindow::timeclick  )  [private, slot]
 

Definition at line 256 of file conwindow.cpp.

Referenced by ConWindow().


Member Data Documentation

PPPData* ConWindow::_pppdata [private]
 

Definition at line 85 of file conwindow.h.

Referenced by startClock().

QPushButton* ConWindow::cancelbutton [private]
 

Definition at line 66 of file conwindow.h.

Referenced by ConWindow().

QString ConWindow::caption_string [private]
 

Definition at line 78 of file conwindow.h.

QTimer* ConWindow::clocktimer [private]
 

Definition at line 81 of file conwindow.h.

Referenced by ConWindow(), startClock(), and stopClock().

int ConWindow::days [private]
 

Definition at line 72 of file conwindow.h.

QFrame* ConWindow::fline [private]
 

Definition at line 73 of file conwindow.h.

int ConWindow::hours [private]
 

Definition at line 71 of file conwindow.h.

Referenced by startClock().

QLabel* ConWindow::info1 [private]
 

Definition at line 64 of file conwindow.h.

Referenced by ConWindow().

QLabel* ConWindow::info2 [private]
 

Definition at line 65 of file conwindow.h.

Referenced by ConWindow(), and setConnectionSpeed().

int ConWindow::minutes [private]
 

Definition at line 69 of file conwindow.h.

Referenced by startClock().

int ConWindow::seconds [private]
 

Definition at line 70 of file conwindow.h.

Referenced by startClock().

QLabel* ConWindow::session_bill [private]
 

Definition at line 77 of file conwindow.h.

Referenced by ConWindow(), and slotAccounting().

QLabel * ConWindow::session_bill_l [private]
 

Definition at line 77 of file conwindow.h.

Referenced by ConWindow().

QPushButton* ConWindow::statsbutton [private]
 

Definition at line 67 of file conwindow.h.

QString ConWindow::time_string [private]
 

Definition at line 80 of file conwindow.h.

QString ConWindow::time_string2 [private]
 

Definition at line 79 of file conwindow.h.

QLabel* ConWindow::timelabel1 [private]
 

Definition at line 74 of file conwindow.h.

Referenced by ConWindow().

QLabel* ConWindow::timelabel2 [private]
 

Definition at line 75 of file conwindow.h.

Referenced by ConWindow(), and startClock().

QVBoxLayout* ConWindow::tl1 [private]
 

Definition at line 82 of file conwindow.h.

QLabel* ConWindow::total_bill [private]
 

Definition at line 76 of file conwindow.h.

Referenced by ConWindow(), and slotAccounting().

QLabel * ConWindow::total_bill_l [private]
 

Definition at line 76 of file conwindow.h.

Referenced by ConWindow().

QLabel* ConWindow::volinfo [private]
 

Definition at line 84 of file conwindow.h.

Referenced by ConWindow().

QLabel* ConWindow::vollabel [private]
 

Definition at line 83 of file conwindow.h.

Referenced by ConWindow().


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