Baloo Widgets

keditcommentdialog.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2014 Felix Eisele
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 #ifndef KEDITCOMMENTDIALOG_H
20 #define KEDITCOMMENTDIALOG_H
21 
22 #include <QDialog>
23 
24 class QWidget;
25 class QTextEdit;
26 
27 class KEditCommentDialog : public QDialog
28 {
29  Q_OBJECT
30 public:
31  KEditCommentDialog(QWidget *parent, const QString &commentText, const QString &captionText);
32  ~KEditCommentDialog() override;
33 
34  QString getCommentText() const;
35 
36 private:
37  QTextEdit *m_editor;
38 };
39 
40 #endif
41 
42 
43 
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Oct 21 2021 23:07:11 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.