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

kmail

  • sources
  • kde-4.12
  • kdepim
  • kmail
  • editor
snippetwidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  * snippet feature from kdevelop/plugins/snippet/ *
3  * *
4  * Copyright (C) 2007 by Robert Gruber *
5  * rgruber@users.sourceforge.net *
6  * *
7  * This program is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  ***************************************************************************/
13 
14 #ifndef __SNIPPETWIDGET_H__
15 #define __SNIPPETWIDGET_H__
16 
17 #include <QTreeView>
18 
19 namespace MailCommon {
20 class SnippetsManager;
21 }
22 
23 class KActionCollection;
24 class KMComposerEditor;
25 
26 class QContextMenuEvent;
27 
31 class SnippetWidget : public QTreeView
32 {
33 public:
34  explicit SnippetWidget( KMComposerEditor *editor, KActionCollection *actionCollection, QWidget *parent = 0 );
35  ~SnippetWidget();
36 
37 protected:
38  void contextMenuEvent( QContextMenuEvent* );
39  void dropEvent( QDropEvent * );
40 
41 private:
42  MailCommon::SnippetsManager *mSnippetsManager;
43 };
44 
45 #endif
QWidget
SnippetWidget::contextMenuEvent
void contextMenuEvent(QContextMenuEvent *)
Definition: snippetwidget.cpp:55
QTreeView
KMComposerEditor
Definition: kmcomposereditor.h:31
SnippetWidget::~SnippetWidget
~SnippetWidget()
Definition: snippetwidget.cpp:51
SnippetWidget::dropEvent
void dropEvent(QDropEvent *)
Definition: snippetwidget.cpp:86
SnippetWidget::SnippetWidget
SnippetWidget(KMComposerEditor *editor, KActionCollection *actionCollection, QWidget *parent=0)
Definition: snippetwidget.cpp:27
SnippetWidget
Definition: snippetwidget.h:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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