00001 00002 //-------------------------------------------------------------------------------------------------- 00003 // 00004 // Header Name: ZPhoneCall.h 00005 // 00006 // General Description: ZPhoneCall class 00007 // 00008 //------------------------------------------------------------------------------------------------- 00009 // 00010 // Motorola Confidential Proprietary 00011 // Template ID and version: TMP_LFC_50068 Version 1.2 00012 // (c) Copyright Motorola 2004, All Rights Reserved 00013 // 00014 //------------------------------------------------------------------------------------------------- 00015 00016 #ifndef Z_PHONECALL_H 00017 #define Z_PHONECALL_H 00018 00019 #include <qobject.h> 00020 00021 /** 00022 * Provide phone call function based on phone application. 00023 */ 00024 00025 class ZPhoneCall : public QObject 00026 { 00027 Q_OBJECT 00028 00029 public: 00030 00031 ZPhoneCall( QObject * parent = 0, const char * name = 0 ); 00032 virtual ~ZPhoneCall(); 00033 00034 /** 00035 * Dials the specified phone number. 00036 * Whether showing dial pad before dialing depends on phone's "Prepend" setup. 00037 * 00038 * @param telenumber The phone number to be dialed 00039 * 00040 * @retval if success, return true, if failed, return false. 00041 */ 00042 bool makeVoiceCall( const QString& telenumber ); 00043 }; 00044 00045 #endif //Z_PHONECALL_H 00046