From d3cf2ac6fb114cbabc5de481ea275b30f396d2a1 Mon Sep 17 00:00:00 2001 From: harlekin Date: Thu, 13 Jun 2002 14:26:28 +0000 Subject: update --- (limited to 'core') diff --git a/core/applets/obex/obeximpl.cc b/core/applets/obex/obeximpl.cc index 92197ad..856f100 100644 --- a/core/applets/obex/obeximpl.cc +++ b/core/applets/obex/obeximpl.cc @@ -1,5 +1,7 @@ #include +#include + #include #include @@ -82,6 +84,16 @@ void ObexImpl::slotSent() { m_sendgui->hide(); } +void ObexImpl::slotError( int errorCode) { + + QString errorString = ""; + if (errorCode = -1) { + errorString = "test"; + } + qDebug("Error: " + errorString); + m_sendgui->hide(); +} + Q_EXPORT_INTERFACE() { Q_CREATE_INSTANCE( ObexImpl ) diff --git a/core/applets/obex/obeximpl.h b/core/applets/obex/obeximpl.h index 1a8fe99..4e5109f 100644 --- a/core/applets/obex/obeximpl.h +++ b/core/applets/obex/obeximpl.h @@ -26,8 +26,8 @@ namespace OpieObex { private slots: void slotCancelSend(); void slotMessage( const QCString&, const QByteArray& ); - /* void slotError(int ); - void slotCurrentTry( unsigned int ); */ + void slotError(int ); + // void slotCurrentTry( unsigned int ); */ void slotDone(bool); //void slotReceivedFile(const QString & ); void slotSent(); -- cgit v0.9.0.2