Changeset View
Changeset View
Standalone View
Standalone View
krusader/krusaderview.cpp
Show First 20 Lines • Show All 418 Lines • ▼ Show 20 Line(s) | |||||
419 | bool KrusaderView::isTerminalEmulatorFullscreen() { | 419 | bool KrusaderView::isTerminalEmulatorFullscreen() { | ||
420 | return leftMng->isHidden() && rightMng->isHidden(); | 420 | return leftMng->isHidden() && rightMng->isHidden(); | ||
421 | } | 421 | } | ||
422 | 422 | | |||
423 | void KrusaderView::profiles(QString profileName) | 423 | void KrusaderView::profiles(QString profileName) | ||
424 | { | 424 | { | ||
425 | ProfileManager profileManager("Panel", this); | 425 | ProfileManager profileManager("Panel", this); | ||
426 | profileManager.hide(); | 426 | profileManager.hide(); | ||
427 | connect(&profileManager, SIGNAL(saveToProfile(QString)), this, SLOT(savePanelProfiles(QString))); | 427 | connect(&profileManager, &ProfileManager::saveToProfile, this, &KrusaderView::savePanelProfiles); | ||
428 | connect(&profileManager, SIGNAL(loadFromProfile(QString)), this, SLOT(loadPanelProfiles(QString))); | 428 | connect(&profileManager, &ProfileManager::loadFromProfile, this, &KrusaderView::loadPanelProfiles); | ||
429 | if (profileName.isEmpty()) | 429 | if (profileName.isEmpty()) | ||
430 | profileManager.profilePopup(); | 430 | profileManager.profilePopup(); | ||
431 | else | 431 | else | ||
432 | profileManager.loadProfile(profileName); | 432 | profileManager.loadProfile(profileName); | ||
433 | } | 433 | } | ||
434 | 434 | | |||
435 | void KrusaderView::loadPanelProfiles(QString group) | 435 | void KrusaderView::loadPanelProfiles(QString group) | ||
436 | { | 436 | { | ||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |