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

0001 /*
0002  *  Copyright (C) 1999-2002 Bernd Gehrmann
0003  *                          bernd@mail.berlios.de
0004  *
0005  * This program is free software; you can redistribute it and/or modify
0006  * it under the terms of the GNU General Public License as published by
0007  * the Free Software Foundation; either version 2 of the License, or
0008  * (at your option) any later version.
0009  *
0010  * This program is distributed in the hope that it will be useful,
0011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0013  * GNU General Public License for more details.
0014  *
0015  * You should have received a copy of the GNU General Public License
0016  * along with this program; if not, write to the Free Software
0017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
0018  */
0019 
0020 #ifndef ANNOTATEDIALOG_H
0021 #define ANNOTATEDIALOG_H
0022 
0023 #include <QDialog>
0024 
0025 class AnnotateView;
0026 class KConfig;
0027 class QLineEdit;
0028 
0029 namespace Cervisia
0030 {
0031 struct LogInfo;
0032 }
0033 
0034 class AnnotateDialog : public QDialog
0035 {
0036     Q_OBJECT
0037 
0038 public:
0039     explicit AnnotateDialog(KConfig &cfg, QWidget *parent = nullptr);
0040 
0041     ~AnnotateDialog() override;
0042 
0043     void addLine(const Cervisia::LogInfo &logInfo, const QString &content, bool odd);
0044 
0045 private slots:
0046     void slotHelp();
0047     void findNext();
0048     void findPrev();
0049     void gotoLine();
0050 
0051 private:
0052     QLineEdit *findEdit;
0053     AnnotateView *annotate;
0054     KConfig &partConfig;
0055 };
0056 
0057 #endif // ANNOTATEDIALOG_H
0058 
0059 // Local Variables:
0060 // c-basic-offset: 4
0061 // End: