File indexing completed on 2024-12-01 06:51:48
0001 /*************************************************************************** 0002 dlgrunninglist.h - Running Scripts dialog 0003 ------------------- 0004 begin : So jan 18 2003 0005 copyright : (C) 2003-2009 by Tomas Mecir 0006 email : kmuddy@kmuddy.com 0007 ***************************************************************************/ 0008 0009 /*************************************************************************** 0010 * * 0011 * This program is free software; you can redistribute it and/or modify * 0012 * it under the terms of the GNU General Public License as published by * 0013 * the Free Software Foundation; either version 2 of the License, or * 0014 * (at your option) any later version. * 0015 * * 0016 ***************************************************************************/ 0017 0018 #ifndef DLGRUNNINGLIST_H 0019 #define DLGRUNNINGLIST_H 0020 0021 #include <QDockWidget> 0022 0023 class cRunningList; 0024 class QTreeView; 0025 0026 /** 0027 This dialog manages currently running scripts. It uses the cRunningList class. 0028 *@author Tomas Mecir 0029 */ 0030 0031 class dlgRunningList : public QDockWidget { 0032 Q_OBJECT 0033 public: 0034 dlgRunningList (QWidget *parent); 0035 ~dlgRunningList (); 0036 0037 /** use another running list */ 0038 void switchRunningList (cRunningList *newlist); 0039 0040 protected slots: 0041 void terminateScript (); 0042 void killScript (); 0043 protected: 0044 0045 int selectedId (); 0046 0047 cRunningList *rlist; 0048 QTreeView *view; 0049 }; 0050 0051 #endif