5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #ifndef ksmbstatus_h_included
20 #define ksmbstatus_h_included
24 #include <k3process.h>
25 #include <Qt3Support/Q3CheckListItem>
28 #define SCREEN_XY_OFFSET 20
32 class NetMon
: public QWidget
{
35 explicit NetMon(QWidget
*parent
, KConfig
* config
=0);
42 K3Process
*showmountProc
;
46 Q3ListViewItem
*killrow
;
48 enum {header
, connexions
, locked_files
, finished
, nfs
} readingpart
;
51 void processNFSLine(char *bufline
, int linelen
);
52 void processSambaLine(char *bufline
, int linelen
);
54 QByteArray strShare
, strUser
, strGroup
, strMachine
, strSince
, strPid
;
55 int iUser
, iGroup
, iMachine
, iPid
;
60 void slotReceivedData(K3Process
*proc
, char *buffer
, int buflen
);
63 #endif // main_included