summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/WorkSheet.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:25 -0600
commit2c01fd64ddde84a6d78b632f7f3b7c3560dc288c (patch)
tree65f4f4370cf4269757d7fa4d0f4d15996a1bf68f /ksysguard/gui/WorkSheet.cc
parent73c08b592db45af554b9f21029bc549d70f683ab (diff)
downloadtdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.tar.gz
tdebase-2c01fd64ddde84a6d78b632f7f3b7c3560dc288c.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab.
Diffstat (limited to 'ksysguard/gui/WorkSheet.cc')
-rw-r--r--ksysguard/gui/WorkSheet.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/ksysguard/gui/WorkSheet.cc b/ksysguard/gui/WorkSheet.cc
index 285524e84..ac0793a9a 100644
--- a/ksysguard/gui/WorkSheet.cc
+++ b/ksysguard/gui/WorkSheet.cc
@@ -21,11 +21,11 @@
*/
-#include <clipboard.h>
+#include <tqclipboard.h>
#include <tqcursor.h>
#include <tqdragobject.h>
#include <tqfile.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <kdebug.h>
#include <klocale.h>
@@ -241,7 +241,7 @@ void WorkSheet::cut()
if ( !currentDisplay() || currentDisplay()->isA( "DummyDisplay" ) )
return;
- TQClipboard* clip = TQApplication::clipboard();
+ TQClipboard* clip = TQApplication::tqclipboard();
clip->setText( currentDisplayAsXML() );
@@ -253,7 +253,7 @@ void WorkSheet::copy()
if ( !currentDisplay() || currentDisplay()->isA( "DummyDisplay" ) )
return;
- TQClipboard* clip = TQApplication::clipboard();
+ TQClipboard* clip = TQApplication::tqclipboard();
clip->setText( currentDisplayAsXML() );
}
@@ -264,7 +264,7 @@ void WorkSheet::paste()
if ( !currentDisplay( &row, &column ) )
return;
- TQClipboard* clip = TQApplication::clipboard();
+ TQClipboard* clip = TQApplication::tqclipboard();
TQDomDocument doc;
/* Get text from clipboard and check for a valid XML header and
@@ -450,14 +450,14 @@ void WorkSheet::dropEvent( TQDropEvent *e )
* event and replace or add sensor. */
for ( uint r = 0; r < mRows; ++r )
for ( uint c = 0; c < mColumns; ++c )
- if ( mDisplayList[ r ][ c ]->geometry().contains( e->pos() ) ) {
+ if ( mDisplayList[ r ][ c ]->tqgeometry().contains( e->pos() ) ) {
addDisplay( hostName, sensorName, sensorType, sensorDescr, r, c );
return;
}
}
}
-TQSize WorkSheet::sizeHint() const
+TQSize WorkSheet::tqsizeHint() const
{
return TQSize( 200,150 );
}
@@ -531,7 +531,7 @@ void WorkSheet::replaceDisplay( uint row, uint column, KSGRD::SensorDisplay* new
mDisplayList[ row ][ column ]->show();
}
- setMinimumSize(sizeHint());
+ setMinimumSize(tqsizeHint());
setModified( true );
}