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

gsmtool.h

Go to the documentation of this file.
00001 #ifndef EXAMPLE_H
00002 #define EXAMPLE_H
00003 #include "gsmtoolbase.h"
00004 
00005 #include <termios.h>
00006 
00007 #include <gsmlib/gsm_me_ta.h>
00008 #include <gsmlib/gsm_sorted_sms_store.h>
00009 
00010 class GSMTool : public GSMToolBase
00011 { 
00012     Q_OBJECT
00013 
00014 public:
00015     GSMTool( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
00016     ~GSMTool();
00017 
00018 protected:
00019     void timerEvent(QTimerEvent *te );
00020 
00021 private slots:
00022         void doConnectButton();
00023         void doScanButton();
00024         void doTabChanged();
00025         void doSMSStoreChanged();
00026         void doSMSTypeChanged();
00027         void doSelectedSMSChanged(QListViewItem *);
00028         void doSMSSendButton();
00029         void doSMSDeleteButton();
00030         void doNewSMSClearButton();
00031         void doNewSMSSaveButton();
00032         void doNewSMSSendButton();
00033 private:
00034  static const speed_t baudrates[];
00035  int devicelocked;
00036  int timerid;
00037 
00038  gsmlib::MeTa *me;
00039  gsmlib::SortedSMSStoreRef sms_store;
00040 
00041  char *devicename; 
00042  speed_t baudrate;
00043 
00044  int lockDevice( );
00045  void unlockDevice( );
00046 
00047  void setConnected( bool conn );
00048 };
00049 
00050 #endif // EXAMPLE_H

Generated on Sat Nov 5 16:18:03 2005 for OPIE by  doxygen 1.4.2