diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-08-25 22:30:03 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-08-25 22:30:03 +0900 |
commit | 3eaf665507fb178a718ef9f57f2bb9ec908d5ac8 (patch) | |
tree | bb85d0fa07c3a3e7ce3f8b53df6496e26a88be44 /kio_gopher.h | |
parent | c9c70dcfc9b84284d1957f4225f4016b8d44f5a3 (diff) | |
download | tdeio-gopher-3eaf665507fb178a718ef9f57f2bb9ec908d5ac8.tar.gz tdeio-gopher-3eaf665507fb178a718ef9f57f2bb9ec908d5ac8.zip |
Conversion KDE -> TDE environment.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kio_gopher.h')
-rw-r--r-- | kio_gopher.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/kio_gopher.h b/kio_gopher.h deleted file mode 100644 index b21e225..0000000 --- a/kio_gopher.h +++ /dev/null @@ -1,36 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2003-2008 by Albert Astals Cid * - * aacid@kde.org * - * * - * 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 __kio_gopher_h__ -#define __kio_gopher_h__ - -#include <kio/tcpslavebase.h> -#include <kiconloader.h> - -class gopher : public KIO::TCPSlaveBase -{ - public: - gopher(const TQByteArray &pool_socket, const TQByteArray &app_socket); - - void get(const KUrl& url); - - private: - void processDirectory(TQByteArray *received, const TQString &host, const TQString &path); - void processDirectoryLine(const TQByteArray &data, TQByteArray &show, TQByteArray &info); - TQByteArray parsePort(TQByteArray *received); - void findLine(TQByteArray *received, int *i, int *remove); - void handleSearch(const TQString &host, const TQString &path, int port); - void addIcon(const TQString &type, const TQByteArray &url, TQByteArray &show); - - KIconLoader m_iconLoader; -}; - -#endif - |