Merge branch 'master' of ssh://drop.maemo.org/git/mdictionary
authorMarcin Kaźmierczak <marcin@marcin-desktop.(none)>
Mon, 28 Feb 2011 14:34:12 +0000 (15:34 +0100)
committerMarcin Kaźmierczak <marcin@marcin-desktop.(none)>
Mon, 28 Feb 2011 14:34:12 +0000 (15:34 +0100)
Conflicts:
src/mdictionary/qml/WordListWidget.qml

1  2 
src/mdictionary/qml/DictManagerWidget.qml
src/mdictionary/qml/WordListWidget.qml

  import Qt 4.7
  
  Rectangle {
+     id: rectangle1
+     color: myPalette.base
+     anchors.fill: parent
  
      function changeWordState(nr, state) {
 -        console.log("LOOOOOL")
          wordList.currentIndex = nr
          wordModel.setModelProperty(wordList.currentIndex, state, "isBookmarked")
 +    }
  
 +    function changeWordStateByIndex() {
 +        wordModel.setModelPropertyByIndex(wordList.currentIndex, "isBookmarked")
      }
  
      function setEnabled(Boolean) { wordList.enabled = Boolean }
      }
  
      signal wordSelected(string word);
 +    signal wordSelectedByIndex(int nr);
+     signal checkFocus();
  
      SystemPalette { id: myPalette; colorGroup: SystemPalette.Active }