diff --git a/clients/b2/b2client.cpp b/clients/b2/b2client.cpp index 9563174320..820c1ded71 100644 --- a/clients/b2/b2client.cpp +++ b/clients/b2/b2client.cpp @@ -1368,7 +1368,7 @@ void B2Titlebar::recalcBuffer() QPainter p(&titleBuffer); drawTitlebar(p, true); - oldTitle = caption(); + oldTitle = windowTitle(); } void B2Titlebar::resizeEvent(QResizeEvent *) diff --git a/kcmkwin/kwinoptions/windows.cpp b/kcmkwin/kwinoptions/windows.cpp index a02acd0106..df4ab8eaf1 100644 --- a/kcmkwin/kwinoptions/windows.cpp +++ b/kcmkwin/kwinoptions/windows.cpp @@ -291,7 +291,7 @@ void KFocusConfig::setFocus(int foc) void KFocusConfig::updateAltTabMode() { // not KDE-style Alt+Tab with unreasonable focus policies - altTabPopup->setEnabled( focusCombo->currentItem() == 0 || focusCombo->currentItem() == 1 ); + altTabPopup->setEnabled( focusCombo->currentIndex() == 0 || focusCombo->currentIndex() == 1 ); } void KFocusConfig::setAutoRaiseInterval(int tb) diff --git a/kcmkwin/kwinrules/ruleswidget.cpp b/kcmkwin/kwinrules/ruleswidget.cpp index 7f8ac602c7..ff7545d887 100644 --- a/kcmkwin/kwinrules/ruleswidget.cpp +++ b/kcmkwin/kwinrules/ruleswidget.cpp @@ -451,10 +451,10 @@ void RulesWidget::setRules( Rules* rules ) #define CHECKBOX_SET_RULE( var, func ) GENERIC_RULE( var, func, Set, set, isChecked ) #define LINEEDIT_SET_RULE( var, func ) GENERIC_RULE( var, func, Set, set, text ) -#define COMBOBOX_SET_RULE( var, func ) GENERIC_RULE( var, func, Set, set, currentItem ) +#define COMBOBOX_SET_RULE( var, func ) GENERIC_RULE( var, func, Set, set, currentIndex ) #define CHECKBOX_FORCE_RULE( var, func ) GENERIC_RULE( var, func, Force, force, isChecked ) #define LINEEDIT_FORCE_RULE( var, func ) GENERIC_RULE( var, func, Force, force, text ) -#define COMBOBOX_FORCE_RULE( var, func ) GENERIC_RULE( var, func, Force, force, currentItem ) +#define COMBOBOX_FORCE_RULE( var, func ) GENERIC_RULE( var, func, Force, force, currentIndex ) Rules* RulesWidget::rules() const {