diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:34:08 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:34:08 -0600 |
commit | bb7be2361770a435b3e2e8ae2ac4250bf9810bb4 (patch) | |
tree | 3dc3697661e497b5486191491da2ed4cc751b7fc /src/svnfrontend/svnfiletip.cpp | |
parent | 40e169496670c40004f7386a23f7c03d9aeac3e0 (diff) | |
download | tdesvn-bb7be2361770a435b3e2e8ae2ac4250bf9810bb4.tar.gz tdesvn-bb7be2361770a435b3e2e8ae2ac4250bf9810bb4.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/svnfrontend/svnfiletip.cpp')
-rw-r--r-- | src/svnfrontend/svnfiletip.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/svnfrontend/svnfiletip.cpp b/src/svnfrontend/svnfiletip.cpp index 3619f7e..bf772e8 100644 --- a/src/svnfrontend/svnfiletip.cpp +++ b/src/svnfrontend/svnfiletip.cpp @@ -28,7 +28,7 @@ #include <tqlabel.h> #include <tqtooltip.h> -#include <tqlayout.h> +#include <layout.h> #include <tqpainter.h> #include <tqscrollview.h> #include <tqtimer.h> @@ -46,12 +46,12 @@ SvnFileTip::SvnFileTip(TQScrollView*parent) { m_iconLabel = new TQLabel(this); m_textLabel = new TQLabel(this); - m_textLabel->tqsetAlignment(TQt::AlignAuto | TQt::AlignTop); + m_textLabel->setAlignment(TQt::AlignAuto | TQt::AlignTop); - TQGridLayout* tqlayout = new TQGridLayout(this, 1, 2, 8, 0); - tqlayout->addWidget(m_iconLabel, 0, 0); - tqlayout->addWidget(m_textLabel, 0, 1); - tqlayout->setResizeMode(TQLayout::Fixed); + TQGridLayout* layout = new TQGridLayout(this, 1, 2, 8, 0); + layout->addWidget(m_iconLabel, 0, 0); + layout->addWidget(m_textLabel, 0, 1); + layout->setResizeMode(TQLayout::Fixed); setPalette( TQToolTip::palette() ); setMargin( 1 ); @@ -190,7 +190,7 @@ void SvnFileTip::drawContents( TQPainter *p ) } if ( m_corners[m_corner].isNull()) - m_corners[m_corner].load( locate( "data", TQString::tqfromLatin1( "konqueror/pics/%1.png" ).tqarg( names[m_corner] ) ) ); + m_corners[m_corner].load( locate( "data", TQString::fromLatin1( "konqueror/pics/%1.png" ).arg( names[m_corner] ) ) ); TQPixmap &pix = m_corners[m_corner]; |