File indexing completed on 2024-10-06 04:25:58
0001 /* 0002 SPDX-FileCopyrightText: 1998-2008 Sebastian Trueg <trueg@k3b.org> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #ifndef _K3B_DEBUGGING_OUTPUT_FILE_H_ 0007 #define _K3B_DEBUGGING_OUTPUT_FILE_H_ 0008 0009 #include <QFile> 0010 #include <QObject> 0011 0012 namespace K3b { 0013 class DebuggingOutputFile : public QFile 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 DebuggingOutputFile(); 0019 0020 /** 0021 * Open the default output file and write some system information. 0022 */ 0023 bool open( OpenMode mode = WriteOnly ) override; 0024 0025 public Q_SLOTS: 0026 void addOutput( const QString&, const QString& ); 0027 }; 0028 } 0029 0030 0031 #endif