qt6-bb10/src
Alexander Potashev ec4d346f95 Allow using not only prefixes for undo command text
Functions QUndo{Group,Stack}::create{Undo,Redo}Action() now use action
text templates "Undo %1" and "Redo %1" if no custom prefix was provided.

This makes more flexible translations possible. The surrounding text
(like "Undo" and "Redo") can now be suffixed to the command name as
German and Korean languages require ("%1 rueckgaengig machen" for German).

Also, now the default action text (when no command can be undone) can be
translated differently from the prefix. For example, it can be
translated as "Undo action", not just "Undo".

When a non-empty prefix is passed to QUndo*****::create****Action(),
those functions work as before, and the features described above become
unavailable.

Task-number: QTBUG-14442
Merge-request: 1212
Reviewed-by: ossi
(cherry picked from commit 213c25ad24e4f3b0a44f82f23d34746cd294f8d6)
2011-05-10 12:54:56 +02:00
..
3rdparty Don't rely on uninitialized data 2011-05-10 12:54:55 +02:00
corelib QFileSystemEngine::currentPath(): use QFileSystemEntry() also for the no-PATH_MAX case 2011-05-10 12:54:56 +02:00
dbus Move private headers into versioned subdirectory 2011-05-02 15:30:08 +02:00
gui Allow using not only prefixes for undo command text 2011-05-10 12:54:56 +02:00
modules Move private headers into versioned subdirectory 2011-05-02 15:30:08 +02:00
network HTTP backend: do not load resources from cache that must be revalidated 2011-05-10 12:54:56 +02:00
opengl Only cleanup share widget if it has been created. 2011-05-10 12:54:54 +02:00
openvg Fix trailing whitespaces 2011-05-10 12:54:53 +02:00
plugins Return name and allow actions for invisible accessible items. 2011-05-10 12:54:50 +02:00
s60installs Fix OpenGL build break on Symbian 2011-05-10 12:54:45 +02:00
s60main Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
sql Fixed QTBUG-11935 : "With MySQL version > 50000 the QMYSQLDriver:: 2011-05-10 12:54:49 +02:00
testlib Add module.prf, and install MODULE_PRI for each module 2011-05-02 15:30:08 +02:00
tools uic: Remove Q3Support. 2011-05-06 09:32:09 +02:00
uitools BC cleanup in uitools. 2011-05-04 16:23:51 +02:00
winmain Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
xml Move private headers into versioned subdirectory 2011-05-02 15:30:08 +02:00
qbase.pri Move private headers into versioned subdirectory 2011-05-02 15:30:08 +02:00
qt_install.pri Install private headers into the correct location 2011-05-07 22:10:54 -05:00
qt_targets.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
src.pro Move uitools from QtTools to QtBase 2011-04-27 12:05:52 +02:00