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

mailcommon

  • sources
  • kde-4.14
  • kdepim
  • mailcommon
  • snippets
snippetdialog.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 MAILCOMMON_SNIPPETDIALOG_P_H
15 #define MAILCOMMON_SNIPPETDIALOG_P_H
16 
17 #include <kdialog.h>
18 
19 namespace Ui {
20 class SnippetDialog;
21 }
22 
23 class KActionCollection;
24 
25 class QAbstractItemModel;
26 class QModelIndex;
27 
28 namespace MailCommon {
29 
30 class SnippetDialog : public KDialog
31 {
32  Q_OBJECT
33 
34 public:
35  explicit SnippetDialog( KActionCollection *actionCollection, bool inGroupMode, QWidget *parent = 0 );
36  ~SnippetDialog();
37 
38  void setName( const QString &name );
39  QString name() const;
40 
41  void setText( const QString &text );
42  QString text() const;
43 
44  void setKeySequence( const QKeySequence &sequence );
45  QKeySequence keySequence() const;
46 
47  void setGroupModel( QAbstractItemModel *model );
48 
49  void setGroupIndex( const QModelIndex &index );
50  QModelIndex groupIndex() const;
51 
52 private Q_SLOTS:
53  void slotTextChanged();
54  void slotGroupChanged();
55 
56 private:
57  bool snippetIsValid() const;
58 
59  KActionCollection *mActionCollection;
60  Ui::SnippetDialog *mUi;
61 };
62 }
63 #endif
QModelIndex
QWidget
MailCommon::SnippetDialog::setGroupIndex
void setGroupIndex(const QModelIndex &index)
Definition: snippetdialog.cpp:89
MailCommon::SnippetDialog::SnippetDialog
SnippetDialog(KActionCollection *actionCollection, bool inGroupMode, QWidget *parent=0)
Definition: snippetdialog.cpp:24
MailCommon::SnippetDialog
Definition: snippetdialog.h:30
KDialog
MailCommon::SnippetDialog::setText
void setText(const QString &text)
Definition: snippetdialog.cpp:64
MailCommon::SnippetDialog::text
QString text() const
Definition: snippetdialog.cpp:69
MailCommon::SnippetDialog::groupIndex
QModelIndex groupIndex() const
Definition: snippetdialog.cpp:94
QString
QKeySequence
MailCommon::SnippetDialog::name
QString name() const
Definition: snippetdialog.cpp:59
MailCommon::SnippetDialog::~SnippetDialog
~SnippetDialog()
Definition: snippetdialog.cpp:44
QAbstractItemModel
MailCommon::SnippetDialog::setGroupModel
void setGroupModel(QAbstractItemModel *model)
Definition: snippetdialog.cpp:84
MailCommon::SnippetDialog::setKeySequence
void setKeySequence(const QKeySequence &sequence)
Definition: snippetdialog.cpp:74
MailCommon::SnippetDialog::setName
void setName(const QString &name)
Definition: snippetdialog.cpp:54
MailCommon::SnippetDialog::keySequence
QKeySequence keySequence() const
Definition: snippetdialog.cpp:79
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailcommon

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

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
  • pimprint

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