• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

  • kde-4.14
  • applications
  • kate
  • part
  • snippet
editrepository.h
Go to the documentation of this file.
1 /* This file is part of the Kate project.
2  * Based on the snippet plugin from KDevelop 4.
3  *
4  * Copyright (C) 2007 Robert Gruber <rgruber@users.sourceforge.net>
5  * Copyright (C) 2010 Milian Wolff <mail@milianw.de>
6  * Copyright (C) 2012 Christoph Cullmann <cullmann@kde.org>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public License
19  * along with this library; see the file COPYING.LIB. If not, write to
20  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21  * Boston, MA 02110-1301, USA.
22  */
23 
24 #ifndef EDITREPOSITORY_H
25 #define EDITREPOSITORY_H
26 
27 #include "ui_editrepository.h"
28 
29 #include <KDialog>
30 
31 class SnippetRepository;
32 
39 class EditRepository : public KDialog, public Ui::EditRepositoryBase
40 {
41  Q_OBJECT
42 
43 public:
45  explicit EditRepository(SnippetRepository* repo, QWidget* parent = 0);
46  virtual ~EditRepository();
47 
48 private:
49  SnippetRepository* m_repo;
50 
51 private slots:
52  void save();
53  void validate();
54  void updateFileTypes();
55 };
56 
57 #endif
58 
QWidget
KDialog
EditRepository::~EditRepository
virtual ~EditRepository()
Definition: editrepository.cpp:96
EditRepository
This dialog is used to create/edit snippet repositories and the snippets in them. ...
Definition: editrepository.h:39
SnippetRepository
Each object of this type represents a repository of snippets.
Definition: snippetrepository.h:52
EditRepository::EditRepository
EditRepository(SnippetRepository *repo, QWidget *parent=0)
repo set to 0 when you want to create a new repository.
Definition: editrepository.cpp:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal