• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Widgets Library
 

KDevelop Widgets Library

  • lib
  • widgets
processlinemaker.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2002 John Firebaugh <jfirebaugh@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef _PROCESSLINEMAKER_H_
21 #define _PROCESSLINEMAKER_H_
22 
23 #include <tqobject.h>
24 
30 class TDEProcess;
31 
35 class ProcessLineMaker : public TQObject
36 {
37 Q_OBJECT
38 
39 
40 public:
41  ProcessLineMaker();
42  ProcessLineMaker( const TDEProcess* );
43 
44  void clearBuffers();
45  void flush();
46 
47 public slots:
48  void slotReceivedStdout(const char*);
49  void slotReceivedStderr(const char*);
50 
51 protected slots:
52  void slotReceivedStdout(TDEProcess *, char *buffer, int buflen);
53  void slotReceivedStderr(TDEProcess *, char *buffer, int buflen);
54 
55 signals:
56  void receivedStdoutLine( const TQCString& line );
57  void receivedStderrLine( const TQCString& line );
58  void receivedPartialStdoutLine( const TQCString& line );
59  void receivedPartialStderrLine( const TQCString& line );
60 
61 private:
62  TQCString stdoutbuf;
63  TQCString stderrbuf;
64 };
65 
66 #endif
67 
68 //kate: replace-tabs off; indent-spaces off;
ProcessLineMaker
Convenience class to catch output of TDEProcess.
Definition: processlinemaker.h:35

KDevelop Widgets Library

Skip menu "KDevelop Widgets Library"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDevelop Widgets Library

Skip menu "KDevelop Widgets Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Widgets Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.