24 #ifndef DIGIKAM_ALT_LANG_STR_EDIT_H
25 #define DIGIKAM_ALT_LANG_STR_EDIT_H
50 void setTitle(
const QString& title);
51 void setPlaceholderText(
const QString& msg);
53 void setCurrentLanguageCode(
const QString& lang);
54 QString currentLanguageCode()
const;
56 QString languageCode(
int index)
const;
64 void setLinesVisible(uint lines);
65 uint linesVisible()
const;
67 QString defaultAltLang()
const;
68 bool asDefaultAltLang()
const;
82 QTextEdit* textEdit()
const;
100 void slotTextChanged();
101 void slotSelectionChanged();
102 void slotDeleteValue();
106 void loadLangAltListEntries();
108 void changeEvent(QEvent* e)
override;
115 friend class Private;
Definition: altlangstredit.h:42
void signalSelectionChanged(const QString &lang)
Emitted when the current language changed.
void signalValueAdded(const QString &lang, const QString &text)
Emitted when an entry for a new language is added.
void signalModified(const QString &lang, const QString &text)
Emitted when the user changes the text for the current language.
void signalValueDeleted(const QString &lang)
Emitted when the entry for a language is removed.
Definition: datefolderview.cpp:43