diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 23:53:04 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-19 23:53:04 -0600 |
commit | 08a27ff4ca540b9abfb3eac67cbba5a480a8bbd3 (patch) | |
tree | bcd4a532e741d04ebb160f4761bcb77b875286d4 /src/basket.cpp | |
parent | dff37d34bfe7faea4801d273ea569eccf7e75c53 (diff) | |
download | basket-08a27ff4ca540b9abfb3eac67cbba5a480a8bbd3.tar.gz basket-08a27ff4ca540b9abfb3eac67cbba5a480a8bbd3.zip |
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'src/basket.cpp')
-rw-r--r-- | src/basket.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/basket.cpp b/src/basket.cpp index 41ac42c..a20a5c9 100644 --- a/src/basket.cpp +++ b/src/basket.cpp @@ -1854,7 +1854,7 @@ void Basket::clickedToInsert(TQMouseEvent *event, Note *clicked, /*Note::Zone*/i { Note *note; if (event->button() == Qt::MidButton) - note = NoteFactory::dropNote(KApplication::clipboard()->data(TQClipboard::Selection), this); + note = NoteFactory::dropNote(TDEApplication::clipboard()->data(TQClipboard::Selection), this); else note = NoteFactory::createNoteText("", this); @@ -2075,7 +2075,7 @@ void Basket::pasteNote(TQClipboard::Mode mode) } closeEditor(); unselectAll(); - Note *note = NoteFactory::dropNote(KApplication::clipboard()->data(mode), this); + Note *note = NoteFactory::dropNote(TDEApplication::clipboard()->data(mode), this); if (note) { insertCreatedNote(note); //unselectAllBut(note); @@ -2407,7 +2407,7 @@ void Basket::contentsMouseDoubleClickEvent(TQMouseEvent *event) void Basket::contentsMouseMoveEvent(TQMouseEvent *event) { // Drag the notes: - if (m_canDrag && (m_pressPos - event->pos()).manhattanLength() > KApplication::startDragDistance()) { + if (m_canDrag && (m_pressPos - event->pos()).manhattanLength() > TDEApplication::startDragDistance()) { m_canDrag = false; m_isSelecting = false; // Don't draw selection rectangle ater drag! m_selectionStarted = false; @@ -2764,7 +2764,7 @@ void Basket::drawInserter(TQPainter &painter, int xPainter, int yPainter) int lineY = (m_inserterGroup && m_inserterTop ? 0 : 2); int roundY = (m_inserterGroup && m_inserterTop ? 0 : 1); - TQColor dark = KApplication::palette().active().dark(); + TQColor dark = TDEApplication::palette().active().dark(); TQColor light = dark.light().light(); if (m_inserterGroup && Settings::groupOnInsertionLine()) light = Tools::mixColor(light, KGlobalSettings::highlightColor()); @@ -4196,7 +4196,7 @@ void Basket::noteDeleteWithoutConfirmation(bool deleteFilesToo) void Basket::doCopy(CopyMode copyMode) { - TQClipboard *cb = KApplication::clipboard(); + TQClipboard *cb = TDEApplication::clipboard(); TQClipboard::Mode mode = (copyMode == CopyToSelection ? TQClipboard::Selection : TQClipboard::Clipboard); NoteSelection *selection = selectedNotes(); |