From 117b166ca68c8bf56dfdaae735ccfa33b7f30a16 Mon Sep 17 00:00:00 2001
From: Timothy Pearson With the above line we add the "What's This?" help-text to the
fileOpen button...
- ... and tell the rich-text engine that when a help-text (like the one
-saved in fileOpenText) requests an image named "fileopen", the openIcon pixmap is used.
+saved in fileOpenText) requests an image named "document-open", the openIcon pixmap is used.
TQMimeSourceFactory::defaultFactory()->setPixmap( "fileopen", openIcon );
+
TQMimeSourceFactory::defaultFactory()->setPixmap( "document-open", openIcon );
const char * fileSaveText = "<p>Click this button to save the file you "
"are editing. You will be prompted for a file name.\n"
"You can also select the <b>Save</b> command "
diff --git a/examples/action/application.cpp b/examples/action/application.cpp
index 2571379d..0edd623c 100644
--- a/examples/action/application.cpp
+++ b/examples/action/application.cpp
@@ -57,7 +57,7 @@ ApplicationWindow::ApplicationWindow()
"Click this button to open a new file.
"
"You can also select the Open command "
"from the File menu.
Click this button to save the file you " "are editing. You will be prompted for a file name.\n" diff --git a/tools/designer/plugins/wizards/mainwindowwizard.ui.h b/tools/designer/plugins/wizards/mainwindowwizard.ui.h index 88814100..cc5b1c15 100644 --- a/tools/designer/plugins/wizards/mainwindowwizard.ui.h +++ b/tools/designer/plugins/wizards/mainwindowwizard.ui.h @@ -123,14 +123,14 @@ void MainWindowWizardBase::accept() TQtMsgHandler oldMsgHandler = qInstallMsgHandler( devNull ); - getPixmap( "filenew", pix ); + getPixmap( "document-new", pix ); TQAction *fileNewAction = dfw->createAction( tr( "New" ), pix, tr( "&New" ), CTRL + Key_N, 0, "fileNewAction" ); actions.insert( tr( "New" ), fileNewAction ); - getPixmap( "fileopen", pix ); + getPixmap( "document-open", pix ); TQAction *fileOpenAction = dfw->createAction( tr( "Open" ), pix, tr( "&Open..." ), CTRL + Key_O, 0, "fileOpenAction" ); actions.insert( tr( "Open" ), fileOpenAction ); - getPixmap( "filesave", pix ); + getPixmap( "document-save", pix ); TQAction *fileSaveAction = dfw->createAction( tr( "Save" ), pix, tr( "&Save" ), CTRL + Key_S, 0, "fileSaveAction" ); actions.insert( tr( "Save" ), fileSaveAction ); TQAction *fileSaveAsAction = dfw->createAction( tr( "Save As" ), TQIconSet(), tr( "Save &As..." ), 0, 0, "fileSaveAsAction" ); @@ -147,13 +147,13 @@ void MainWindowWizardBase::accept() getPixmap( "redo", pix ); TQAction *editRedoAction = dfw->createAction( tr( "Redo" ), pix, tr( "&Redo" ), CTRL + Key_Y, 0, "editRedoAction" ); actions.insert( tr( "Redo" ), editRedoAction ); - getPixmap( "editcut", pix ); + getPixmap( "edit-cut", pix ); TQAction *editCutAction = dfw->createAction( tr( "Cut" ), pix, tr( "Cu&t" ), CTRL + Key_X, 0, "editCutAction" ); actions.insert( tr( "Cut" ), editCutAction ); - getPixmap( "editcopy", pix ); + getPixmap( "edit-copy", pix ); TQAction *editCopyAction = dfw->createAction( tr( "Copy" ), pix, tr( "&Copy" ), CTRL + Key_C, 0, "editCopyAction" ); actions.insert( tr( "Copy" ), editCopyAction ); - getPixmap( "editpaste", pix ); + getPixmap( "edit-paste", pix ); TQAction *editPasteAction = dfw->createAction( tr( "Paste" ), pix, tr( "&Paste" ), CTRL + Key_V, 0, "editPasteAction" ); actions.insert( tr( "Paste" ), editPasteAction ); getPixmap( "searchfind", pix );