summaryrefslogtreecommitdiffstats
path: root/libkdepim/progressdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/progressdialog.cpp')
-rw-r--r--libkdepim/progressdialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/libkdepim/progressdialog.cpp b/libkdepim/progressdialog.cpp
index e12a1b75..bd5b594c 100644
--- a/libkdepim/progressdialog.cpp
+++ b/libkdepim/progressdialog.cpp
@@ -60,10 +60,10 @@ namespace KPIM {
class TransactionItem;
-TransactionItemView::TransactionItemView( TQWidget * tqparent,
+TransactionItemView::TransactionItemView( TQWidget * parent,
const char * name,
WFlags f )
- : TQScrollView( tqparent, name, f ) {
+ : TQScrollView( parent, name, f ) {
setFrameStyle( NoFrame );
mBigBox = new TQVBox( viewport() );
mBigBox->setSpacing( 5 );
@@ -84,9 +84,9 @@ void TransactionItemView::resizeContents( int w, int h )
// (handling of TQEvent::LayoutHint in TQScrollView calls this method)
//kdDebug(5300) << k_funcinfo << w << "," << h << endl;
TQScrollView::resizeContents( w, h );
- // Tell the tqlayout in the tqparent (progressdialog) that our size changed
+ // Tell the tqlayout in the parent (progressdialog) that our size changed
updateGeometry();
- // Resize the tqparent (progressdialog) - this works but resize horizontally too often
+ // Resize the parent (progressdialog) - this works but resize horizontally too often
//parentWidget()->adjustSize();
TQApplication::sendPostedEvents( 0, TQEvent::ChildInserted );
@@ -139,9 +139,9 @@ void TransactionItemView::slotLayoutFirstItem()
// ----------------------------------------------------------------------------
-TransactionItem::TransactionItem( TQWidget* tqparent,
+TransactionItem::TransactionItem( TQWidget* parent,
ProgressItem *item, bool first )
- : TQVBox( tqparent, "TransactionItem" ), mCancelButton( 0 ), mItem( item )
+ : TQVBox( parent, "TransactionItem" ), mCancelButton( 0 ), mItem( item )
{
setSpacing( 2 );
@@ -244,8 +244,8 @@ void TransactionItem::addSubTransaction( ProgressItem* /*item*/ )
// ---------------------------------------------------------------------------
-ProgressDialog::ProgressDialog( TQWidget* alignWidget, TQWidget* tqparent, const char* name )
- : OverlayWidget( alignWidget, tqparent, name ), mWasLastShown( false )
+ProgressDialog::ProgressDialog( TQWidget* alignWidget, TQWidget* parent, const char* name )
+ : OverlayWidget( alignWidget, parent, name ), mWasLastShown( false )
{
setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); // TQFrame
setSpacing( 0 ); // TQHBox
@@ -307,11 +307,11 @@ ProgressDialog::~ProgressDialog()
void ProgressDialog::slotTransactionAdded( ProgressItem *item )
{
- TransactionItem *tqparent = 0;
- if ( item->tqparent() ) {
- if ( mTransactionsToListviewItems.contains( item->tqparent() ) ) {
- tqparent = mTransactionsToListviewItems[ item->tqparent() ];
- tqparent->addSubTransaction( item );
+ TransactionItem *parent = 0;
+ if ( item->parent() ) {
+ if ( mTransactionsToListviewItems.contains( item->parent() ) ) {
+ parent = mTransactionsToListviewItems[ item->parent() ];
+ parent->addSubTransaction( item );
}
} else {
const bool first = mTransactionsToListviewItems.empty();