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 | df8e67b86696f691708af8592d86282b09bab011 (patch) | |
tree | ca90d734c9011d457a42f0a7004a9507b2c2c1bd /libk3b/tools/k3bthreadwidget.cpp | |
parent | 33881ea4441221b1ca0789a72c4c7249d923a0df (diff) | |
download | k3b-df8e67b86696f691708af8592d86282b09bab011.tar.gz k3b-df8e67b86696f691708af8592d86282b09bab011.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/tools/k3bthreadwidget.cpp')
-rw-r--r-- | libk3b/tools/k3bthreadwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libk3b/tools/k3bthreadwidget.cpp b/libk3b/tools/k3bthreadwidget.cpp index efbe2fa..103b67b 100644 --- a/libk3b/tools/k3bthreadwidget.cpp +++ b/libk3b/tools/k3bthreadwidget.cpp @@ -34,14 +34,14 @@ public: class K3bThreadWidget::DeviceSelectionEvent : public TQCustomEvent { public: - DeviceSelectionEvent( TQWidget* tqparent, const TQString& text, int id ) + DeviceSelectionEvent( TQWidget* parent, const TQString& text, int id ) : TQCustomEvent( TQEvent::User + 22 ), - m_parent(tqparent), + m_parent(parent), m_text(text), m_id(id) { } - TQWidget* tqparent() const { return m_parent; } + TQWidget* parent() const { return m_parent; } const TQString& text() const { return m_text; } int id() const { return m_id; } @@ -102,7 +102,7 @@ K3bThreadWidget* K3bThreadWidget::instance() // static -K3bDevice::Device* K3bThreadWidget::selectDevice( TQWidget* tqparent, +K3bDevice::Device* K3bThreadWidget::selectDevice( TQWidget* parent, const TQString& text ) { // request a new data set @@ -110,7 +110,7 @@ K3bDevice::Device* K3bThreadWidget::selectDevice( TQWidget* tqparent, // inform the instance about the request TQApplication::postEvent( K3bThreadWidget::instance(), - new K3bThreadWidget::DeviceSelectionEvent( tqparent, text, data->id ) ); + new K3bThreadWidget::DeviceSelectionEvent( parent, text, data->id ) ); // wait for the result to be ready data->con.wait(); @@ -128,7 +128,7 @@ void K3bThreadWidget::customEvent( TQCustomEvent* e ) { if( DeviceSelectionEvent* dse = dynamic_cast<DeviceSelectionEvent*>(e) ) { // create dialog - K3bDevice::Device* dev = K3bDeviceSelectionDialog::selectDevice( dse->tqparent(), dse->text() ); + K3bDevice::Device* dev = K3bDeviceSelectionDialog::selectDevice( dse->parent(), dse->text() ); // return it to the thread Data* dat = data( dse->id() ); |