Changeset View
Changeset View
Standalone View
Standalone View
kstars/kstarsinit.cpp
Show First 20 Lines • Show All 368 Lines • ▼ Show 20 Line(s) | 367 | actionCollection()->addAction("geolocation", this, SLOT(slotGeoLocator())) | |||
---|---|---|---|---|---|
369 | << QIcon::fromTheme("kstars_xplanet") | 369 | << QIcon::fromTheme("kstars_xplanet") | ||
370 | << QKeySequence(Qt::CTRL + Qt::Key_G); | 370 | << QKeySequence(Qt::CTRL + Qt::Key_G); | ||
371 | 371 | | |||
372 | // Configure Notifications | 372 | // Configure Notifications | ||
373 | #ifdef HAVE_NOTIFYCONFIG | 373 | #ifdef HAVE_NOTIFYCONFIG | ||
374 | KStandardAction::configureNotifications(this, SLOT(slotConfigureNotifications()), actionCollection()); | 374 | KStandardAction::configureNotifications(this, SLOT(slotConfigureNotifications()), actionCollection()); | ||
375 | #endif | 375 | #endif | ||
376 | 376 | | |||
377 | // Prepare the options dialog early for modules to connect signals | ||||
378 | prepareOps(); | ||||
379 | | ||||
377 | ka = actionCollection()->addAction(KStandardAction::Preferences, "configure", this, SLOT(slotViewOps())); | 380 | ka = actionCollection()->addAction(KStandardAction::Preferences, "configure", this, SLOT(slotViewOps())); | ||
378 | //I am not sure what icon preferences is supposed to be. | 381 | //I am not sure what icon preferences is supposed to be. | ||
379 | //ka->setIcon( QIcon::fromTheme("")); | 382 | //ka->setIcon( QIcon::fromTheme("")); | ||
380 | 383 | | |||
381 | actionCollection()->addAction("startwizard", this, SLOT(slotWizard())) | 384 | actionCollection()->addAction("startwizard", this, SLOT(slotWizard())) | ||
382 | << i18n("Startup Wizard...") | 385 | << i18n("Startup Wizard...") | ||
383 | << QIcon::fromTheme("tools-wizard"); | 386 | << QIcon::fromTheme("tools-wizard"); | ||
384 | 387 | | |||
▲ Show 20 Lines • Show All 571 Lines • Show Last 20 Lines |