lokalize
#include <lokalizemainwindow.h>
Public Slots | |
Q_SCRIPTABLE QObject * | activeEditor () |
void | addFilesToSearch (const QStringList &) |
Q_SCRIPTABLE void | busyCursor (bool busy) |
Q_SCRIPTABLE bool | closeProject () |
Q_SCRIPTABLE QString | currentProject () |
Q_SCRIPTABLE QString | dbusName () |
Q_SCRIPTABLE QObject * | editorForFile (const QString &path) |
Q_SCRIPTABLE int | editorIndexForFile (const QString &path) |
EditorTab * | fileOpen (KUrl url=KUrl(), int entry=0, bool setAsActive=true, const QString &mergeFile=QString(), bool silent=false) |
EditorTab * | fileOpen (const KUrl &url, const QString &source, const QString &ctxt) |
EditorTab * | fileOpen (const KUrl &url, DocPosition docPos, int selection) |
void | fileSearchNext () |
int | lookupInTranslationMemory (DocPosition::Part part, const QString &text) |
Q_SCRIPTABLE int | lookupInTranslationMemory (const QString &source, const QString &target) |
Q_SCRIPTABLE int | openFileInEditor (const QString &path) |
Q_SCRIPTABLE int | openFileInEditorAt (const QString &path, const QString &source, const QString &ctxt) |
Q_SCRIPTABLE void | openProject (QString path) |
Q_SCRIPTABLE int | pid () |
Q_SCRIPTABLE QObject * | projectOverview () |
FileSearchTab * | showFileSearch (bool activate=true) |
Q_SCRIPTABLE void | showProjectOverview () |
TM::TMTab * | showTM () |
Q_SCRIPTABLE int | showTranslationMemory () |
void | widgetTextCapture () |
Signals | |
Q_SCRIPTABLE void | editorActivated () |
Q_SCRIPTABLE void | editorAdded () |
Public Member Functions | |
LokalizeMainWindow () | |
~LokalizeMainWindow () | |
Protected Member Functions | |
bool | queryClose () |
void | readProperties (const KConfigGroup &stateGroup) |
void | registerDBusAdaptor () |
void | saveProjectState (KConfigGroup &) |
void | saveProperties (KConfigGroup &stateGroup) |
void | setupActions () |
Detailed Description
Lokalize MDI (tabbed) window.
Sets up actions, and maintains their connection with active subwindow via ActionProxy As such, it handles the menus, toolbars, and status bars.
It is known as Lokalize in kross scripts and as '/ThisIsWhatYouWant : org.kde.Lokalize.MainWindow' in qdbusviewer
Definition at line 60 of file lokalizemainwindow.h.
Constructor & Destructor Documentation
LokalizeMainWindow::LokalizeMainWindow | ( | ) |
Definition at line 81 of file lokalizemainwindow.cpp.
LokalizeMainWindow::~LokalizeMainWindow | ( | ) |
Definition at line 148 of file lokalizemainwindow.cpp.
Member Function Documentation
|
slot |
- Returns
- 0 if current tab is not of Editor type
Definition at line 953 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 436 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 983 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 560 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 978 of file lokalizemainwindow.cpp.
|
slot |
- Returns
- smth like 'org.kde.lokalize-####' where #### is pid()
Definition at line 982 of file lokalizemainwindow.cpp.
|
signal |
|
signal |
- Returns
- editor with
- Parameters
-
path loaded or 0 if there is no such editor.
Definition at line 962 of file lokalizemainwindow.cpp.
|
slot |
part of editor DBus path: /ThisIsWhatYouWant/Editor/
- Returns
- -1 if there is no such editor
Definition at line 970 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 264 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 351 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 360 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 429 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 917 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 925 of file lokalizemainwindow.cpp.
|
slot |
Adds new editor with.
- Parameters
-
path loaded, or just activates already existing editor with this file.
Definition at line 948 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 941 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 584 of file lokalizemainwindow.cpp.
|
slot |
- Returns
- Unix process ID
Definition at line 981 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 369 of file lokalizemainwindow.cpp.
|
protected |
Definition at line 241 of file lokalizemainwindow.cpp.
|
protected |
Definition at line 660 of file lokalizemainwindow.cpp.
|
protected |
Definition at line 871 of file lokalizemainwindow.cpp.
|
protected |
Definition at line 600 of file lokalizemainwindow.cpp.
|
protected |
Definition at line 595 of file lokalizemainwindow.cpp.
|
protected |
Definition at line 449 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 413 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 386 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 392 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 933 of file lokalizemainwindow.cpp.
|
slot |
Definition at line 755 of file lokalizemainwindow.cpp.
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.