• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kmobiletools

testphonedevice.h

Go to the documentation of this file.
00001 /***************************************************************************
00002    Copyright (C) 2007
00003    by Marco Gulino <marco@kmobiletools.org>
00004 
00005    This program is free software; you can redistribute it and/or modify
00006    it under the terms of the GNU General Public License as published by
00007    the Free Software Foundation; either version 2 of the License, or
00008    (at your option) any later version.
00009 
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013    GNU General Public License for more details.
00014 
00015    You should have received a copy of the GNU General Public License
00016    along with this program; if not, write to the
00017    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018    Boston, MA 02110-1301, USA.
00019  ***************************************************************************/
00020 #ifndef TESTPHONEDEVICE_H
00021 #define TESTPHONEDEVICE_H
00022 
00023 #include "at_jobs.h"
00024 #include "at_engine.h"
00025 
00029 class KMobileTools::EngineData;
00030 class TestPhoneDeviceJob : public kmobiletoolsATJob
00031 {
00034 Q_OBJECT
00035 public:
00036     TestPhoneDeviceJob(const QString &devicename, AT_Engine* parent);
00037 
00038     ~TestPhoneDeviceJob();
00039     virtual JobType type() { return static_cast<JobType>(AT_Engine::TestPhoneDevice); }
00040     KMobileTools::EngineData *data() { return enginedata; }
00041     bool found() { return b_found; }
00042     QString path() const { return deviceName; }
00043 protected:
00044     virtual void run ();
00045     QString deviceName;
00046     bool b_found;
00047     KMobileTools::EngineData* enginedata;
00048     bool b_closeafterimei; 
00049 };
00050 
00051 class FindDeviceDataJob : public TestPhoneDeviceJob {
00052 Q_OBJECT
00055 public:
00056     FindDeviceDataJob(const QString &devicename, AT_Engine* parent);
00057     JobType type() { return static_cast<JobType>(AT_Engine::FindDeviceData); }
00058 protected:
00059     void run();
00060 };
00061 
00062 #endif

kmobiletools

Skip menu "kmobiletools"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal