lokalize
#include <editortab.h>
Public Slots | |
Q_SCRIPTABLE void | addAlternateTranslation (int entry, const QString &translation) |
Q_SCRIPTABLE void | addEntryNote (int entry, const QString ¬e) |
Q_SCRIPTABLE void | addTemporaryAlternateTranslation (int entry, const QString &translation) |
Q_SCRIPTABLE void | addTemporaryEntryNote (int entry, const QString ¬e) |
Q_SCRIPTABLE void | attachAlternateTranslationFile (const QString &path) |
Q_SCRIPTABLE void | close () |
Q_SCRIPTABLE int | currentEntry () |
Q_SCRIPTABLE QString | currentEntryId () |
Q_SCRIPTABLE QString | currentFile () |
Q_SCRIPTABLE QByteArray | currentFileContents () |
Q_SCRIPTABLE int | currentForm () |
Q_SCRIPTABLE int | entryCount () |
Q_SCRIPTABLE int | entryPluralFormCount (int entry) |
Q_SCRIPTABLE bool | entryReady (int entry) |
Q_SCRIPTABLE QString | entrySource (int entry, int form) |
Q_SCRIPTABLE QString | entryTarget (int entry, int form) |
Q_SCRIPTABLE bool | findEntryBySourceContext (const QString &source, const QString &ctxt) |
void | gotoEntry (DocPosition pos, int selection=0) |
Q_SCRIPTABLE void | gotoEntry (int entry) |
Q_SCRIPTABLE void | gotoEntryForm (int entry, int form) |
Q_SCRIPTABLE void | gotoEntryFormOffset (int entry, int form, int offset) |
Q_SCRIPTABLE void | gotoEntryFormOffsetSelection (int entry, int form, int offset, int selection) |
Q_SCRIPTABLE void | gotoFirst () |
Q_SCRIPTABLE void | gotoFirstUnfiltered () |
Q_SCRIPTABLE void | gotoLast () |
Q_SCRIPTABLE void | gotoLastUnfiltered () |
Q_SCRIPTABLE void | gotoNext () |
Q_SCRIPTABLE void | gotoNextUnfiltered () |
Q_SCRIPTABLE void | gotoPrev () |
Q_SCRIPTABLE void | gotoPrevUnfiltered () |
Q_SCRIPTABLE bool | isValid () |
Q_SCRIPTABLE void | openSyncSource (QString path) |
Q_SCRIPTABLE void | reloadFile () |
Q_SCRIPTABLE bool | saveFile (const KUrl &url=KUrl()) |
Q_SCRIPTABLE bool | saveFileAs () |
Q_SCRIPTABLE QString | selectionInSource () |
Q_SCRIPTABLE QString | selectionInTarget () |
Q_SCRIPTABLE void | setEntriesFilteredOut (bool filteredOut) |
Q_SCRIPTABLE void | setEntryFilteredOut (int entry, bool filteredOut) |
Q_SCRIPTABLE void | setEntryTarget (int entry, int form, const QString &content) |
void | setProperFocus () |
Q_SCRIPTABLE void | setSrcFileOpenRequestAccepted (bool a) |
Q_SCRIPTABLE QString | sourceLangCode () |
Q_SCRIPTABLE QString | targetLangCode () |
Public Member Functions | |
EditorTab (QWidget *parent, bool valid=true) | |
~EditorTab () | |
QObject * | adaptor () |
KUrl | currentUrl () |
int | dbusId () |
QString | dbusObjectPath () |
bool | fileOpen (KUrl url=KUrl(), KUrl baseUrl=KUrl(), bool silent=false) |
KXMLGUIClient * | guiClient () |
void | hideDocks () |
void | mergeOpen (KUrl url=KUrl()) |
bool | queryClose () |
void | setFullPathShown (bool) |
void | setProperCaption (QString, bool) |
void | showDocks () |
EditorState | state () |
Public Member Functions inherited from LokalizeSubwindowBase2 | |
LokalizeSubwindowBase2 (QWidget *parent) | |
virtual | ~LokalizeSubwindowBase2 () |
KXMLGUIClient * | guiClient () |
Public Member Functions inherited from LokalizeSubwindowBase | |
LokalizeSubwindowBase (QWidget *parent) | |
virtual | ~LokalizeSubwindowBase () |
Protected Member Functions | |
void | paintEvent (QPaintEvent *event) |
Protected Member Functions inherited from LokalizeSubwindowBase | |
void | reflectNonApprovedCount (int count, int total) |
void | reflectUntranslatedCount (int count, int total) |
Additional Inherited Members | |
Public Attributes inherited from LokalizeSubwindowBase | |
StatusBarProxy | statusBarItems |
Detailed Description
Editor tab.
This class can be called a dispatcher for one message catalog.
It is accessible via Lokalize.currentEditor() from kross scripts and via '/ThisIsWhatYouWant/Editor/# : org.kde.Lokalize.Editor' from qdbusviewer
Definition at line 85 of file editortab.h.
Constructor & Destructor Documentation
EditorTab::EditorTab | ( | QWidget * | parent, |
bool | valid = true |
||
) |
Definition at line 99 of file editortab.cpp.
EditorTab::~EditorTab | ( | ) |
Definition at line 149 of file editortab.cpp.
Member Function Documentation
|
inline |
Definition at line 117 of file editortab.h.
|
slot |
Definition at line 1423 of file editortab.cpp.
|
slot |
Definition at line 1420 of file editortab.cpp.
|
slot |
Definition at line 1424 of file editortab.cpp.
|
slot |
Definition at line 1421 of file editortab.cpp.
|
slot |
Definition at line 1425 of file editortab.cpp.
|
inlineslot |
Definition at line 159 of file editortab.h.
|
inlineslot |
Definition at line 128 of file editortab.h.
|
slot |
Definition at line 1403 of file editortab.cpp.
|
inlineslot |
Definition at line 148 of file editortab.h.
|
slot |
Definition at line 1402 of file editortab.cpp.
|
inlineslot |
Definition at line 129 of file editortab.h.
|
virtual |
Reimplemented from LokalizeSubwindowBase.
Definition at line 1401 of file editortab.cpp.
|
inline |
Definition at line 116 of file editortab.h.
QString EditorTab::dbusObjectPath | ( | ) |
Definition at line 1384 of file editortab.cpp.
|
slot |
Definition at line 1412 of file editortab.cpp.
|
signal |
|
slot |
Definition at line 1416 of file editortab.cpp.
|
slot |
Definition at line 1417 of file editortab.cpp.
|
slot |
Definition at line 1414 of file editortab.cpp.
|
slot |
Definition at line 1415 of file editortab.cpp.
|
signal |
|
signal |
|
signal |
bool EditorTab::fileOpen | ( | KUrl | url = KUrl() , |
KUrl | baseUrl = KUrl() , |
||
bool | silent = false |
||
) |
Definition at line 789 of file editortab.cpp.
|
signal |
|
signal |
|
signal |
Definition at line 672 of file editortab_findreplace.cpp.
|
slot |
Definition at line 986 of file editortab.cpp.
|
inlineslot |
Definition at line 122 of file editortab.h.
|
inlineslot |
Definition at line 123 of file editortab.h.
|
inlineslot |
Definition at line 124 of file editortab.h.
|
inlineslot |
Definition at line 125 of file editortab.h.
|
slot |
Definition at line 1104 of file editortab.cpp.
|
slot |
Definition at line 1101 of file editortab.cpp.
|
slot |
Definition at line 1111 of file editortab.cpp.
|
slot |
Definition at line 1102 of file editortab.cpp.
|
slot |
Definition at line 1119 of file editortab.cpp.
|
slot |
Definition at line 1084 of file editortab.cpp.
|
slot |
Definition at line 1131 of file editortab.cpp.
|
slot |
Definition at line 1093 of file editortab.cpp.
|
inlinevirtual |
Implements LokalizeSubwindowBase.
Definition at line 108 of file editortab.h.
|
virtual |
Implements LokalizeSubwindowBase.
Definition at line 737 of file editortab.cpp.
|
inlineslot |
Definition at line 172 of file editortab.h.
void EditorTab::mergeOpen | ( | KUrl | url = KUrl() | ) |
Definition at line 1315 of file editortab.cpp.
|
inlineslot |
Definition at line 154 of file editortab.h.
|
protected |
Definition at line 1327 of file editortab.cpp.
bool EditorTab::queryClose | ( | ) |
Definition at line 941 of file editortab.cpp.
|
slot |
Definition at line 1358 of file editortab.cpp.
|
slot |
Definition at line 904 of file editortab.cpp.
|
slot |
Definition at line 897 of file editortab.cpp.
|
slot |
Definition at line 1405 of file editortab.cpp.
|
slot |
Definition at line 1404 of file editortab.cpp.
|
slot |
Definition at line 1411 of file editortab.cpp.
|
slot |
Definition at line 1410 of file editortab.cpp.
|
slot |
Definition at line 1427 of file editortab.cpp.
void EditorTab::setFullPathShown | ( | bool | fullPathShown | ) |
Definition at line 757 of file editortab.cpp.
void EditorTab::setProperCaption | ( | QString | title, |
bool | modified | ||
) |
Definition at line 750 of file editortab.cpp.
|
slot |
Definition at line 732 of file editortab.cpp.
|
inlineslot |
Definition at line 174 of file editortab.h.
|
virtual |
Implements LokalizeSubwindowBase.
Definition at line 743 of file editortab.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
slot |
Definition at line 1418 of file editortab.cpp.
|
signal |
EditorState EditorTab::state | ( | ) |
Definition at line 929 of file editortab.cpp.
|
slot |
Definition at line 1419 of file editortab.cpp.
|
signal |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.