summaryrefslogtreecommitdiffstats
path: root/plugins/scan
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 /plugins/scan
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 'plugins/scan')
-rw-r--r--plugins/scan/scan.cpp8
-rw-r--r--plugins/scan/scan.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/scan/scan.cpp b/plugins/scan/scan.cpp
index a6d64634..5478744b 100644
--- a/plugins/scan/scan.cpp
+++ b/plugins/scan/scan.cpp
@@ -33,8 +33,8 @@
typedef KGenericFactory<Scan> ScanFactory;
K_EXPORT_COMPONENT_FACTORY( kofficescan, ScanFactory( "kscan_plugin" ) )
-Scan::Scan(TQObject *tqparent, const char *name, const TQStringList &)
- : KParts::Plugin(tqparent, name), scanDialog( 0 )
+Scan::Scan(TQObject *parent, const char *name, const TQStringList &)
+ : KParts::Plugin(parent, name), scanDialog( 0 )
{
setInstance(ScanFactory::instance());
@@ -50,7 +50,7 @@ void Scan::slotScan()
{
if ( !scanDialog )
{
- scanDialog = KScanDialog::getScanDialog( dynamic_cast<TQWidget*>( tqparent() ) );
+ scanDialog = KScanDialog::getScanDialog( dynamic_cast<TQWidget*>( parent() ) );
if ( scanDialog )
{
scanDialog->setMinimumSize(300, 300);
@@ -76,7 +76,7 @@ void Scan::slotShowImage(const TQImage &img)
KTempFile temp(locateLocal("tmp", "scandialog"), ".png");
img.save(temp.name(), "PNG");
- KoView *view = dynamic_cast<KoView *>(tqparent());
+ KoView *view = dynamic_cast<KoView *>(parent());
if(!view)
return;
diff --git a/plugins/scan/scan.h b/plugins/scan/scan.h
index 34cebdc3..2cec0fce 100644
--- a/plugins/scan/scan.h
+++ b/plugins/scan/scan.h
@@ -30,7 +30,7 @@ class Scan : public KParts::Plugin
Q_OBJECT
TQ_OBJECT
public:
- Scan(TQObject *tqparent, const char *name, const TQStringList &);
+ Scan(TQObject *parent, const char *name, const TQStringList &);
virtual ~Scan();
private slots: