[Marble-commits] KDE/kdeedu/marble/src
Bernhard Beschow
bbeschow at cs.tu-berlin.de
Mon Dec 27 22:41:16 CET 2010
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>&File</text>
<Action name="file_open"/>
<Action name="new_stuff"/>
+ <Action name="createMap"/>
<Action name="file_download_region"/>
<Action name="exportMap"/>
<Separator/>
More information about the Marble-commits
mailing list