diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:13 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 04:25:13 +0200 |
commit | c4b3c076ff7d33a8205c616611477ae3c7532de7 (patch) | |
tree | 951a8f07f1a0dafc04cb0ca4b2af034809da9883 /kmail/kmmimeparttree.cpp | |
parent | 04b89c2dbd5fb1b865453f3977261a60a70f6bc2 (diff) | |
download | tdepim-c4b3c076ff7d33a8205c616611477ae3c7532de7.tar.gz tdepim-c4b3c076ff7d33a8205c616611477ae3c7532de7.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit ba2a3ce341c0c71bbbcf350fcbcd60c552220b31)
Diffstat (limited to 'kmail/kmmimeparttree.cpp')
-rw-r--r-- | kmail/kmmimeparttree.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/kmmimeparttree.cpp b/kmail/kmmimeparttree.cpp index e5cead4db..50af4a428 100644 --- a/kmail/kmmimeparttree.cpp +++ b/kmail/kmmimeparttree.cpp @@ -95,7 +95,7 @@ void KMMimePartTree::restoreLayoutIfPresent() { header()->setStretchEnabled( true, 0 ); // rest of the columns: if ( KMKernel::config()->hasGroup( configGroup ) ) { - // there is a saved tqlayout. use it... + // there is a saved layout. use it... restoreLayout( KMKernel::config(), configGroup ); // and disable Maximum mode: for ( int i = 1 ; i < 4 ; ++i ) @@ -213,10 +213,10 @@ void KMMimePartTree::setStyleDependantFrameWidth() { // set the width of the frame to a reasonable value for the current GUI style int frameWidth; - if( tqstyle().isA("KeramikStyle") ) - frameWidth = tqstyle().pixelMetric( TQStyle::PM_DefaultFrameWidth ) - 1; + if( style().isA("KeramikStyle") ) + frameWidth = style().pixelMetric( TQStyle::PM_DefaultFrameWidth ) - 1; else - frameWidth = tqstyle().pixelMetric( TQStyle::PM_DefaultFrameWidth ); + frameWidth = style().pixelMetric( TQStyle::PM_DefaultFrameWidth ); if ( frameWidth < 0 ) frameWidth = 0; if ( frameWidth != lineWidth() ) @@ -309,7 +309,7 @@ void KMMimePartTree::slotCopy() if ( !url.isValid() ) return; urls.append( url ); KURLDrag* drag = new KURLDrag( urls, this ); - TQApplication::tqclipboard()->setData( drag, TQClipboard::Clipboard ); + TQApplication::clipboard()->setData( drag, TQClipboard::Clipboard ); } //============================================================================= |