summaryrefslogtreecommitdiffstats
path: root/kword/KWInsertPicDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWInsertPicDia.cpp')
-rw-r--r--kword/KWInsertPicDia.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kword/KWInsertPicDia.cpp b/kword/KWInsertPicDia.cpp
index a8b6ee49..4b5f3daa 100644
--- a/kword/KWInsertPicDia.cpp
+++ b/kword/KWInsertPicDia.cpp
@@ -46,8 +46,8 @@
class KWInsertPicPreview : public TQScrollView
{
public:
- KWInsertPicPreview( TQWidget *tqparent )
- : TQScrollView( tqparent )
+ KWInsertPicPreview( TQWidget *parent )
+ : TQScrollView( parent )
{
viewport()->setBackgroundMode( PaletteBase );
setMinimumSize( 300, 200 );
@@ -84,8 +84,8 @@ private:
//////////////
-KWInsertPicDia::KWInsertPicDia( TQWidget *tqparent, bool _inline, bool _keepRatio, KWDocument *_doc, const char *name )
- : KDialogBase( Plain, i18n("Insert Picture"), Ok|Cancel, Ok, tqparent, name, true ),
+KWInsertPicDia::KWInsertPicDia( TQWidget *parent, bool _inline, bool _keepRatio, KWDocument *_doc, const char *name )
+ : KDialogBase( Plain, i18n("Insert Picture"), Ok|Cancel, Ok, parent, name, true ),
m_bFirst ( true ), m_doc ( _doc )
{
setInitialSize( TQSize(400, 300) );
@@ -145,18 +145,18 @@ void KWInsertPicDia::slotChooseImage()
m_bFirst = false;
}
-KoPicture KWInsertPicDia::selectPictureDia( const TQString & _path, TQWidget* tqparent )
+KoPicture KWInsertPicDia::selectPictureDia( const TQString & _path, TQWidget* parent )
{
TQStringList mimetypes ( KImageIO::mimeTypes( KImageIO::Reading ) );
mimetypes += KoPictureFilePreview::clipartMimeTypes();
- KFileDialog fd( _path, TQString(), tqparent, 0, TRUE );
+ KFileDialog fd( _path, TQString(), parent, 0, TRUE );
fd.setMimeFilter( mimetypes );
fd.setCaption(i18n("Choose Picture"));
- return selectPicture( fd, tqparent );
+ return selectPicture( fd, parent );
}
-KoPicture KWInsertPicDia::selectPicture( KFileDialog & fd, TQWidget *tqparent )
+KoPicture KWInsertPicDia::selectPicture( KFileDialog & fd, TQWidget *parent )
{
KoPicture picture;
@@ -166,7 +166,7 @@ KoPicture KWInsertPicDia::selectPicture( KFileDialog & fd, TQWidget *tqparent )
url = fd.selectedURL();
if( !url.isEmpty() )
- picture.setKeyAndDownloadPicture( url, tqparent );
+ picture.setKeyAndDownloadPicture( url, parent );
return picture;
}