libopie PIM API Documentation

OPimMainWindow Class Reference

#include <opimmainwindow.h>

Inheritance diagram for OPimMainWindow:

Inheritance graph
[legend]
Collaboration diagram for OPimMainWindow:

Collaboration graph
[legend]
List of all members.

Public Types

enum  TransPort { BlueTooth = 0, IrDa }

Public Member Functions

 OPimMainWindow (const QString &service, QWidget *parent=0, const char *name=0, WFlags f=WType_TopLevel)
virtual ~OPimMainWindow ()

Protected Slots

virtual void doSetDocument (const QString &)
virtual void flush ()=0
virtual void reload ()=0
virtual int create ()=0
 create a new Records and return the uid

virtual bool remove (int uid)=0
 remove a record with UID == uid

virtual void beam (int uid)=0
 beam the record with UID = uid

virtual void show (int uid)=0
 show the record with UID == uid

virtual void edit (int uid)=0
 edit the record

virtual void add (const OPimRecord &)=0
 make a copy of it!

virtual void doAlarm (const QDateTime &, int uid)
QCopChannelchannel ()

Protected Member Functions

void startAlarm (int count=10)
 start to play soundAlarm()

void killAlarm ()
void timerEvent (QTimerEvent *)

Member Enumeration Documentation

enum OPimMainWindow::TransPort
 

Enumeration values:
BlueTooth 
IrDa 

Definition at line 27 of file opimmainwindow.h.


Constructor & Destructor Documentation

OPimMainWindow::OPimMainWindow const QString service,
QWidget parent = 0,
const char *  name = 0,
WFlags  f = WType_TopLevel
 

Definition at line 12 of file opimmainwindow.cpp.

References QObject::connect(), flush(), and reload().

OPimMainWindow::~OPimMainWindow  )  [virtual]
 

Definition at line 32 of file opimmainwindow.cpp.


Member Function Documentation

void OPimMainWindow::doSetDocument const QString  )  [protected, virtual, slot]
 

Definition at line 38 of file opimmainwindow.cpp.

virtual void OPimMainWindow::flush  )  [protected, pure virtual, slot]
 

Referenced by OPimMainWindow().

virtual void OPimMainWindow::reload  )  [protected, pure virtual, slot]
 

Referenced by OPimMainWindow().

virtual int OPimMainWindow::create  )  [protected, pure virtual, slot]
 

create a new Records and return the uid

virtual bool OPimMainWindow::remove int  uid  )  [protected, pure virtual, slot]
 

remove a record with UID == uid

virtual void OPimMainWindow::beam int  uid  )  [protected, pure virtual, slot]
 

beam the record with UID = uid

virtual void OPimMainWindow::show int  uid  )  [protected, pure virtual, slot]
 

show the record with UID == uid

virtual void OPimMainWindow::edit int  uid  )  [protected, pure virtual, slot]
 

edit the record

virtual void OPimMainWindow::add const OPimRecord  )  [protected, pure virtual, slot]
 

make a copy of it!

void OPimMainWindow::doAlarm const QDateTime ,
int  uid
[protected, virtual, slot]
 

Definition at line 131 of file opimmainwindow.cpp.

QCopChannel * OPimMainWindow::channel  )  [protected, slot]
 

Definition at line 35 of file opimmainwindow.cpp.

void OPimMainWindow::startAlarm int  count = 10  )  [protected]
 

start to play soundAlarm()

Parameters:
count How many times the alarm is played

Definition at line 134 of file opimmainwindow.cpp.

References Sound::soundAlarm(), and QObject::startTimer().

void OPimMainWindow::killAlarm  )  [protected]
 

Definition at line 140 of file opimmainwindow.cpp.

References QObject::killTimer().

void OPimMainWindow::timerEvent QTimerEvent  )  [protected]
 

Reimplemented from QObject.

Definition at line 143 of file opimmainwindow.cpp.

References QObject::killTimer(), Sound::soundAlarm(), and QTimerEvent::timerId().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:26:22 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001