Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members

cuteshell.h

00001 /***************************************************************************
00002                           cuteshell.h  -  description
00003                              -------------------
00004     begin                : Sam Aug 10 2:5:49 CEST 2002
00005     copyright            : (C) 2003 by Heiko Köhler
00006     email                : heicom@users.sourceforge.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef __CUTESHELL_H__
00019 #define __CUTESHELL_H__
00020 
00021 #include <qtextedit.h>
00022 #include <qprocess.h>
00023 #include <qpopupmenu.h>
00024 
00025 class CUTEShell : public QTextEdit
00026 {
00027     Q_OBJECT
00028 public:
00029     CUTEShell( QWidget *parent = 0, const char *name = 0 );
00030 protected:
00031     QPopupMenu *createPopupMenu( const QPoint & pos );
00032 protected slots:
00033     void readStdout();
00034     void readStderr();
00035     void processExited();
00036     void runCommand();
00037 private:
00038     QProcess *proc;
00039     QPopupMenu *contextMenu;
00040 };
00041 
00042 #endif
00043 

Generated on Sat Mar 6 16:21:56 2004 by doxygen 1.3.2