lokalize
mergeview.cpp
Go to the documentation of this file.
47 : QDockWidget ( primary?i18nc("@title:window that displays difference between current file and 'merge source'","Primary Sync"):i18nc("@title:window that displays difference between current file and 'merge source'","Secondary Sync"), parent)
52 i18nc("@title:window that displays difference between current file and 'merge source'","Primary Sync"):
53 i18nc("@title:window that displays difference between current file and 'merge source'","Secondary Sync"))
60 setToolTip(i18nc("@info:tooltip","Drop file to be merged into / synced with the current one here"));
85 if(event->mimeData()->hasUrls() && Catalog::extIsSupported(event->mimeData()->urls().first().path()))
214 url=KFileDialog::getOpenUrl(KUrl("kfiledialog:///merge-source") /*m_baseCatalog->url()*/ , Catalog::supportedMimeFilters, this);
232 connect (m_mergeCatalog,SIGNAL(signalEntryModified(DocPosition)),this,SLOT(slotUpdate(DocPosition)));
243 KMessageBox::error(this, i18nc("@info","Error opening the file <filename>%1</filename> for synchronization, error line: %2",url.pathOrUrl(),errorLine) );
248 notification->setText( i18nc("@info %1 is full filename","Error opening the file <filename>%1</filename> for synchronization",url.pathOrUrl()) );
252 //i18nc("@info %1 is w/o path","No branch counterpart for <filename>%1</filename>",url.fileName()),
262 int formLimit=qMin(m_baseCatalog->numberOfPluralForms(),m_mergeCatalog->numberOfPluralForms());//just sanity check
379 QString text="<b>" % url().prettyUrl() % "</b>\n" % i18nc("@info:tooltip","Different entries: %1\nUnmatched entries: %2",
void signalPriorChangedAvailable(bool)
QString userVisibleWordDiff(const QString &str1ForMatching, const QString &str2ForMatching, const QString &accel, const QString &markup, int options)
Definition: diff.cpp:408
void gotoEntry(const DocPosition &, int)
QLinkedList< int > differentEntries() const
Definition: mergecatalog.h:85
bool isPresent(const short int &entry) const
whether 'merge source' has entry with such msgid
Definition: mergecatalog.cpp:110
Definition: mergecatalog.h:101
void slotNewEntryDisplayed(const DocPosition &)
Definition: mergeview.cpp:101
void gotoNextChanged(bool approvedOnly=false)
Definition: mergeview.cpp:314
void copyFromBaseCatalog(const DocPosition &, int options)
Definition: mergecatalog.cpp:48
void signalEntryWithMergeDisplayed(bool)
This class represents a catalog It uses CatalogStorage interface to work with catalogs in different f...
Definition: catalog.h:74
void signalNextChangedAvailable(bool)
void mergeCatalogPointerChanged(MergeCatalog *mergeCatalog)
void copyToBaseCatalog(DocPosition &pos)
Definition: mergecatalog.cpp:263
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.