diff options
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 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) { |