From b5f543cd3ac21fbe8bf461de25a6216533453bb6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 15:43:52 -0500 Subject: Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance --- doc/html/qaction-application-example.html | 2 +- doc/html/qwhatsthis.html | 2 +- doc/html/simple-application-example.html | 2 +- doc/html/simple-application.html | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/html/qaction-application-example.html b/doc/html/qaction-application-example.html index 406d3f6..f15a4af 100644 --- a/doc/html/qaction-application-example.html +++ b/doc/html/qaction-application-example.html @@ -152,7 +152,7 @@ private: "Click this button to open a <em>new file</em>. <br>" "You can also select the <b>Open</b> command " "from the <b>File</b> menu.</p>"; - QMimeSourceFactory::defaultFactory()->setPixmap( "fileopen", + QMimeSourceFactory::defaultFactory()->setPixmap( "document-open", fileOpenAction->iconSet().pixmap() ); fileOpenAction->setWhatsThis( fileOpenText ); diff --git a/doc/html/qwhatsthis.html b/doc/html/qwhatsthis.html index eafc62f..122fe42 100644 --- a/doc/html/qwhatsthis.html +++ b/doc/html/qwhatsthis.html @@ -89,7 +89,7 @@ stylesheet. This makes it possible to embed images. See "Click this button to open a <em>new file</em>. <br>" "You can also select the <b>Open</b> command " "from the <b>File</b> menu.</p>"; - QMimeSourceFactory::defaultFactory()->setPixmap( "fileopen", + QMimeSourceFactory::defaultFactory()->setPixmap( "document-open", fileOpenAction->iconSet().pixmap() ); fileOpenAction->setWhatsThis( fileOpenText ); diff --git a/doc/html/simple-application-example.html b/doc/html/simple-application-example.html index b8a5ef7..80c2207 100644 --- a/doc/html/simple-application-example.html +++ b/doc/html/simple-application-example.html @@ -161,7 +161,7 @@ private: QWhatsThis::add( fileOpen, fileOpenText ); - QMimeSourceFactory::defaultFactory()->setPixmap( "fileopen", openIcon ); + QMimeSourceFactory::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" diff --git a/doc/html/simple-application.html b/doc/html/simple-application.html index e016572..e414a35 100644 --- a/doc/html/simple-application.html +++ b/doc/html/simple-application.html @@ -232,10 +232,10 @@ function, as its mouse interface is unusual.

With the above line we add the "What's This?" help-text to the fileOpen button... -

        QMimeSourceFactory::defaultFactory()->setPixmap( "fileopen", openIcon );
+

        QMimeSourceFactory::defaultFactory()->setPixmap( "document-open", openIcon );
 

... 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.

        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 "
-- 
cgit v1.2.3