diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:47:59 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:47:59 -0600 |
commit | c2637a0da6d9a1c8626ca39f8451ab3b7cda487a (patch) | |
tree | be38034f085e8be24f14f329f87a611d319e6259 /kcoloredit/kcoloreditdoc.cpp | |
parent | 3fd343f2c6b0545bd750b2939c74be3834b13274 (diff) | |
download | tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.tar.gz tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kcoloredit/kcoloreditdoc.cpp')
-rw-r--r-- | kcoloredit/kcoloreditdoc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kcoloredit/kcoloreditdoc.cpp b/kcoloredit/kcoloreditdoc.cpp index 0669380b..f4c2f1e9 100644 --- a/kcoloredit/kcoloreditdoc.cpp +++ b/kcoloredit/kcoloreditdoc.cpp @@ -19,7 +19,7 @@ #include <tqdir.h> #include <tqfileinfo.h> #include <tqwidget.h> -#include <tqclipboard.h> +#include <clipboard.h> // include files for KDE #include <klocale.h> @@ -235,7 +235,7 @@ void KColorEditDoc::copyToClipboard(Palette& palette) { TQString text; TQTextOStream stream(&text); palette.save(stream, 0, false); - KApplication::tqclipboard()->setText(text); + KApplication::clipboard()->setText(text); emit clipboardChanged(); } @@ -260,7 +260,7 @@ void KColorEditDoc::paste() { Palette palettePaste; TQString text; TQTextIStream stream(&text); - text = KApplication::tqclipboard()->text(); + text = KApplication::clipboard()->text(); if(palettePaste.load( stream, false )) { m_paletteHistory.paste(paletteCursorPos(), palettePaste); setPaletteSelection(paletteCursorPos(), paletteCursorPos() + |