1 /***************************************************************************
6 * begin : Tue Jan 29 2002
7 * copyright : (C) 2002 by Patrick Charbonnier
8 * : Based On Caitoo v.0.7.3 (c) 1998 - 2000, Matej Koss
9 * email : pch@freeshell.org
11 ****************************************************************************/
13 /***************************************************************************
15 * This program is free software; you can redistribute it and/or modify
16 * it under the terms of the GNU General Public License as published by
17 * the Free Software Foundation; either version 2 of the License, or
18 * (at your option) any later version.
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
25 ***************************************************************************/
33 #include <kdialogbase.h>
39 class SeparatedLog
:public QWidget
43 SeparatedLog(QWidget
* parent
);
46 void addLog(uint id
, const QString
& filename
, const QString
& message
);
50 void transferSelected(QListViewItem
* item
);
56 typedef QMap
< uint
, QString
> TransferMap
;
63 class LogWindow
:public KDialogBase
70 void logGeneral(const QString
& message
);
71 QString
getText() const;
74 void logTransfer(uint id
, const QString
& filename
, const QString
& message
);
77 void closeEvent(QCloseEvent
*);
80 QTextEdit
* mixed_log
;
81 SeparatedLog
*sep_log
;
85 #endif // _LOGWINDOW_H