[kmobiletools] KDE/kdepim/kmobiletools/kmobiletools/libkmobiletools
Matthias Lechner
matthias at lmme.de
Sat Jun 9 20:34:32 CEST 2007
SVN commit 673284 by lechner:
removing orphaned methods from the engine api
M +0 -22 engine.cpp
M +1 -15 engine.h
M +6 -6 enginedata.h
--- trunk/KDE/kdepim/kmobiletools/kmobiletools/libkmobiletools/engine.cpp #673283:673284
@@ -49,16 +49,6 @@
int i_currentPBMemSlot;
/**
- * New SMS number.
- */
- int s_newSMS;
-
- /**
- * Total SMS number.
- */
- int s_totalSMS;
-
- /**
* Phone SMS folders.
*/
QStringList s_folders;
@@ -89,8 +79,6 @@
connect(d->weaver, SIGNAL(suspended() ), this, SLOT(slotWeaverSuspended() ) );
engineData()->setManufacturerID(Unknown);
- d->s_newSMS = 0;
- d->s_totalSMS = 0;
d->i_suspendStatusJobs=0;
EnginesList::instance()->append( this );
}
@@ -132,18 +120,8 @@
return d->weaver;
}
-int Engine::newSMSCount()
-{
- return d->s_newSMS;
-}
-int Engine::totalSMSCount()
-{
- return d->s_totalSMS;
-}
-
-
SMSList *Engine::diffSMSList() const
{
return d->p_diffSMSList;
--- trunk/KDE/kdepim/kmobiletools/kmobiletools/libkmobiletools/engine.h #673283:673284
@@ -111,20 +111,6 @@
*/
KMobileTools::Weaver *ThreadWeaver();
- /**
- * Retrieves the new SMS number.
- *
- * @return the new SMS number
- */
- int newSMSCount();
-
- /**
- * Retrieves the total SMS number.
- *
- * @return the total SMS number
- */
- int totalSMSCount();
-
SMSList* diffSMSList() const; /// @TODO remove?
/**
@@ -293,7 +279,7 @@
*
* @param job the job that has finished
*/
- virtual void processSlot(KMobileTools::Job* job);
+ virtual void processSlot( KMobileTools::Job* job );
Q_SIGNALS:
/**
--- trunk/KDE/kdepim/kmobiletools/kmobiletools/libkmobiletools/enginedata.h #673283:673284
@@ -134,18 +134,18 @@
void setNetworkName( const QString& networkName );
/**
- * Sets phone manufacturer as returned by the mobile phone.
+ * Retrieves the phone manufacturer as returned by the mobile phone.
*
- * @param manufacturer the manufacturer string.
+ * @return a QString containing the phone manufacturer.
*/
- void setManufacturer( const QString &manufacturer );
+ QString manufacturer() const;
/**
- * Retrieves the phone manufacturer as returned by the mobile phone.
+ * Sets phone manufacturer as returned by the mobile phone.
*
- * @return a QString containing the phone manufacturer.
+ * @param manufacturer the manufacturer string.
*/
- QString manufacturer() const;
+ void setManufacturer( const QString &manufacturer );
/**
* Retrieves the manufacturer ID.
More information about the kmobiletools
mailing list