[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegraphics/ligature
From:       Laurent Montel <montel () kde ! org>
Date:       2006-11-27 12:42:32
Message-ID: 1164631352.679314.21945.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 608310 by mlaurent:

Compile++


 M  +4 -4      plugins/pdf/pdfMultipage.cpp  
 M  +2 -2      plugins/ps/psMultipage.cpp  
 M  +2 -2      shell/ligaturepart.cpp  


--- trunk/KDE/kdegraphics/ligature/plugins/pdf/pdfMultipage.cpp #608309:608310
@@ -57,10 +57,10 @@
      files, and crashes may result. */
   setRenderer(&pdfRenderer);
 
-  docInfoAction = new KAction(i18n("Document &Properties"), "info", 0, this, \
                SLOT(slotShowInfo()), actionCollection(), "info_pdf");
-  setBackgroundAction = new KAction(i18n("Set Document Background..."), 0, this, \
                SLOT(slotSetBackground()), actionCollection(), "set_background");
-  insertPagesAction = new KAction(i18n("Insert Pages..."), 0, this, \
                SLOT(slotInsertPages()), actionCollection(), "insert_pages");
-  deletePagesAction = new KAction(i18n("Delete Pages..."), 0, this, \
SLOT(slotDeletePages()), actionCollection(), "delete_pages"); +  docInfoAction = new \
KAction(i18n("Document &Properties"), "info", KShortcut(), this, \
SLOT(slotShowInfo()), actionCollection(), "info_pdf"); +  setBackgroundAction = new \
KAction(i18n("Set Document Background..."), KShortcut(), this, \
SLOT(slotSetBackground()), actionCollection(), "set_background"); +  \
insertPagesAction = new KAction(i18n("Insert Pages..."), KShortcut(), this, \
SLOT(slotInsertPages()), actionCollection(), "insert_pages"); +  deletePagesAction = \
new KAction(i18n("Delete Pages..."), KShortcut(), this, SLOT(slotDeletePages()), \
actionCollection(), "delete_pages");  
   enableActions(false);
 }
--- trunk/KDE/kdegraphics/ligature/plugins/ps/psMultipage.cpp #608309:608310
@@ -43,8 +43,8 @@
      files, and crashes may result. */
   setRenderer(&psRenderer);
   
-  docInfoAction = new KAction(i18n("Document &Properties"), "info", 0, this, \
                SLOT(slotShowInfo()), actionCollection(), "info_ps");
-  deletePagesAction = new KAction(i18n("Delete Pages..."), 0, this, \
SLOT(slotDeletePages()), actionCollection(), "delete_pages"); +  docInfoAction = new \
KAction(i18n("Document &Properties"), "info", KShortcut(), this, \
SLOT(slotShowInfo()), actionCollection(), "info_ps"); +  deletePagesAction = new \
KAction(i18n("Delete Pages..."), KShortcut(), this, SLOT(slotDeletePages()), \
actionCollection(), "delete_pages");  enableActions(false);
 }
 
--- trunk/KDE/kdegraphics/ligature/shell/ligaturepart.cpp #608309:608310
@@ -253,9 +253,9 @@
   viewModeAction->setCurrentItem(dataModel->preferences()->viewMode());
   connect(viewModeAction, SIGNAL(triggered(int)), dataModel, \
SLOT(setViewMode(int)));  
-  media = new KAction(i18n("Set Default Paper &Size..."), 0, this, \
SLOT(slotMedia()), actionCollection(), "view_media"); +  media = new \
KAction(i18n("Set Default Paper &Size..."), KShortcut(), this, SLOT(slotMedia()), \
actionCollection(), "view_media");  
-  guessViewMode = new KToggleAction(i18n("&Guess View Mode When Opening A New \
File"), 0, this, SLOT(slotShowSidebar()), +  guessViewMode = new \
KToggleAction(i18n("&Guess View Mode When Opening A New File"), KShortcut(), this, \
                SLOT(slotShowSidebar()),
                                     actionCollection(), "view_guess_viewmode");
 
   zoomInAct = KStdAction::zoomIn (this, SLOT(zoomIn()), actionCollection());


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic