[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kmobiletools/kmobiletools
From: Marco Gulino <marco () kmobiletools ! org>
Date: 2005-04-04 13:08:24
Message-ID: 20050404130824.41BAA63E () office ! kde ! org
[Download RAW message or body]
CVS commit by gulino:
M +2 -0 deviceparts/kmobiletools_devicepart.cpp 1.15
M +13 -0 deviceparts/smspart.cpp 1.2
M +4 -0 deviceparts/smspart.h 1.2
M +10 -0 engines/at_engine/kmobiletoolsat_engine.cpp 1.8
M +1 -0 engines/at_engine/kmobiletoolsat_engine.h 1.5
M +4 -4 engines/gammu_engine/kmobiletoolsgammu_engine.cpp 1.3
M +1 -0 engines/gammu_engine/kmobiletoolsgammu_engine.h 1.3
M +2 -2 libkmobiletoolsprivate/kmobiletoolsengine.h 1.8
--- kdenonbeta/kmobiletools/kmobiletools/deviceparts/kmobiletools_devicepart.cpp \
#1.14:1.15 @@ -151,4 +151,5 @@ kmobiletoolsDevicePart::kmobiletoolsDevi
connect(engine, SIGNAL(phoneBookUpdated( QPtrList<KABC::Addressee>* ) ), \
SLOT(updatePB(QPtrList<KABC::Addressee>* )) );
connect(m_widget->phonebookListView, SIGNAL(currentChanged ( QListViewItem *)), \
SLOT(pb_clicked( QListViewItem *)) ); + connect(p_smsPart, SIGNAL(getSMSList() ), \
engine, SLOT( retrieveSMSList() ) ); engine->initPhone();
engine->getPhoneInfos();
--- kdenonbeta/kmobiletools/kmobiletools/deviceparts/smspart.cpp #1.1:1.2
@@ -21,4 +21,5 @@ smsPart::smsPart(QWidget *parentWidget,
write(strBegin);
end();
+ connect(browserExtension(), SIGNAL(openURLRequest(const KURL &, const \
KParts::URLArgs &) ), this, SLOT(openURLRequest(const KURL& ) ) ); }
@@ -30,2 +31,14 @@ smsPart::~smsPart()
#include "smspart.moc"
+
+
+/*!
+ \fn smsPart::openURLRequest(const KURL &url)
+ */
+void smsPart::openURLRequest(const KURL &url)
+{
+ if( url.protocol() == "smsctl" )
+ {
+ if(url.path() == "refresh" ) emit getSMSList();
+ }
+}
--- kdenonbeta/kmobiletools/kmobiletools/deviceparts/smspart.h #1.1:1.2
@@ -26,4 +26,8 @@ public:
~smsPart();
+public slots:
+ void openURLRequest(const KURL &url);
+signals:
+ void getSMSList();
};
--- kdenonbeta/kmobiletools/kmobiletools/engines/at_engine/kmobiletoolsat_engine.cpp \
#1.7:1.8 @@ -124,2 +124,12 @@ ATAbilities kmobiletoolsAT_engine::getAT
return atAbilities;
}
+
+
+/*!
+ \fn kmobiletoolsAT_engine::retrieveSMSList()
+ */
+void kmobiletoolsAT_engine::retrieveSMSList()
+{
+ enqueueJob( new FetchSMS( SMS::All, device, this, this->name() ) );
+ kdDebug() << "Enqueuing FetchSMS job\n";
+}
--- kdenonbeta/kmobiletools/kmobiletools/engines/at_engine/kmobiletoolsat_engine.h \
#1.4:1.5 @@ -47,4 +47,5 @@ public slots:
void initPhone();
void retrieveAddressBook();
+ void retrieveSMSList();
};
--- kdenonbeta/kmobiletools/kmobiletools/engines/gammu_engine/kmobiletoolsgammu_engine.cpp \
#1.2:1.3 @@ -71,10 +71,10 @@ void kmobiletoolsGammu_engine::initPhone
}
-
-/*!
- \fn kmobiletoolsGammu_engine::retrieveAddressBook()
- */
void kmobiletoolsGammu_engine::retrieveAddressBook()
{
/// @todo implement me
}
+void kmobiletoolsGammu_engine::retrieveSMSList()
+{
+ /// @todo implement me
+}
--- kdenonbeta/kmobiletools/kmobiletools/engines/gammu_engine/kmobiletoolsgammu_engine.h \
#1.2:1.3 @@ -32,4 +32,5 @@ public slots:
void initPhone();
void retrieveAddressBook();
+ void retrieveSMSList();
};
--- kdenonbeta/kmobiletools/kmobiletools/libkmobiletoolsprivate/kmobiletoolsengine.h \
#1.7:1.8 @@ -88,6 +88,6 @@ public slots:
virtual bool changeSMSMemSlot (SMS::MemorySlot slot)=0;
virtual int parseSMSList()=0;
- virtual int parseAddressBook()=0;
- virtual void retrieveSMSList()=0; */
+ virtual int parseAddressBook()=0; */
+ virtual void retrieveSMSList()=0;
virtual void retrieveAddressBook()=0;
virtual void pollPhoneStatus()=0;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic