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

libs/libkexiv2/libkexiv2

  • sources
  • kde-4.14
  • kdegraphics
  • libs
  • libkexiv2
  • libkexiv2
altlangstredit.h
Go to the documentation of this file.
1 
26 #ifndef ALTLANGSTREDIT_H
27 #define ALTLANGSTREDIT_H
28 
29 // Qt includes
30 
31 #include <QtGui/QWidget>
32 #include <QtCore/QString>
33 
34 // Local includes
35 
36 #include "libkexiv2_export.h"
37 #include "kexiv2.h"
38 
39 namespace KExiv2Iface
40 {
41 
42 class KEXIV2_EXPORT AltLangStrEdit : public QWidget
43 {
44  Q_OBJECT
45 
46 public:
47 
48  AltLangStrEdit(QWidget* parent);
49  ~AltLangStrEdit();
50 
51  void setTitle(const QString& title);
52  void setClickMessage(const QString& msg);
53 
54  void setCurrentLanguageCode(const QString& lang);
55  QString currentLanguageCode() const;
56 
57  QString languageCode(int index) const;
58 
59  void setValues(const KExiv2::AltLangMap& values);
60  KExiv2::AltLangMap& values();
61 
64  void setLinesVisible(uint lines);
65  uint linesVisible() const;
66 
67  QString defaultAltLang() const;
68  bool asDefaultAltLang() const;
69 
73  void reset();
74 
80  void addCurrent();
81 
82 Q_SIGNALS:
83 
87  void signalModified(const QString& lang, const QString& text);
89  void signalSelectionChanged(const QString& lang);
91  void signalValueAdded(const QString& lang, const QString& text);
93  void signalValueDeleted(const QString& lang);
94 
95 protected Q_SLOTS:
96 
97  void slotTextChanged();
98  void slotSelectionChanged();
99  void slotDeleteValue();
100 
101 protected:
102 
103  void loadLangAltListEntries();
104 
105  virtual void changeEvent(QEvent* e);
106 
107 private:
108 
109  class Private;
110  Private* const d;
111 };
112 
113 } // namespace KExiv2Iface
114 
115 #endif // ALTLANGSTREDIT_H
QEvent
QWidget
KExiv2Iface::AltLangStrEdit
Definition: altlangstredit.h:42
QMap
KEXIV2_EXPORT
#define KEXIV2_EXPORT
Definition: libkexiv2_export.h:39
QString
libkexiv2_export.h
===========================================================This file is part of the KDE project ...
kexiv2.h
===========================================================This file is a part of digiKam project htt...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libs/libkexiv2/libkexiv2

Skip menu "libs/libkexiv2/libkexiv2"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

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