diff options
Diffstat (limited to 'kivio/kiviopart/ui')
| -rw-r--r-- | kivio/kiviopart/ui/export_page_dialog_base.ui | 2 | ||||
| -rw-r--r-- | kivio/kiviopart/ui/kivio_birdeye_panel.cpp | 10 | ||||
| -rw-r--r-- | kivio/kiviopart/ui/kivio_layer_panel.cpp | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/kivio/kiviopart/ui/export_page_dialog_base.ui b/kivio/kiviopart/ui/export_page_dialog_base.ui index bc993ed8f..18195eeb7 100644 --- a/kivio/kiviopart/ui/export_page_dialog_base.ui +++ b/kivio/kiviopart/ui/export_page_dialog_base.ui @@ -106,7 +106,7 @@ This will cause the entire page to be exported to the file. This means that < </property> <property name="whatsThis" stdset="0"> <string><b>Crop picture to edges</b><br> -This will eliminate all blank portions of the drawing. The picture will only be as large as the stencils it tqcontains. If your stencils are located in the upper right corner of the page, then only the upper right corner will be exported.</string> +This will eliminate all blank portions of the drawing. The picture will only be as large as the stencils it contains. If your stencils are located in the upper right corner of the page, then only the upper right corner will be exported.</string> </property> </widget> </widget> diff --git a/kivio/kiviopart/ui/kivio_birdeye_panel.cpp b/kivio/kiviopart/ui/kivio_birdeye_panel.cpp index 55b88d82e..546c32035 100644 --- a/kivio/kiviopart/ui/kivio_birdeye_panel.cpp +++ b/kivio/kiviopart/ui/kivio_birdeye_panel.cpp @@ -181,34 +181,34 @@ void KivioBirdEyePanel::handleMouseMove(TQPoint p) handlePress = true; TQRect r1 = TQRect(varea.x()-1, varea.y()-1, 3, varea.height()+2); - if (r1.tqcontains(p)) { + if (r1.contains(p)) { canvas->setCursor(sizeHorCursor); apos = AlignLeft; return; } r1.moveBy(varea.width(),0); - if (r1.tqcontains(p)) { + if (r1.contains(p)) { canvas->setCursor(sizeHorCursor); apos = AlignRight; return; } TQRect r2 = TQRect(varea.x()-1, varea.y()-1, varea.width()+2, 3); - if (r2.tqcontains(p)) { + if (r2.contains(p)) { canvas->setCursor(sizeVerCursor); apos = AlignTop; return; } r2.moveBy(0, varea.height()); - if (r2.tqcontains(p)) { + if (r2.contains(p)) { canvas->setCursor(sizeVerCursor); apos = AlignBottom; return; } - if (varea.tqcontains(p)) { + if (varea.contains(p)) { canvas->setCursor(sizeAllCursor); apos = AlignCenter; return; diff --git a/kivio/kiviopart/ui/kivio_layer_panel.cpp b/kivio/kiviopart/ui/kivio_layer_panel.cpp index 92161ba3f..2e92bd00a 100644 --- a/kivio/kiviopart/ui/kivio_layer_panel.cpp +++ b/kivio/kiviopart/ui/kivio_layer_panel.cpp @@ -181,7 +181,7 @@ void KivioLayerPanel::upItem() KivioPage* page = m_pView->activePage(); KivioLayer* layer = item->data; - int pos = page->layers()->tqfind(layer); + int pos = page->layers()->find(layer); // It's already the top layer... return if(pos == (static_cast<int>(page->layers()->count()) - 1)) return; @@ -217,7 +217,7 @@ void KivioLayerPanel::downItem() KivioPage* page = m_pView->activePage(); KivioLayer* layer = item->data; - int pos = page->layers()->tqfind(layer); + int pos = page->layers()->find(layer); // It's already the bottom layer... return if (pos == 0) return; |
