summaryrefslogtreecommitdiffstats
path: root/plugins/logviewer
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
commit936370a6413e14b322ce808be07c6c66714941b6 (patch)
tree31b9f37bb64beac5eddafef05312da5b48736bd6 /plugins/logviewer
parent2a99db3ebc4c211e436f95fde24b5ac6826d0267 (diff)
downloadktorrent-936370a6413e14b322ce808be07c6c66714941b6.tar.gz
ktorrent-936370a6413e14b322ce808be07c6c66714941b6.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/logviewer')
-rw-r--r--plugins/logviewer/logprefpage.cpp4
-rw-r--r--plugins/logviewer/logprefpage.h2
-rw-r--r--plugins/logviewer/logprefwidget.cpp4
-rw-r--r--plugins/logviewer/logprefwidget.h2
-rw-r--r--plugins/logviewer/logviewer.cpp4
-rw-r--r--plugins/logviewer/logviewer.h2
-rw-r--r--plugins/logviewer/logviewerplugin.cpp4
-rw-r--r--plugins/logviewer/logviewerplugin.h2
8 files changed, 12 insertions, 12 deletions
diff --git a/plugins/logviewer/logprefpage.cpp b/plugins/logviewer/logprefpage.cpp
index b49c4ce..6cc6ce8 100644
--- a/plugins/logviewer/logprefpage.cpp
+++ b/plugins/logviewer/logprefpage.cpp
@@ -46,9 +46,9 @@ namespace kt
return true;
}
- void LogPrefPage::createWidget(TQWidget* tqparent)
+ void LogPrefPage::createWidget(TQWidget* parent)
{
- m_widget = new LogPrefWidget(tqparent);
+ m_widget = new LogPrefWidget(parent);
}
void LogPrefPage::updateData()
diff --git a/plugins/logviewer/logprefpage.h b/plugins/logviewer/logprefpage.h
index cd8e6a8..1176d92 100644
--- a/plugins/logviewer/logprefpage.h
+++ b/plugins/logviewer/logprefpage.h
@@ -38,7 +38,7 @@ namespace kt
virtual ~LogPrefPage();
virtual bool apply();
- virtual void createWidget(TQWidget* tqparent);
+ virtual void createWidget(TQWidget* parent);
virtual void updateData();
virtual void deleteWidget();
diff --git a/plugins/logviewer/logprefwidget.cpp b/plugins/logviewer/logprefwidget.cpp
index 215bce6..46ea88d 100644
--- a/plugins/logviewer/logprefwidget.cpp
+++ b/plugins/logviewer/logprefwidget.cpp
@@ -31,8 +31,8 @@
namespace kt
{
- LogPrefWidget::LogPrefWidget(TQWidget *tqparent, const char *name)
- :LogPrefWidgetBase(tqparent, name)
+ LogPrefWidget::LogPrefWidget(TQWidget *parent, const char *name)
+ :LogPrefWidgetBase(parent, name)
{
m_sysgen->setCurrentItem(getLevel(LogViewerPluginSettings::sysGEN()));
m_syscon->setCurrentItem(getLevel(LogViewerPluginSettings::sysCON()));
diff --git a/plugins/logviewer/logprefwidget.h b/plugins/logviewer/logprefwidget.h
index 4bb1030..efd7dc6 100644
--- a/plugins/logviewer/logprefwidget.h
+++ b/plugins/logviewer/logprefwidget.h
@@ -29,7 +29,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- LogPrefWidget(TQWidget *tqparent = 0, const char *name = 0);
+ LogPrefWidget(TQWidget *parent = 0, const char *name = 0);
bool apply();
private:
diff --git a/plugins/logviewer/logviewer.cpp b/plugins/logviewer/logviewer.cpp
index 916af8e..ac3e02e 100644
--- a/plugins/logviewer/logviewer.cpp
+++ b/plugins/logviewer/logviewer.cpp
@@ -41,8 +41,8 @@ namespace kt
const TQString & msg() const {return str;}
};
- LogViewer::LogViewer(TQWidget *tqparent, const char *name)
- : KTextBrowser(tqparent, name), LogMonitorInterface()
+ LogViewer::LogViewer(TQWidget *parent, const char *name)
+ : KTextBrowser(parent, name), LogMonitorInterface()
{
/*
IMPORTANT: use LogText mode, so that setMaxLogLines will work, if not everything will be kept in memory.
diff --git a/plugins/logviewer/logviewer.h b/plugins/logviewer/logviewer.h
index ced8bf0..80c37f4 100644
--- a/plugins/logviewer/logviewer.h
+++ b/plugins/logviewer/logviewer.h
@@ -34,7 +34,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- LogViewer(TQWidget *tqparent = 0, const char *name = 0);
+ LogViewer(TQWidget *parent = 0, const char *name = 0);
virtual ~LogViewer();
virtual void message(const TQString& line, unsigned int arg);
diff --git a/plugins/logviewer/logviewerplugin.cpp b/plugins/logviewer/logviewerplugin.cpp
index 5df9fac..4c11680 100644
--- a/plugins/logviewer/logviewerplugin.cpp
+++ b/plugins/logviewer/logviewerplugin.cpp
@@ -40,8 +40,8 @@ K_EXPORT_COMPONENT_FACTORY(ktlogviewerplugin,KGenericFactory<kt::LogViewerPlugin
namespace kt
{
- LogViewerPlugin::LogViewerPlugin(TQObject* tqparent, const char* qt_name, const TQStringList& args)
- : Plugin(tqparent, qt_name, args, NAME,i18n("Log Viewer"), AUTHOR, EMAIL,
+ LogViewerPlugin::LogViewerPlugin(TQObject* parent, const char* qt_name, const TQStringList& args)
+ : Plugin(parent, qt_name, args, NAME,i18n("Log Viewer"), AUTHOR, EMAIL,
i18n("Displays ktorrent logging output"),"log")
{
lv = 0;
diff --git a/plugins/logviewer/logviewerplugin.h b/plugins/logviewer/logviewerplugin.h
index 238121f..3596148 100644
--- a/plugins/logviewer/logviewerplugin.h
+++ b/plugins/logviewer/logviewerplugin.h
@@ -37,7 +37,7 @@ namespace kt
Q_OBJECT
TQ_OBJECT
public:
- LogViewerPlugin(TQObject* tqparent, const char* qt_name, const TQStringList& args);
+ LogViewerPlugin(TQObject* parent, const char* qt_name, const TQStringList& args);
virtual ~LogViewerPlugin();
virtual void load();