summaryrefslogtreecommitdiffstats
path: root/ktnef/gui/attachpropertydialog.cpp
diff options
context:
space:
mode:
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." ) );
}
}
}