Rename tqgeometry* to geometry*

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1242307 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent ec393a9747
commit 5f63ee9f50

@ -1095,21 +1095,21 @@ void kpMainWindow::updateThumbnail ()
const int margin = 20;
const int initialWidth = 160, initialHeight = 120;
TQRect tqgeometryRect (width () - initialWidth - margin * 2,
TQRect geometryRect (width () - initialWidth - margin * 2,
m_scrollView->y () + margin,
initialWidth,
initialHeight);
#if DEBUG_KP_MAIN_WINDOW
kdDebug () << "\t\tcreating tqgeometry=" << tqgeometryRect << endl;
kdDebug () << "\t\tcreating tqgeometry=" << geometryRect << endl;
#endif
tqgeometryRect = mapToGlobal (tqgeometryRect);
geometryRect = mapToGlobal (geometryRect);
#if DEBUG_KP_MAIN_WINDOW
kdDebug () << "\t\tmap to global=" << tqgeometryRect << endl;
kdDebug () << "\t\tmap to global=" << geometryRect << endl;
#endif
m_thumbnail->resize (tqgeometryRect.size ());
m_thumbnail->move (tqgeometryRect.topLeft ());
m_thumbnail->resize (geometryRect.size ());
m_thumbnail->move (geometryRect.topLeft ());
}
}

@ -436,17 +436,17 @@ void ImlibWidget::setFlipMode( int mode )
}
void ImlibWidget::updateWidget( bool tqgeometryUpdate )
void ImlibWidget::updateWidget( bool geometryUpdate )
{
if ( !m_kuim )
return;
// if ( tqgeometryUpdate )
// if ( geometryUpdate )
// XUnmapWindow( x11Display(), win );// remove the old image -> no flicker
XSetWindowBackgroundPixmap( x11Display(), win, m_kuim->pixmap() );
if ( tqgeometryUpdate )
if ( geometryUpdate )
updateGeometry( m_kuim->width(), m_kuim->height() );
XClearWindow( x11Display(), win );

@ -138,7 +138,7 @@ protected:
void showImage();
void setImageModifier();
void rotate( int );
void updateWidget( bool tqgeometryUpdate=true );
void updateWidget( bool geometryUpdate=true );
virtual void updateGeometry( int width, int height );
virtual void loaded( KuickImage * );
virtual bool canZoomTo( int newWidth, int newHeight );
@ -146,9 +146,9 @@ protected:
void closeEvent( TQCloseEvent * );
inline void autoUpdate( bool tqgeometryUpdate=false ) {
inline void autoUpdate( bool geometryUpdate=false ) {
if ( isAutoRendering )
updateWidget( tqgeometryUpdate );
updateWidget( geometryUpdate );
}
bool stillResizing, deleteImData, deleteImlibData;

Loading…
Cancel
Save