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

kwallet

  • sources
  • kde-4.14
  • kdeutils
  • kwalletmanager
  • src
  • manager
kwmapeditor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2003,2004 George Staikos <staikos@kde.org>
3 
4  This program is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program; see the file COPYING. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef KWMAPEDITOR_H
21 #define KWMAPEDITOR_H
22 
23 #include <QMap>
24 
25 #include <QTableWidget>
26 
27 class KAction;
28 class KActionCollection;
29 
30 class KWMapEditor : public QTableWidget {
31  Q_OBJECT
32 
33  public:
34  KWMapEditor(QMap<QString,QString>& map, QWidget *parent = 0);
35  virtual ~KWMapEditor();
36 
37  public slots:
38  void reload();
39  void saveMap();
40  void erase();
41  void contextMenu(const QPoint& pos);
42  void addEntry();
43  void emitDirty();
44 
45  private slots:
46  void copy();
47 
48  signals:
49  void dirty();
50 
51  private:
52  QMap<QString,QString>& _map;
53  int _contextRow;
54  KActionCollection *_ac;
55  KAction *_copyAct;
56 };
57 
58 #endif
QWidget
KWMapEditor::contextMenu
void contextMenu(const QPoint &pos)
Definition: kwmapeditor.cpp:229
QMap< QString, QString >
KWMapEditor::~KWMapEditor
virtual ~KWMapEditor()
Definition: kwmapeditor.cpp:182
QPoint
KWMapEditor::saveMap
void saveMap()
Definition: kwmapeditor.cpp:199
QTableWidget
KWMapEditor::dirty
void dirty()
KWMapEditor::KWMapEditor
KWMapEditor(QMap< QString, QString > &map, QWidget *parent=0)
Definition: kwmapeditor.cpp:137
KWMapEditor
Definition: kwmapeditor.h:30
QWidget::pos
QPoint pos() const
KWMapEditor::addEntry
void addEntry()
Definition: kwmapeditor.cpp:208
KWMapEditor::erase
void erase()
Definition: kwmapeditor.cpp:186
KWMapEditor::emitDirty
void emitDirty()
Definition: kwmapeditor.cpp:224
QObject::parent
QObject * parent() const
KWMapEditor::reload
void reload()
Definition: kwmapeditor.cpp:150
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kwallet

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

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