You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.9 KiB
65 lines
1.9 KiB
15 years ago
|
|
||
|
/***************************************************************************
|
||
12 years ago
|
tdeio_finger.h - description
|
||
15 years ago
|
-------------------
|
||
|
begin : Sun Aug 12 2000
|
||
|
copyright : (C) 2000 by Andreas Schlapbach
|
||
|
email : schlpbch@iam.unibe.ch
|
||
|
***************************************************************************/
|
||
|
|
||
|
/***************************************************************************
|
||
|
* *
|
||
|
* 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. *
|
||
|
* *
|
||
|
***************************************************************************/
|
||
|
|
||
|
|
||
12 years ago
|
#ifndef __tdeio_finger_h__
|
||
|
#define __tdeio_finger_h__
|
||
15 years ago
|
|
||
15 years ago
|
#include <tqstring.h>
|
||
|
#include <tqcstring.h>
|
||
15 years ago
|
|
||
|
#include <kurl.h>
|
||
|
#include <kprocess.h>
|
||
12 years ago
|
#include <tdeio/global.h>
|
||
|
#include <tdeio/slavebase.h>
|
||
15 years ago
|
|
||
12 years ago
|
class FingerProtocol : public TQObject, public TDEIO::SlaveBase
|
||
15 years ago
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
|
||
15 years ago
|
FingerProtocol(const TQCString &pool_socket, const TQCString &app_socket);
|
||
15 years ago
|
virtual ~FingerProtocol();
|
||
|
|
||
|
virtual void mimetype(const KURL& url);
|
||
|
virtual void get(const KURL& url);
|
||
|
|
||
|
private slots:
|
||
12 years ago
|
void slotGetStdOutput(TDEProcess*, char*, int);
|
||
15 years ago
|
|
||
|
private:
|
||
|
KURL *myURL;
|
||
|
|
||
|
QString *myPerlPath;
|
||
15 years ago
|
TQString *myFingerPath;
|
||
|
TQString *myFingerPerlScript;
|
||
|
TQString *myFingerCSSFile;
|
||
15 years ago
|
|
||
|
QString *myStdStream;
|
||
|
|
||
|
|
||
12 years ago
|
TDEProcess *myTDEProcess;
|
||
15 years ago
|
|
||
|
void getProgramPath();
|
||
|
void parseCommandLine(const KURL& url);
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|