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

List:       kde-commits
Subject:    KDE/kdeedu/marble/src
From:       Bernhard Beschow <bbeschow () cs ! tu-berlin ! de>
Date:       2010-12-27 21:41:16
Message-ID: 20101227214116.45DDAAC8B0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1209670 by beschow:

add map wizard action in KDE version, too

 M  +9 -0      marble_part.cpp  
 M  +1 -0      marble_part.rc  


--- trunk/KDE/kdeedu/marble/src/marble_part.cpp #1209669:1209670
@@ -741,6 +741,15 @@
     m_newStuffAction->setStatusTip( i18nc( "Status tip", "Download new maps"));
     m_newStuffAction->setShortcut( Qt::CTRL + Qt::Key_N );
 
+    // Action: Create a New Map
+    m_mapWizardAct = new KAction( i18nc( "Action for creating new maps",
+                                         "&Create a New Map..." ),
+                                  this );
+    actionCollection()->addAction( "createMap", m_mapWizardAct );
+    m_mapWizardAct->setStatusTip( i18nc( "Status tip",
+                                         "A wizard guides you through the creation \
of your own map theme." ) ); +    connect( m_mapWizardAct, SIGNAL( triggered() ), \
SLOT( showMapWizard() ) ); +
     KStandardAction::showStatusbar( this, SLOT( showStatusBar( bool ) ),
 				    actionCollection() );
 
--- trunk/KDE/kdeedu/marble/src/marble_part.rc #1209669:1209670
@@ -6,6 +6,7 @@
     <text>&amp;File</text>
     <Action name="file_open"/>
     <Action name="new_stuff"/>
+    <Action name="createMap"/>
     <Action name="file_download_region"/>
     <Action name="exportMap"/>
     <Separator/>


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

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