Warning, file /games/kmuddy/kmuddy/dialogs/dlgtranscript.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /***************************************************************************
0002                           dlgtranscript.h  -  Session Transcript dialog
0003     This file is a part of KMuddy distribution.
0004                              -------------------
0005     begin                : Pa nov 1 2002
0006     copyright            : (C) 2002 by Tomas Mecir
0007     email                : kmuddy@kmuddy.com
0008  ***************************************************************************/
0009 
0010 /***************************************************************************
0011  *                                                                         *
0012  *   This program is free software; you can redistribute it and/or modify  *
0013  *   it under the terms of the GNU General Public License as published by  *
0014  *   the Free Software Foundation; either version 2 of the License, or     *
0015  *   (at your option) any later version.                                   *
0016  *                                                                         *
0017  ***************************************************************************/
0018 
0019 #ifndef DLGTRANSCRIPT_H
0020 #define DLGTRANSCRIPT_H
0021 
0022 #include <kpagedialog.h>
0023 
0024 class QCheckBox;
0025 class QComboBox;
0026 class QGroupBox;
0027 class QLabel;
0028 class QPushButton;
0029 class QLineEdit;
0030 
0031 /**
0032 Configures session transcript.
0033   *@author Tomas Mecir
0034   */
0035 
0036 class dlgTranscript : public KPageDialog {
0037    Q_OBJECT
0038 public: 
0039   dlgTranscript (QWidget *parent=nullptr);
0040   ~dlgTranscript () override;
0041 
0042   QSize sizeHint() const override;
0043   QString getFName ();
0044   QString getAFName ();
0045   void setFName (const QString &filename);
0046   void setAFName (const QString &filename);
0047   bool isEnabled ();
0048   void setEnabled (bool val);
0049   bool isOverwrite ();
0050   void setOverwrite (bool val);
0051   bool includeDump ();
0052   void setIncludeDump (bool val);
0053   void setAdvTranscript (bool val);
0054   bool advTranscript ();
0055   void setRotateDaily (bool val);
0056   bool rotateDaily ();
0057   void setIncludeTimestamp (bool val);
0058   bool includeTimestamp ();
0059   void setTranscriptType (char type);
0060   char transcriptType ();
0061   void setAdvTranscriptType (char type);
0062   char advTranscriptType ();
0063 protected slots:
0064   void updateDialog (bool how);
0065   void updateAdvDialog (bool how);
0066   void browseFiles ();
0067 protected:
0068   QCheckBox *enabletranscript;
0069   QCheckBox *enableadvtranscript;
0070   QCheckBox *rotatedaily;
0071   QCheckBox *includetimestamp;
0072   QCheckBox *overwrite, *allowansi;
0073   QCheckBox *includedump;
0074   QLineEdit *fname, *afname;
0075 
0076   QGroupBox *transbox;
0077   QGroupBox *advtrans;
0078   QLabel *lblname;
0079   QPushButton *filebutton;
0080   
0081   QComboBox *ttype, *advttype;
0082 };
0083 
0084 #endif