summaryrefslogtreecommitdiffstats
path: root/src/tdeioslave/bluetooth/tdeiobluetooth.h
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2023-03-13 20:31:19 +0000
committerEmanoil Kotsev <deloptes@gmail.com>2023-03-20 07:25:45 +0000
commitc95a42982628b4b06ceed0c01cada10806c9b53c (patch)
treeee5bb82e46741f57362bb5c4a0f2133d1d525cdb /src/tdeioslave/bluetooth/tdeiobluetooth.h
parent66c9d2a5920b30474b595603a79915d2be38cdbe (diff)
downloadtdebluez-c95a42982628b4b06ceed0c01cada10806c9b53c.tar.gz
tdebluez-c95a42982628b4b06ceed0c01cada10806c9b53c.zip
i18n and some minor corrections
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Diffstat (limited to 'src/tdeioslave/bluetooth/tdeiobluetooth.h')
-rw-r--r--src/tdeioslave/bluetooth/tdeiobluetooth.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/src/tdeioslave/bluetooth/tdeiobluetooth.h b/src/tdeioslave/bluetooth/tdeiobluetooth.h
deleted file mode 100644
index 7b881f2..0000000
--- a/src/tdeioslave/bluetooth/tdeiobluetooth.h
+++ /dev/null
@@ -1,56 +0,0 @@
-//-*-c++-*-
-/***************************************************************************
- * Copyright (C) 2003 by Fred Schaettgen *
- * kdebluetooth@schaettgen.de *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- ***************************************************************************/
-
-#ifndef _TDEIOBT_H_
-#define _TDEIOBT_H_
-
-#include <tdeio/forwardingslavebase.h>
-#include <vector>
-
-#include <adapterImpl.h>
-#include <objectmanagerImpl.h>
-
-class TDEioBluetooth : public TDEIO::ForwardingSlaveBase
-{
- Q_OBJECT
-
-public:
- TDEioBluetooth(const TQCString &protocol, const TQCString &pool_socket, const TQCString &app_socket);
- virtual ~TDEioBluetooth();
- virtual void closeConnection();
- virtual void stat(const KURL &url);
- virtual void listDir(const KURL &url);
-
-protected:
- virtual bool rewriteURL(const KURL &url, KURL &newUrl);
-
-private:
- void createTopLevelEntry(TDEIO::UDSEntry& entry);
- bool listDevice(TDEIO::UDSEntry &entry, const TQString &path, const KURL &url);
- bool listDevices(TQValueList<TDEIO::UDSEntry> &list, const KURL &url);
- bool listServices(TQValueList<TDEIO::UDSEntry> &list, const KURL &url);
- bool createDirEntry(TDEIO::UDSEntry &entry, const TQString &title,
- const TQString &dir = TQString::null, const TQString &mimeType = "inode/directory");
- void addAtom(TDEIO::UDSEntry &entry, TDEIO::UDSAtomTypes type, TQString s);
- void addAtom(TDEIO::UDSEntry &entry, TDEIO::UDSAtomTypes type, long l);
-
- TDEBluetooth::AdapterImpl *adapter;
- TDEBluetooth::ObjectManagerImpl *manager;
-
-private slots:
- void slotAddDevice(const TQString &address);
- void slotAddService(const KURL &url, const TQString uuid);
- void slotRemoveDevice(const TQString &address);
- void slotAdapterPowerOnChanged(const TQString & path, bool state) ;
-
-};
-
-#endif //TDEIOBT