summaryrefslogtreecommitdiffstats
path: root/knewsticker
diff options
context:
space:
mode:
Diffstat (limited to 'knewsticker')
-rw-r--r--knewsticker/common/newsengine.cpp4
-rw-r--r--knewsticker/common/newsiconmgr.cpp4
-rw-r--r--knewsticker/knewsticker.cpp14
-rw-r--r--knewsticker/knewstickerconfig.cpp18
-rw-r--r--knewsticker/knewstickerconfig.h2
-rw-r--r--knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp6
-rw-r--r--knewsticker/newsscroller.cpp4
-rw-r--r--knewsticker/newssourcedlgimpl.cpp8
-rw-r--r--knewsticker/newssourcedlgimpl.h2
9 files changed, 31 insertions, 31 deletions
diff --git a/knewsticker/common/newsengine.cpp b/knewsticker/common/newsengine.cpp
index ef1e5f81..398e2f40 100644
--- a/knewsticker/common/newsengine.cpp
+++ b/knewsticker/common/newsengine.cpp
@@ -23,10 +23,10 @@
#include <tqbuffer.h>
-Article::Article(NewsSourceBase *tqparent, const TQString &headline,
+Article::Article(NewsSourceBase *parent, const TQString &headline,
const KURL &address)
: XMLNewsArticle(headline, address),
- m_parent(tqparent),
+ m_parent(parent),
m_read(false)
{
}
diff --git a/knewsticker/common/newsiconmgr.cpp b/knewsticker/common/newsiconmgr.cpp
index 59044942..b4a8ab67 100644
--- a/knewsticker/common/newsiconmgr.cpp
+++ b/knewsticker/common/newsiconmgr.cpp
@@ -37,8 +37,8 @@ NewsIconMgr *NewsIconMgr::self()
return m_instance;
}
-NewsIconMgr::NewsIconMgr(TQObject *tqparent, const char *name)
- : TQObject(tqparent, name), DCOPObject("NewsIconMgr"),
+NewsIconMgr::NewsIconMgr(TQObject *parent, const char *name)
+ : TQObject(parent, name), DCOPObject("NewsIconMgr"),
m_stdIcon(SmallIcon(TQString::tqfromLatin1("news")))
{
connectDCOPSignal("kded",
diff --git a/knewsticker/knewsticker.cpp b/knewsticker/knewsticker.cpp
index a25bc569..a23696d5 100644
--- a/knewsticker/knewsticker.cpp
+++ b/knewsticker/knewsticker.cpp
@@ -34,9 +34,9 @@
#include <dcopclient.h>
-KNewsTicker::KNewsTicker(const TQString &cfgFile, Type t, int actions, TQWidget *tqparent, const char *name)
+KNewsTicker::KNewsTicker(const TQString &cfgFile, Type t, int actions, TQWidget *parent, const char *name)
: ConfigIface(), DCOPObject("KNewsTicker"),
- KPanelApplet(cfgFile, t, actions, tqparent, name),
+ KPanelApplet(cfgFile, t, actions, parent, name),
m_instance(new KInstance("knewsticker")),
m_dcopClient(new DCOPClient()),
m_cfg(new ConfigAccess(config())),
@@ -401,9 +401,9 @@ void KNewsTicker::setupArrowButton()
m_arrowButton->setArrowType(at);
}
-KNewsTickerMenu::KNewsTickerMenu(KNewsTicker *tqparent, const char *name)
- : KPopupMenu(tqparent, name),
- m_parent(tqparent),
+KNewsTickerMenu::KNewsTickerMenu(KNewsTicker *parent, const char *name)
+ : KPopupMenu(parent, name),
+ m_parent(parent),
m_fullMenu(false)
{
populateMenu();
@@ -533,13 +533,13 @@ void KNewsTickerMenu::slotOpenArticle(int idx)
extern "C"
{
- KDE_EXPORT KPanelApplet* init(TQWidget *tqparent, const TQString &configFile)
+ KDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString &configFile)
{
KGlobal::locale()->insertCatalogue(TQString::tqfromLatin1("knewsticker"));
return new KNewsTicker(configFile, KPanelApplet::Stretch,
KPanelApplet::Preferences | KPanelApplet::About |
KPanelApplet::Help | KPanelApplet::ReportBug,
- tqparent, "knewsticker");
+ parent, "knewsticker");
}
}
diff --git a/knewsticker/knewstickerconfig.cpp b/knewsticker/knewstickerconfig.cpp
index b13db0f5..eb07bcbd 100644
--- a/knewsticker/knewstickerconfig.cpp
+++ b/knewsticker/knewstickerconfig.cpp
@@ -33,8 +33,8 @@
#include <tqslider.h>
#include <tqregexp.h>
-CategoryItem::CategoryItem(TQListView *tqparent, const TQString &text)
- : TQListViewItem(tqparent, text)
+CategoryItem::CategoryItem(TQListView *parent, const TQString &text)
+ : TQListViewItem(parent, text)
{
setOpen(true);
}
@@ -49,10 +49,10 @@ void CategoryItem::setOpen(bool open)
TQListViewItem::setOpen(open);
}
-NewsSourceItem::NewsSourceItem(KNewsTickerConfig *kcm, CategoryItem *tqparent,
+NewsSourceItem::NewsSourceItem(KNewsTickerConfig *kcm, CategoryItem *parent,
const NewsSourceBase::Data &nsd)
- : TQCheckListItem(tqparent, TQString(), TQCheckListItem::CheckBox),
- m_parent(tqparent),
+ : TQCheckListItem(parent, TQString(), TQCheckListItem::CheckBox),
+ m_parent(parent),
m_kcm(kcm)
{
setData(nsd);
@@ -89,8 +89,8 @@ void NewsSourceItem::setIcon(const TQPixmap &pixmap)
setPixmap(0, pixmap);
}
-KNewsTickerConfig::KNewsTickerConfig(ConfigAccess *cfg, TQWidget *tqparent, const char *name)
- : KDialogBase(tqparent, name, true, i18n("Configuration"), Ok|Close),
+KNewsTickerConfig::KNewsTickerConfig(ConfigAccess *cfg, TQWidget *parent, const char *name)
+ : KDialogBase(parent, name, true, i18n("Configuration"), Ok|Close),
m_cfg(cfg),
m_child(new KNewsTickerConfigWidget(this)),
m_newsIconMgr(NewsIconMgr::self())
@@ -330,8 +330,8 @@ void KNewsTickerConfig::removeNewsSource()
m_child->comboFilterNewsSource->removeItem(i);
break;
}
- if (dynamic_cast<NewsSourceItem *>(item) && item->tqparent()->childCount() == 1)
- delete item->tqparent();
+ if (dynamic_cast<NewsSourceItem *>(item) && item->parent()->childCount() == 1)
+ delete item->parent();
else
delete item;
}
diff --git a/knewsticker/knewstickerconfig.h b/knewsticker/knewstickerconfig.h
index 0af7255e..d0435187 100644
--- a/knewsticker/knewstickerconfig.h
+++ b/knewsticker/knewstickerconfig.h
@@ -44,7 +44,7 @@ class NewsSourceItem : public TQCheckListItem
void setData(const NewsSourceBase::Data &);
void setIcon(const TQPixmap &);
- TQListViewItem *parentItem() { return TQCheckListItem::tqparent(); }
+ TQListViewItem *parentItem() { return TQCheckListItem::parent(); }
private:
TQString m_icon;
diff --git a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
index 6401a13e..7d2a588b 100644
--- a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
+++ b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlg.cpp
@@ -104,15 +104,15 @@ void KntSrcFilePropsDlg::slotClickedArticle(TQListBoxItem *item)
slotOpenURL(articleItem->article().link().url());
}
-TQObject *KntSrcFilePropsFactory::createObject(TQObject *tqparent, const char *,
+TQObject *KntSrcFilePropsFactory::createObject(TQObject *parent, const char *,
const char *classname, const TQStringList &)
{
if (TQString::tqfromLatin1(classname) == "KPropsDlgPlugin")
{
- if (!tqparent->inherits("KPropertiesDialog"))
+ if (!parent->inherits("KPropertiesDialog"))
return 0L;
- TQObject *obj = new KntSrcFilePropsDlg(static_cast<KPropertiesDialog *>(TQT_TQWIDGET(tqparent)));
+ TQObject *obj = new KntSrcFilePropsDlg(static_cast<KPropertiesDialog *>(TQT_TQWIDGET(parent)));
return obj;
}
return 0L;
diff --git a/knewsticker/newsscroller.cpp b/knewsticker/newsscroller.cpp
index b24e87f9..e92529be 100644
--- a/knewsticker/newsscroller.cpp
+++ b/knewsticker/newsscroller.cpp
@@ -128,8 +128,8 @@ private:
TQPixmap *m_highlighted;
};
-NewsScroller::NewsScroller(TQWidget *tqparent, ConfigAccess *cfg, const char *name)
- : TQFrame(tqparent, name, WNoAutoErase),
+NewsScroller::NewsScroller(TQWidget *parent, ConfigAccess *cfg, const char *name)
+ : TQFrame(parent, name, WNoAutoErase),
m_cfg(cfg),
m_scrollTimer(new TQTimer(this)),
m_activeHeadline(0),
diff --git a/knewsticker/newssourcedlgimpl.cpp b/knewsticker/newssourcedlgimpl.cpp
index 3c8df5e9..e78321c7 100644
--- a/knewsticker/newssourcedlgimpl.cpp
+++ b/knewsticker/newssourcedlgimpl.cpp
@@ -25,8 +25,8 @@
#include <tqtimer.h>
#include <tqvbox.h>
-SuggestProgressDlg::SuggestProgressDlg(const KURL &url, TQWidget *tqparent, const char *name)
- : KDialogBase(tqparent, name, true, i18n("Downloading Data"), Cancel, Cancel),
+SuggestProgressDlg::SuggestProgressDlg(const KURL &url, TQWidget *parent, const char *name)
+ : KDialogBase(parent, name, true, i18n("Downloading Data"), Cancel, Cancel),
m_gotSourceFile(false),
m_gotIcon(false)
{
@@ -95,8 +95,8 @@ void SuggestProgressDlg::slotGotIcon(const KURL &url, const TQPixmap &pixmap)
done(m_succeeded ? TQDialog::Accepted : TQDialog::Rejected);
}
-NewsSourceDlgImpl::NewsSourceDlgImpl(TQWidget *tqparent, const char *name, bool modal, WFlags fl)
- : NewsSourceDlg(tqparent, name, modal, fl),
+NewsSourceDlgImpl::NewsSourceDlgImpl(TQWidget *parent, const char *name, bool modal, WFlags fl)
+ : NewsSourceDlg(parent, name, modal, fl),
m_modified(false)
{
connect(NewsIconMgr::self(), TQT_SIGNAL(gotIcon(const KURL &, const TQPixmap &)),
diff --git a/knewsticker/newssourcedlgimpl.h b/knewsticker/newssourcedlgimpl.h
index 19552a9a..683217a8 100644
--- a/knewsticker/newssourcedlgimpl.h
+++ b/knewsticker/newssourcedlgimpl.h
@@ -29,7 +29,7 @@ class SuggestProgressDlg : public KDialogBase
TQ_OBJECT
public:
- SuggestProgressDlg(const KURL &url, TQWidget *tqparent, const char *name = 0);
+ SuggestProgressDlg(const KURL &url, TQWidget *parent, const char *name = 0);
virtual ~SuggestProgressDlg();
XMLNewsSource *xmlSrc() { return m_xmlSrc; }