summaryrefslogtreecommitdiffstats
path: root/tdecore/kclipboard.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:48:49 -0600
commit13281e2856a2ef43bbab78c5528470309c23aa77 (patch)
tree936bcf8145dc235004c73e9fb3d6b3dca9aa370b /tdecore/kclipboard.cpp
parente81c741bb2cf337a43524e75f22f7728ce17a343 (diff)
downloadtdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.tar.gz
tdelibs-13281e2856a2ef43bbab78c5528470309c23aa77.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'tdecore/kclipboard.cpp')
-rw-r--r--tdecore/kclipboard.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdecore/kclipboard.cpp b/tdecore/kclipboard.cpp
index b6b4fc357..48b76f7ce 100644
--- a/tdecore/kclipboard.cpp
+++ b/tdecore/kclipboard.cpp
@@ -67,7 +67,7 @@ public:
virtual const char *format( int i ) const {
if ( i < (int) m_formats.count() )
- return m_formats.tqat( i );
+ return m_formats.at( i );
else
return 0L;
}
@@ -78,7 +78,7 @@ public:
{
int index = m_formats.find( format );
if ( index > -1 )
- return *(m_data.tqat( index ));
+ return *(m_data.at( index ));
return TQByteArray();
}
@@ -123,7 +123,7 @@ KClipboardSynchronizer::~KClipboardSynchronizer()
void KClipboardSynchronizer::setupSignals()
{
- TQClipboard *clip = TQApplication::tqclipboard();
+ TQClipboard *clip = TQApplication::clipboard();
disconnect( clip, NULL, this, NULL );
if( s_sync )
connect( clip, TQT_SIGNAL( selectionChanged() ),
@@ -135,7 +135,7 @@ void KClipboardSynchronizer::setupSignals()
void KClipboardSynchronizer::slotSelectionChanged()
{
- TQClipboard *clip = TQApplication::tqclipboard();
+ TQClipboard *clip = TQApplication::clipboard();
// qDebug("*** sel changed: %i", s_blocked);
if ( s_blocked || !clip->ownsSelection() )
@@ -147,7 +147,7 @@ void KClipboardSynchronizer::slotSelectionChanged()
void KClipboardSynchronizer::slotClipboardChanged()
{
- TQClipboard *clip = TQApplication::tqclipboard();
+ TQClipboard *clip = TQApplication::clipboard();
// qDebug("*** clip changed : %i (implicit: %i, ownz: clip: %i, selection: %i)", s_blocked, s_implicitSelection, clip->ownsClipboard(), clip->ownsSelection());
if ( s_blocked || !clip->ownsClipboard() )
@@ -161,7 +161,7 @@ void KClipboardSynchronizer::setClipboard( TQMimeSource *data, TQClipboard::Mode
{
// qDebug("---> setting clipboard: %p", data);
- TQClipboard *clip = TQApplication::tqclipboard();
+ TQClipboard *clip = TQApplication::clipboard();
s_blocked = true;