diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch) | |
tree | 0212ba6d2c749043134005a41f2bd0379619d40f /ktnef/gui/ktnefview.cpp | |
parent | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff) | |
download | tdepim-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/ktnefview.cpp')
-rw-r--r-- | ktnef/gui/ktnefview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ktnef/gui/ktnefview.cpp b/ktnef/gui/ktnefview.cpp index dcf401ab3..871de9e04 100644 --- a/ktnef/gui/ktnefview.cpp +++ b/ktnef/gui/ktnefview.cpp @@ -33,7 +33,7 @@ class Attachment : public TQListViewItem { public: - Attachment(TQListView *tqparent, KTNEFAttach *attach); + Attachment(TQListView *parent, KTNEFAttach *attach); ~Attachment(); KTNEFAttach* getAttachment() const { return attach_; } @@ -42,14 +42,14 @@ private: KTNEFAttach *attach_; }; -Attachment::Attachment(TQListView *tqparent, KTNEFAttach *attach) - : TQListViewItem(tqparent, attach->name()), attach_(attach) +Attachment::Attachment(TQListView *parent, KTNEFAttach *attach) + : TQListViewItem(parent, attach->name()), attach_(attach) { setText(2, TQString::number( attach_->size() )); if (!attach_->fileName().isEmpty()) setText(0, attach_->fileName()); KMimeType::Ptr mimeType = KMimeType::mimeType( attach_->mimeTag() ); setText(1, mimeType->comment()); - TQPixmap pix = loadRenderingPixmap( attach, tqparent->tqcolorGroup().base() ); + TQPixmap pix = loadRenderingPixmap( attach, parent->tqcolorGroup().base() ); if ( !pix.isNull() ) setPixmap( 0, pix ); else @@ -63,8 +63,8 @@ Attachment::~Attachment() //------------------------------------------------------------------------------------------------------ -KTNEFView::KTNEFView(TQWidget *tqparent, const char *name) - : KListView(tqparent,name) +KTNEFView::KTNEFView(TQWidget *parent, const char *name) + : KListView(parent,name) { attachments_.setAutoDelete(false); addColumn(i18n("File Name")); |