summaryrefslogtreecommitdiffstats
path: root/ktnef/gui/attachpropertydialog.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
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /ktnef/gui/attachpropertydialog.cpp
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktnef/gui/attachpropertydialog.cpp')
-rw-r--r--ktnef/gui/attachpropertydialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ktnef/gui/attachpropertydialog.cpp b/ktnef/gui/attachpropertydialog.cpp
index fcc1a8a0a..dc8e47607 100644
--- a/ktnef/gui/attachpropertydialog.cpp
+++ b/ktnef/gui/attachpropertydialog.cpp
@@ -33,8 +33,8 @@
#include <tqdatastream.h>
#include <tqpicture.h>
-AttachPropertyDialog::AttachPropertyDialog(TQWidget *tqparent, const char *name)
- : AttachPropertyDialogBase(tqparent, name, true)
+AttachPropertyDialog::AttachPropertyDialog(TQWidget *parent, const char *name)
+ : AttachPropertyDialogBase(parent, name, true)
{
}
@@ -113,19 +113,19 @@ void formatPropertySet( KTNEFPropertySet *pSet, TQListView *lv )
formatProperties( pSet->attributes(), 0, item, "attr" );
}
-void saveProperty( TQListView *lv, KTNEFPropertySet *pSet, TQWidget *tqparent )
+void saveProperty( TQListView *lv, KTNEFPropertySet *pSet, TQWidget *parent )
{
TQListViewItem *item = lv->selectedItem();
if ( !item )
- KMessageBox::error( tqparent, i18n( "Select an item." ) );
+ KMessageBox::error( parent, i18n( "Select an item." ) );
else if ( item->text( 2 ).isEmpty() )
- KMessageBox::error( tqparent, i18n( "The selected item cannot be saved." ) );
+ KMessageBox::error( parent, i18n( "The selected item cannot be saved." ) );
else
{
TQString tag = item->text( 2 );
int key = tag.mid( 5 ).toInt();
TQVariant prop = ( tag.startsWith( "attr_" ) ? pSet->attribute( key ) : pSet->property( key ) );
- TQString filename = KFileDialog::getSaveFileName( tag, TQString(), tqparent );
+ TQString filename = KFileDialog::getSaveFileName( tag, TQString(), parent );
if ( !filename.isEmpty() )
{
TQFile f( filename );
@@ -146,7 +146,7 @@ void saveProperty( TQListView *lv, KTNEFPropertySet *pSet, TQWidget *tqparent )
f.close();
}
else
- KMessageBox::error( tqparent, i18n( "Unable to open file for writing, check file permissions." ) );
+ KMessageBox::error( parent, i18n( "Unable to open file for writing, check file permissions." ) );
}
}
}