summaryrefslogtreecommitdiffstats
path: root/kword/KWInsertPicDia.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kword/KWInsertPicDia.cpp
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz
koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
}