~ubuntu-branches/ubuntu/saucy/kate/saucy

« back to all changes in this revision

Viewing changes to kate/plugins/project/kateprojectinfoviewnotes.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell, Rohan Garg, Jonathan Riddell
  • Date: 2013-06-21 00:48:29 UTC
  • mfrom: (1.1.28)
  • Revision ID: package-import@ubuntu.com-20130621004829-y2ui02eg0j47h94y
Tags: 4:4.10.80-0ubuntu1
[ Rohan Garg ]
* New upstream release
  - Update and sort install files
  - Drop kubuntu_pate_find_python.diff, kubuntu_kate_initial_preference.patch,
    kubuntu_find_python.diff from debian/patches , not required

[ Jonathan Riddell ]
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*  This file is part of the Kate project.
2
 
 *
3
 
 *  Copyright (C) 2012 Joseph Wenninger <jowenn@kde.org>
4
 
 *
5
 
 *  This library is free software; you can redistribute it and/or
6
 
 *  modify it under the terms of the GNU Library General Public
7
 
 *  License as published by the Free Software Foundation; either
8
 
 *  version 2 of the License, or (at your option) any later version.
9
 
 *
10
 
 *  This library is distributed in the hope that it will be useful,
11
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 
 *  Library General Public License for more details.
14
 
 *
15
 
 *  You should have received a copy of the GNU Library General Public License
16
 
 *  along with this library; see the file COPYING.LIB.  If not, write to
17
 
 *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
 
 *  Boston, MA 02110-1301, USA.
19
 
 */
20
 
 
21
 
#ifndef KATE_PROJECT_INFO_VIEW_NOTES_H
22
 
#define KATE_PROJECT_INFO_VIEW_NOTES_H
23
 
 
24
 
#include "kateproject.h"
25
 
 
26
 
#include <QPlainTextEdit>
27
 
 
28
 
class KateProjectPluginView;
29
 
 
30
 
/**
31
 
 * Class representing a view of a project.
32
 
 * A tree like view of project content.
33
 
 */
34
 
class KateProjectInfoViewNotes : public QWidget
35
 
{
36
 
  Q_OBJECT
37
 
 
38
 
  public:
39
 
    /**
40
 
     * construct project info view for given project
41
 
     * @param pluginView our plugin view
42
 
     * @param project project this view is for
43
 
     */
44
 
    KateProjectInfoViewNotes (KateProjectPluginView *pluginView, KateProject *project);
45
 
 
46
 
    /**
47
 
     * deconstruct info view
48
 
     */
49
 
    ~KateProjectInfoViewNotes ();
50
 
 
51
 
    /**
52
 
     * our project.
53
 
     * @return project
54
 
     */
55
 
    KateProject *project () const
56
 
    {
57
 
      return m_project;
58
 
    }
59
 
 
60
 
  private:
61
 
    /**
62
 
     * our plugin view
63
 
     */
64
 
    KateProjectPluginView *m_pluginView;
65
 
 
66
 
    /**
67
 
     * our project
68
 
     */
69
 
    KateProject *m_project;
70
 
    
71
 
    /**
72
 
     * edit widget bound to notes document of project
73
 
     */
74
 
    QPlainTextEdit *m_edit;
75
 
};
76
 
 
77
 
#endif
78
 
 
79
 
// kate: space-indent on; indent-width 2; replace-tabs on;