summaryrefslogtreecommitdiffstats
path: root/src/gvcore/filethumbnailview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:45 -0600
commit2b7143e0539396c75306f6e78bf0a5641ed1acfc (patch)
treedb4ea3490b6703f775f11931c6e7c22f943816bd /src/gvcore/filethumbnailview.cpp
parentff1cff2a1e9b7860d4d3779cf20bf79afbe52470 (diff)
downloadgwenview-2b7143e0539396c75306f6e78bf0a5641ed1acfc.tar.gz
gwenview-2b7143e0539396c75306f6e78bf0a5641ed1acfc.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/gvcore/filethumbnailview.cpp')
-rw-r--r--src/gvcore/filethumbnailview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gvcore/filethumbnailview.cpp b/src/gvcore/filethumbnailview.cpp
index 51445be..cc338ca 100644
--- a/src/gvcore/filethumbnailview.cpp
+++ b/src/gvcore/filethumbnailview.cpp
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// TQt
#include <tqframe.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpainter.h>
#include <tqpen.h>
#include <tqpixmap.h>
@@ -77,8 +77,8 @@ public:
ProgressWidget(FileThumbnailView* view, int count)
: TQFrame(view)
{
- TQHBoxLayout* tqlayout=new TQHBoxLayout(this, 3, 3);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout* layout=new TQHBoxLayout(this, 3, 3);
+ layout->setAutoAdd(true);
setFrameStyle( TQFrame::StyledPanel | TQFrame::Raised );
mStop=new TQPushButton(this);
@@ -93,7 +93,7 @@ public:
void polish() {
TQFrame::polish();
- setMinimumWidth(tqlayout()->tqminimumSize().width());
+ setMinimumWidth(layout()->minimumSize().width());
//setFixedHeight( mProgressBar->height() );
setFixedHeight( mStop->height() );
}
@@ -142,7 +142,7 @@ struct FileThumbnailView::Private {
mWaitThumbnail.fill(view->paletteBackgroundColor());
TQPainter painter(&mWaitThumbnail);
- painter.setPen(view->tqcolorGroup().button());
+ painter.setPen(view->colorGroup().button());
painter.drawRect(0,0,mThumbnailSize,mThumbnailSize);
painter.drawPixmap(
(mThumbnailSize-mWaitPixmap.width())/2,
@@ -285,7 +285,7 @@ void FileThumbnailView::setThumbnailPixmap(const KFileItem* fileItem, const TQPi
if (size.isValid()) {
iconItem->setImageSize(size);
}
- iconItem->tqrepaint();
+ iconItem->repaint();
// Notify progress
if (d->mProgressWidget) {