From 395a904bff7b4d6ead445c342f7ac0c5fbf29121 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 18 Jun 2011 17:00:31 +0000 Subject: TQt4 port kdeaddons This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konq-plugins/sidebar/newsticker/nspanel.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'konq-plugins/sidebar/newsticker/nspanel.cpp') diff --git a/konq-plugins/sidebar/newsticker/nspanel.cpp b/konq-plugins/sidebar/newsticker/nspanel.cpp index a5c1261..e58d0c4 100644 --- a/konq-plugins/sidebar/newsticker/nspanel.cpp +++ b/konq-plugins/sidebar/newsticker/nspanel.cpp @@ -35,8 +35,8 @@ namespace KSB_News { //////////////////////////////////////////////////////////////// // ListBox including ToolTip for item //////////////////////////////////////////////////////////////// - TTListBox::TTListBox(TQWidget *parent, const char *name, WFlags f) - : KListBox(parent, name, f), + TTListBox::TTListBox(TQWidget *tqparent, const char *name, WFlags f) + : KListBox(tqparent, name, f), TQToolTip(this) { } @@ -54,16 +54,16 @@ namespace KSB_News { int textWidth = fm.width(text); int widgetSpace = visibleWidth(); if ((textWidth > widgetSpace) || (contentsX() > 0)) - tip(itemRect(item), text); + tip(tqitemRect(item), text); } } } - NSPanel::NSPanel(TQObject *parent, const char *name, const TQString &key, + NSPanel::NSPanel(TQObject *tqparent, const char *name, const TQString &key, DCOPRef *rssservice) - :TQObject(parent, name) + :TQObject(tqparent, name) ,DCOPObject(TQString(TQString("sidebar-newsticker-")+key).latin1()) ,m_listbox() ,m_pixmap() -- cgit v1.2.1