diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:55:46 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:55:46 -0600 |
commit | 676f6ed378c861a872de8cfce3dd5efe1780f769 (patch) | |
tree | d2b21aa5311322aadc3c5c64a4932fdf371acc98 /src/gvcore/filethumbnailview.cpp | |
parent | 2b7143e0539396c75306f6e78bf0a5641ed1acfc (diff) | |
download | gwenview-676f6ed378c861a872de8cfce3dd5efe1780f769.tar.gz gwenview-676f6ed378c861a872de8cfce3dd5efe1780f769.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 2b7143e0539396c75306f6e78bf0a5641ed1acfc.
Diffstat (limited to 'src/gvcore/filethumbnailview.cpp')
-rw-r--r-- | src/gvcore/filethumbnailview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gvcore/filethumbnailview.cpp b/src/gvcore/filethumbnailview.cpp index cc338ca..51445be 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 <layout.h> +#include <tqlayout.h> #include <tqpainter.h> #include <tqpen.h> #include <tqpixmap.h> @@ -77,8 +77,8 @@ public: ProgressWidget(FileThumbnailView* view, int count) : TQFrame(view) { - TQHBoxLayout* layout=new TQHBoxLayout(this, 3, 3); - layout->setAutoAdd(true); + TQHBoxLayout* tqlayout=new TQHBoxLayout(this, 3, 3); + tqlayout->setAutoAdd(true); setFrameStyle( TQFrame::StyledPanel | TQFrame::Raised ); mStop=new TQPushButton(this); @@ -93,7 +93,7 @@ public: void polish() { TQFrame::polish(); - setMinimumWidth(layout()->minimumSize().width()); + setMinimumWidth(tqlayout()->tqminimumSize().width()); //setFixedHeight( mProgressBar->height() ); setFixedHeight( mStop->height() ); } @@ -142,7 +142,7 @@ struct FileThumbnailView::Private { mWaitThumbnail.fill(view->paletteBackgroundColor()); TQPainter painter(&mWaitThumbnail); - painter.setPen(view->colorGroup().button()); + painter.setPen(view->tqcolorGroup().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->repaint(); + iconItem->tqrepaint(); // Notify progress if (d->mProgressWidget) { |