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 14 years ago
parent ec393a9747
commit 5f63ee9f50

@ -1095,21 +1095,21 @@ void kpMainWindow::updateThumbnail ()
const int margin = 20; const int margin = 20;
const int initialWidth = 160, initialHeight = 120; const int initialWidth = 160, initialHeight = 120;
TQRect tqgeometryRect (width () - initialWidth - margin * 2, TQRect geometryRect (width () - initialWidth - margin * 2,
m_scrollView->y () + margin, m_scrollView->y () + margin,
initialWidth, initialWidth,
initialHeight); initialHeight);
#if DEBUG_KP_MAIN_WINDOW #if DEBUG_KP_MAIN_WINDOW
kdDebug () << "\t\tcreating tqgeometry=" << tqgeometryRect << endl; kdDebug () << "\t\tcreating tqgeometry=" << geometryRect << endl;
#endif #endif
tqgeometryRect = mapToGlobal (tqgeometryRect); geometryRect = mapToGlobal (geometryRect);
#if DEBUG_KP_MAIN_WINDOW #if DEBUG_KP_MAIN_WINDOW
kdDebug () << "\t\tmap to global=" << tqgeometryRect << endl; kdDebug () << "\t\tmap to global=" << geometryRect << endl;
#endif #endif
m_thumbnail->resize (tqgeometryRect.size ()); m_thumbnail->resize (geometryRect.size ());
m_thumbnail->move (tqgeometryRect.topLeft ()); 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 ) if ( !m_kuim )
return; return;
// if ( tqgeometryUpdate ) // if ( geometryUpdate )
// XUnmapWindow( x11Display(), win );// remove the old image -> no flicker // XUnmapWindow( x11Display(), win );// remove the old image -> no flicker
XSetWindowBackgroundPixmap( x11Display(), win, m_kuim->pixmap() ); XSetWindowBackgroundPixmap( x11Display(), win, m_kuim->pixmap() );
if ( tqgeometryUpdate ) if ( geometryUpdate )
updateGeometry( m_kuim->width(), m_kuim->height() ); updateGeometry( m_kuim->width(), m_kuim->height() );
XClearWindow( x11Display(), win ); XClearWindow( x11Display(), win );

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

Loading…
Cancel
Save