|
|
@ -37,14 +37,14 @@
|
|
|
|
KNewsTicker::KNewsTicker(const TQString &cfgFile, Type t, int actions, TQWidget *parent, const char *name)
|
|
|
|
KNewsTicker::KNewsTicker(const TQString &cfgFile, Type t, int actions, TQWidget *parent, const char *name)
|
|
|
|
: ConfigIface(), DCOPObject("KNewsTicker"),
|
|
|
|
: ConfigIface(), DCOPObject("KNewsTicker"),
|
|
|
|
KPanelApplet(cfgFile, t, actions, parent, name),
|
|
|
|
KPanelApplet(cfgFile, t, actions, parent, name),
|
|
|
|
m_instance(new KInstance("knewsticker")),
|
|
|
|
m_instance(new TDEInstance("knewsticker")),
|
|
|
|
m_dcopClient(new DCOPClient()),
|
|
|
|
m_dcopClient(new DCOPClient()),
|
|
|
|
m_cfg(new ConfigAccess(config())),
|
|
|
|
m_cfg(new ConfigAccess(config())),
|
|
|
|
m_newsTimer(new TQTimer(this)),
|
|
|
|
m_newsTimer(new TQTimer(this)),
|
|
|
|
m_updateTimer(new TQTimer(this)),
|
|
|
|
m_updateTimer(new TQTimer(this)),
|
|
|
|
m_newsIconMgr(NewsIconMgr::self()),
|
|
|
|
m_newsIconMgr(NewsIconMgr::self()),
|
|
|
|
m_aboutData(new KAboutData("knewsticker", I18N_NOOP("KNewsTicker"), "v0.2",
|
|
|
|
m_aboutData(new TDEAboutData("knewsticker", I18N_NOOP("KNewsTicker"), "v0.2",
|
|
|
|
I18N_NOOP("A news ticker applet."), KAboutData::License_BSD,
|
|
|
|
I18N_NOOP("A news ticker applet."), TDEAboutData::License_BSD,
|
|
|
|
I18N_NOOP("(c) 2000, 2001 The KNewsTicker developers")))
|
|
|
|
I18N_NOOP("(c) 2000, 2001 The KNewsTicker developers")))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQHBoxLayout *layout = new TQHBoxLayout(this);
|
|
|
|
TQHBoxLayout *layout = new TQHBoxLayout(this);
|
|
|
|