summaryrefslogtreecommitdiffstats
path: root/libk3b/plugin
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
commitdf8e67b86696f691708af8592d86282b09bab011 (patch)
treeca90d734c9011d457a42f0a7004a9507b2c2c1bd /libk3b/plugin
parent33881ea4441221b1ca0789a72c4c7249d923a0df (diff)
downloadk3b-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/plugin')
-rw-r--r--libk3b/plugin/k3baudiodecoder.cpp4
-rw-r--r--libk3b/plugin/k3baudiodecoder.h8
-rw-r--r--libk3b/plugin/k3baudioencoder.cpp4
-rw-r--r--libk3b/plugin/k3baudioencoder.h2
-rw-r--r--libk3b/plugin/k3baudiooutputplugin.h4
-rw-r--r--libk3b/plugin/k3baudioserver.cpp4
-rw-r--r--libk3b/plugin/k3baudioserver.h2
-rw-r--r--libk3b/plugin/k3bplugin.cpp4
-rw-r--r--libk3b/plugin/k3bplugin.h4
-rw-r--r--libk3b/plugin/k3bpluginconfigwidget.cpp4
-rw-r--r--libk3b/plugin/k3bpluginconfigwidget.h2
-rw-r--r--libk3b/plugin/k3bpluginfactory.h4
-rw-r--r--libk3b/plugin/k3bpluginmanager.cpp10
-rw-r--r--libk3b/plugin/k3bpluginmanager.h4
-rw-r--r--libk3b/plugin/k3bprojectplugin.h8
15 files changed, 34 insertions, 34 deletions
diff --git a/libk3b/plugin/k3baudiodecoder.cpp b/libk3b/plugin/k3baudiodecoder.cpp
index 075deb2..b2d347b 100644
--- a/libk3b/plugin/k3baudiodecoder.cpp
+++ b/libk3b/plugin/k3baudiodecoder.cpp
@@ -106,8 +106,8 @@ public:
-K3bAudioDecoder::K3bAudioDecoder( TQObject* tqparent, const char* name )
- : TQObject( tqparent, name )
+K3bAudioDecoder::K3bAudioDecoder( TQObject* parent, const char* name )
+ : TQObject( parent, name )
{
d = new Private();
}
diff --git a/libk3b/plugin/k3baudiodecoder.h b/libk3b/plugin/k3baudiodecoder.h
index ed13c66..c4c97f9 100644
--- a/libk3b/plugin/k3baudiodecoder.h
+++ b/libk3b/plugin/k3baudiodecoder.h
@@ -37,7 +37,7 @@ class LIBK3B_EXPORT K3bAudioDecoder : public TQObject
TQ_OBJECT
public:
- K3bAudioDecoder( TQObject* tqparent = 0, const char* name = 0 );
+ K3bAudioDecoder( TQObject* parent = 0, const char* name = 0 );
virtual ~K3bAudioDecoder();
@@ -213,8 +213,8 @@ class LIBK3B_EXPORT K3bAudioDecoderFactory : public K3bPlugin
TQ_OBJECT
public:
- K3bAudioDecoderFactory( TQObject* tqparent = 0, const char* name = 0 )
- : K3bPlugin( tqparent, name ) {
+ K3bAudioDecoderFactory( TQObject* parent = 0, const char* name = 0 )
+ : K3bPlugin( parent, name ) {
}
virtual ~K3bAudioDecoderFactory() {
@@ -241,7 +241,7 @@ class LIBK3B_EXPORT K3bAudioDecoderFactory : public K3bPlugin
*/
virtual bool canDecode( const KURL& filename ) = 0;
- virtual K3bAudioDecoder* createDecoder( TQObject* tqparent = 0, const char* name = 0 ) const = 0;
+ virtual K3bAudioDecoder* createDecoder( TQObject* parent = 0, const char* name = 0 ) const = 0;
/**
* Searching for an audiodecoder for @p filename.
diff --git a/libk3b/plugin/k3baudioencoder.cpp b/libk3b/plugin/k3baudioencoder.cpp
index d7f72d1..76240e4 100644
--- a/libk3b/plugin/k3baudioencoder.cpp
+++ b/libk3b/plugin/k3baudioencoder.cpp
@@ -34,8 +34,8 @@ public:
};
-K3bAudioEncoder::K3bAudioEncoder( TQObject* tqparent, const char* name )
- : K3bPlugin( tqparent, name )
+K3bAudioEncoder::K3bAudioEncoder( TQObject* parent, const char* name )
+ : K3bPlugin( parent, name )
{
d = new Private();
}
diff --git a/libk3b/plugin/k3baudioencoder.h b/libk3b/plugin/k3baudioencoder.h
index b3fc01b..928b432 100644
--- a/libk3b/plugin/k3baudioencoder.h
+++ b/libk3b/plugin/k3baudioencoder.h
@@ -36,7 +36,7 @@ class LIBK3B_EXPORT K3bAudioEncoder : public K3bPlugin
TQ_OBJECT
public:
- K3bAudioEncoder( TQObject* tqparent = 0, const char* name = 0 );
+ K3bAudioEncoder( TQObject* parent = 0, const char* name = 0 );
virtual ~K3bAudioEncoder();
// TODO: if the following methods are to be activated the config methods in
diff --git a/libk3b/plugin/k3baudiooutputplugin.h b/libk3b/plugin/k3baudiooutputplugin.h
index fdd57a5..0145465 100644
--- a/libk3b/plugin/k3baudiooutputplugin.h
+++ b/libk3b/plugin/k3baudiooutputplugin.h
@@ -62,8 +62,8 @@ class LIBK3B_EXPORT K3bAudioOutputPlugin : public K3bPlugin
virtual int write( char* data, int len ) = 0;
protected:
- K3bAudioOutputPlugin( TQObject* tqparent = 0, const char* name = 0 )
- : K3bPlugin( tqparent, name ) {
+ K3bAudioOutputPlugin( TQObject* parent = 0, const char* name = 0 )
+ : K3bPlugin( parent, name ) {
}
};
diff --git a/libk3b/plugin/k3baudioserver.cpp b/libk3b/plugin/k3baudioserver.cpp
index 3251ed5..197a042 100644
--- a/libk3b/plugin/k3baudioserver.cpp
+++ b/libk3b/plugin/k3baudioserver.cpp
@@ -89,8 +89,8 @@ private:
};
-K3bAudioServer::K3bAudioServer( TQObject* tqparent, const char* name )
- : TQObject( tqparent, name ),
+K3bAudioServer::K3bAudioServer( TQObject* parent, const char* name )
+ : TQObject( parent, name ),
m_usedOutputPlugin(0),
m_pluginInitialized(false),
m_client(0)
diff --git a/libk3b/plugin/k3baudioserver.h b/libk3b/plugin/k3baudioserver.h
index b428056..a4cd49d 100644
--- a/libk3b/plugin/k3baudioserver.h
+++ b/libk3b/plugin/k3baudioserver.h
@@ -32,7 +32,7 @@ class LIBK3B_EXPORT K3bAudioServer : public TQObject
TQ_OBJECT
public:
- K3bAudioServer( TQObject* tqparent = 0, const char* name = 0 );
+ K3bAudioServer( TQObject* parent = 0, const char* name = 0 );
~K3bAudioServer();
/**
diff --git a/libk3b/plugin/k3bplugin.cpp b/libk3b/plugin/k3bplugin.cpp
index 6929bd0..2f1afe9 100644
--- a/libk3b/plugin/k3bplugin.cpp
+++ b/libk3b/plugin/k3bplugin.cpp
@@ -17,8 +17,8 @@
#include "k3bplugin.h"
-K3bPlugin::K3bPlugin( TQObject* tqparent, const char* name )
- : TQObject( tqparent, name )
+K3bPlugin::K3bPlugin( TQObject* parent, const char* name )
+ : TQObject( parent, name )
{
}
diff --git a/libk3b/plugin/k3bplugin.h b/libk3b/plugin/k3bplugin.h
index 1eeb622..5a41b66 100644
--- a/libk3b/plugin/k3bplugin.h
+++ b/libk3b/plugin/k3bplugin.h
@@ -85,7 +85,7 @@ class LIBK3B_EXPORT K3bPlugin : public TQObject
friend class K3bPluginManager;
public:
- K3bPlugin( TQObject* tqparent = 0, const char* name = 0 );
+ K3bPlugin( TQObject* parent = 0, const char* name = 0 );
virtual ~K3bPlugin();
const K3bPluginInfo& pluginInfo() const { return m_pluginInfo; }
@@ -105,7 +105,7 @@ class LIBK3B_EXPORT K3bPlugin : public TQObject
*
* The caller has to destroy the widget
*/
- virtual K3bPluginConfigWidget* createConfigWidget( TQWidget* tqparent = 0, const char* name = 0 ) const;
+ virtual K3bPluginConfigWidget* createConfigWidget( TQWidget* parent = 0, const char* name = 0 ) const;
private:
K3bPluginInfo m_pluginInfo;
diff --git a/libk3b/plugin/k3bpluginconfigwidget.cpp b/libk3b/plugin/k3bpluginconfigwidget.cpp
index b93fa9d..21876d5 100644
--- a/libk3b/plugin/k3bpluginconfigwidget.cpp
+++ b/libk3b/plugin/k3bpluginconfigwidget.cpp
@@ -22,8 +22,8 @@
#include <kdebug.h>
-K3bPluginConfigWidget::K3bPluginConfigWidget( TQWidget* tqparent, const char* name )
- : TQWidget( tqparent, name )
+K3bPluginConfigWidget::K3bPluginConfigWidget( TQWidget* parent, const char* name )
+ : TQWidget( parent, name )
{
}
diff --git a/libk3b/plugin/k3bpluginconfigwidget.h b/libk3b/plugin/k3bpluginconfigwidget.h
index 3e5068d..7840ac4 100644
--- a/libk3b/plugin/k3bpluginconfigwidget.h
+++ b/libk3b/plugin/k3bpluginconfigwidget.h
@@ -26,7 +26,7 @@ class LIBK3B_EXPORT K3bPluginConfigWidget : public TQWidget
TQ_OBJECT
public:
- K3bPluginConfigWidget( TQWidget* tqparent = 0, const char* name = 0 );
+ K3bPluginConfigWidget( TQWidget* parent = 0, const char* name = 0 );
virtual ~K3bPluginConfigWidget();
public slots:
diff --git a/libk3b/plugin/k3bpluginfactory.h b/libk3b/plugin/k3bpluginfactory.h
index 463703f..7892dfa 100644
--- a/libk3b/plugin/k3bpluginfactory.h
+++ b/libk3b/plugin/k3bpluginfactory.h
@@ -64,10 +64,10 @@ class K3bPluginFactory : public KLibFactory
}
}
- virtual TQObject* createObject( TQObject *tqparent, const char *name,
+ virtual TQObject* createObject( TQObject *parent, const char *name,
const char*, const TQStringList& ) {
initializeMessageCatalogue();
- return new T( tqparent, name );
+ return new T( parent, name );
}
private:
diff --git a/libk3b/plugin/k3bpluginmanager.cpp b/libk3b/plugin/k3bpluginmanager.cpp
index fc69933..3274ef6 100644
--- a/libk3b/plugin/k3bpluginmanager.cpp
+++ b/libk3b/plugin/k3bpluginmanager.cpp
@@ -42,8 +42,8 @@ public:
-K3bPluginManager::K3bPluginManager( TQObject* tqparent, const char* name )
- : TQObject( tqparent, name )
+K3bPluginManager::K3bPluginManager( TQObject* parent, const char* name )
+ : TQObject( parent, name )
{
d = new Private();
}
@@ -163,9 +163,9 @@ int K3bPluginManager::pluginSystemVersion() const
}
-int K3bPluginManager::execPluginDialog( K3bPlugin* plugin, TQWidget* tqparent, const char* name )
+int K3bPluginManager::execPluginDialog( K3bPlugin* plugin, TQWidget* parent, const char* name )
{
- KDialogBase dlg( tqparent,
+ KDialogBase dlg( parent,
name,
true,
i18n("Configure plugin %1").tqarg( plugin->pluginInfo().name() ) );
@@ -181,7 +181,7 @@ int K3bPluginManager::execPluginDialog( K3bPlugin* plugin, TQWidget* tqparent, c
return r;
}
else {
- KMessageBox::sorry( tqparent, i18n("No settings available for plugin %1.").tqarg( plugin->pluginInfo().name() ) );
+ KMessageBox::sorry( parent, i18n("No settings available for plugin %1.").tqarg( plugin->pluginInfo().name() ) );
return 0;
}
}
diff --git a/libk3b/plugin/k3bpluginmanager.h b/libk3b/plugin/k3bpluginmanager.h
index c047c1a..64a4b74 100644
--- a/libk3b/plugin/k3bpluginmanager.h
+++ b/libk3b/plugin/k3bpluginmanager.h
@@ -38,7 +38,7 @@ class LIBK3B_EXPORT K3bPluginManager : public TQObject
TQ_OBJECT
public:
- K3bPluginManager( TQObject* tqparent = 0, const char* name = 0 );
+ K3bPluginManager( TQObject* parent = 0, const char* name = 0 );
~K3bPluginManager();
/**
@@ -61,7 +61,7 @@ class LIBK3B_EXPORT K3bPluginManager : public TQObject
void loadPlugin( const TQString& fileName );
- int execPluginDialog( K3bPlugin*, TQWidget* tqparent = 0, const char* name = 0 );
+ int execPluginDialog( K3bPlugin*, TQWidget* parent = 0, const char* name = 0 );
private:
class Private;
diff --git a/libk3b/plugin/k3bprojectplugin.h b/libk3b/plugin/k3bprojectplugin.h
index a8d0c47..aafb359 100644
--- a/libk3b/plugin/k3bprojectplugin.h
+++ b/libk3b/plugin/k3bprojectplugin.h
@@ -77,8 +77,8 @@ class LIBK3B_EXPORT K3bProjectPlugin : public K3bPlugin
* @p activate() will not be used. A plugin has a GUI if it's functionality is started
* by some user input.
*/
- K3bProjectPlugin( int type, bool gui = false, TQObject* tqparent = 0, const char* name = 0 )
- : K3bPlugin( tqparent, name ),
+ K3bProjectPlugin( int type, bool gui = false, TQObject* parent = 0, const char* name = 0 )
+ : K3bPlugin( parent, name ),
m_type(type),
m_hasGUI(gui) {
}
@@ -139,9 +139,9 @@ class LIBK3B_EXPORT K3bProjectPlugin : public K3bPlugin
* this will be the doc to work on. It should
* be dynamically casted to the needed project type.
*
- * @param tqparent the tqparent widget to be used for things like progress dialogs.
+ * @param parent the parent widget to be used for things like progress dialogs.
*/
- virtual void activate( K3bDoc* doc, TQWidget* tqparent ) { Q_UNUSED(doc); Q_UNUSED(tqparent); }
+ virtual void activate( K3bDoc* doc, TQWidget* parent ) { Q_UNUSED(doc); Q_UNUSED(parent); }
protected:
void setText( const TQString& s ) { m_text = s; }