Merge remote-tracking branch 'origin/KDE/4.8'

This commit is contained in:
David Faure 2012-01-02 11:34:43 +01:00
commit 5b4f072dd7
7 changed files with 18 additions and 13 deletions

View File

@ -540,8 +540,8 @@ QPoint Corona::popupPosition(const QGraphicsItem *item, const QSize &s, Qt::Alig
pos.setX(pos.x() + actualItem->boundingRect().width() - s.width()); pos.setX(pos.x() + actualItem->boundingRect().width() - s.width());
} }
if (pos.x() + s.width() > v->geometry().right()) { if (pos.x() + s.width() > v->geometry().x() + v->geometry().width()) {
pos.setX(v->geometry().right() - s.width()); pos.setX((v->geometry().x() + v->geometry().width()) - s.width());
} else { } else {
pos.setX(qMax(pos.x(), v->geometry().left())); pos.setX(qMax(pos.x(), v->geometry().left()));
} }
@ -555,8 +555,8 @@ QPoint Corona::popupPosition(const QGraphicsItem *item, const QSize &s, Qt::Alig
pos.setY(pos.y() + actualItem->boundingRect().height() - s.height()); pos.setY(pos.y() + actualItem->boundingRect().height() - s.height());
} }
if (pos.y() + s.height() > v->geometry().bottom()) { if (pos.y() + s.height() > v->geometry().y() + v->geometry().height()) {
pos.setY(v->geometry().bottom() - s.height()); pos.setY((v->geometry().y() + v->geometry().height()) - s.height());
} else { } else {
pos.setY(qMax(pos.y(), v->geometry().top())); pos.setY(qMax(pos.y(), v->geometry().top()));
} }
@ -591,10 +591,10 @@ QPoint Corona::popupPosition(const QGraphicsItem *item, const QSize &s, Qt::Alig
pos.setY(v->geometry().y() - s.height()); pos.setY(v->geometry().y() - s.height());
break; break;
case TopEdge: case TopEdge:
pos.setY(v->geometry().bottom()); pos.setY(v->geometry().y() + v->geometry().height());
break; break;
case LeftEdge: case LeftEdge:
pos.setX(v->geometry().right()); pos.setX(v->geometry().x() + v->geometry().width());
break; break;
case RightEdge: case RightEdge:
pos.setX(v->geometry().x() - s.width()); pos.setX(v->geometry().x() - s.width());
@ -609,12 +609,12 @@ QPoint Corona::popupPosition(const QGraphicsItem *item, const QSize &s, Qt::Alig
//kDebug() << "==> rect for" << screen << "is" << screenRect; //kDebug() << "==> rect for" << screen << "is" << screenRect;
if (loc != LeftEdge && pos.x() + s.width() > screenRect.right()) { if (loc != LeftEdge && pos.x() + s.width() > screenRect.x() + screenRect.width()) {
pos.rx() -= ((pos.x() + s.width()) - screenRect.right()); pos.rx() -= ((pos.x() + s.width()) - (screenRect.x() + screenRect.width()));
} }
if (loc != TopEdge && pos.y() + s.height() > screenRect.bottom()) { if (loc != TopEdge && pos.y() + s.height() > screenRect.y() + screenRect.height()) {
pos.ry() -= ((pos.y() + s.height()) - screenRect.bottom()); pos.ry() -= ((pos.y() + s.height()) - (screenRect.y() + screenRect.height()));
} }
pos.rx() = qMax(0, pos.x()); pos.rx() = qMax(0, pos.x());

View File

@ -20,6 +20,7 @@ Description[et]=Plasma teenuste protokoll
Description[eu]=Plasma zerbitzuentzako protokolo bat Description[eu]=Plasma zerbitzuentzako protokolo bat
Description[fi]=Plasma-palvelujen yhteyskäytäntö Description[fi]=Plasma-palvelujen yhteyskäytäntö
Description[fr]=Un protocole pour les services Plasma Description[fr]=Un protocole pour les services Plasma
Description[ga]=Prótacal le haghaidh seirbhísí Plasma
Description[gl]=Un protocolo para servizos do Plasma Description[gl]=Un protocolo para servizos do Plasma
Description[hr]=Protokol za servise u Plasmi Description[hr]=Protokol za servise u Plasmi
Description[hu]=Protokoll a Plazma-szolgáltatáshoz Description[hu]=Protokoll a Plazma-szolgáltatáshoz

View File

@ -71,7 +71,7 @@ Comment[ta]=பிளாஸ்மா தரவு இயந்திரம்
Comment[tg]=Системаи маълумотии Plasma Comment[tg]=Системаи маълумотии Plasma
Comment[th]= Comment[th]=
Comment[tr]=Plasma Veri Motoru Comment[tr]=Plasma Veri Motoru
Comment[ug]=Plasma سانلىق مەلۇمات ماتورى Comment[ug]=Plasma سانلىق-مەلۇمات ماتورى
Comment[uk]=Рушій даних Плазми Comment[uk]=Рушій даних Плазми
Comment[vi]=Cơ chế d liu Plasma Comment[vi]=Cơ chế d liu Plasma
Comment[wa]=Moteur di dnêyes di Plasma Comment[wa]=Moteur di dnêyes di Plasma

View File

@ -17,6 +17,7 @@ Comment[et]=Plasma teenus
Comment[eu]=Plasma zerbitzua Comment[eu]=Plasma zerbitzua
Comment[fi]=Plasma-palvelu Comment[fi]=Plasma-palvelu
Comment[fr]=Service Plasma Comment[fr]=Service Plasma
Comment[ga]=Seirbhís Plasma
Comment[gl]=Servizo do Plasma Comment[gl]=Servizo do Plasma
Comment[hr]=Servis u Plasmi Comment[hr]=Servis u Plasmi
Comment[hu]=Plazma-szolgáltatás Comment[hu]=Plazma-szolgáltatás

View File

@ -17,6 +17,7 @@ Comment[et]=Plasma tööriistakast
Comment[eu]=Plasma tresna-kutxa Comment[eu]=Plasma tresna-kutxa
Comment[fi]=Plasma-työkalurivi Comment[fi]=Plasma-työkalurivi
Comment[fr]=Boîte à outils Plasma Comment[fr]=Boîte à outils Plasma
Comment[ga]=Bosca uirlisí Plasma
Comment[gl]=Barra de ferramentas do Plasma Comment[gl]=Barra de ferramentas do Plasma
Comment[hr]=Plasma alatni okvir Comment[hr]=Plasma alatni okvir
Comment[hu]=Plazma-eszközkészlet Comment[hu]=Plazma-eszközkészlet

View File

@ -64,7 +64,7 @@ Name[ta]=பொதியின் மூலத்தரவு சோதனைக
Name[tg]=Файли санҷишии стсетмаи metadata Name[tg]=Файли санҷишии стсетмаи metadata
Name[th]= Name[th]=
Name[tr]=Paket metadata test dosyası Name[tr]=Paket metadata test dosyası
Name[ug]=بوغچا مېتا سانلىق مەلۇمات سىناق ھۆججەت Name[ug]=بوغچا مېتا سانلىق-مەلۇمات سىناق ھۆججەت
Name[uk]=Файл перевірки метаданих пакунка Name[uk]=Файл перевірки метаданих пакунка
Name[vi]=Tp tin kim tra d liu lý lch Plasma Name[vi]=Tp tin kim tra d liu lý lch Plasma
Name[wa]=Fitchî d' asprouvaedje des meta-dnêyes do pacaedje Name[wa]=Fitchî d' asprouvaedje des meta-dnêyes do pacaedje

View File

@ -15,6 +15,7 @@ Name[eu]=Proba
Name[fa]=آزمون Name[fa]=آزمون
Name[fi]=Testi Name[fi]=Testi
Name[fr]=Test Name[fr]=Test
Name[ga]=Tástáil
Name[gl]=Proba Name[gl]=Proba
Name[hr]=Test Name[hr]=Test
Name[hu]=Teszt Name[hu]=Teszt
@ -47,7 +48,7 @@ Name[sr@latin]=Proba
Name[sv]=Test Name[sv]=Test
Name[th]= Name[th]=
Name[tr]=Deneme Name[tr]=Deneme
Name[ug]=سىنا Name[ug]=سىناق
Name[uk]=Тест Name[uk]=Тест
Name[vi]=Kim tra Name[vi]=Kim tra
Name[wa]=Sayî Name[wa]=Sayî
@ -69,6 +70,7 @@ Comment[et]=Libaplugin testimiseks
Comment[eu]=Probatarako gezurretazko plugin bat Comment[eu]=Probatarako gezurretazko plugin bat
Comment[fi]=Tyhjä testausliitännäinen Comment[fi]=Tyhjä testausliitännäinen
Comment[fr]=Un module factice de test Comment[fr]=Un module factice de test
Comment[ga]=Bréagbhreiseán le haghaidh tástála
Comment[gl]=Un engadido para probas Comment[gl]=Un engadido para probas
Comment[hr]=Lažan priključak za testiranje Comment[hr]=Lažan priključak za testiranje
Comment[hu]=Üres bővítmény teszteléshez Comment[hu]=Üres bővítmény teszteléshez