summaryrefslogtreecommitdiffstats
path: root/dcoprss/feedbrowser.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /dcoprss/feedbrowser.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcoprss/feedbrowser.cpp')
-rw-r--r--dcoprss/feedbrowser.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/dcoprss/feedbrowser.cpp b/dcoprss/feedbrowser.cpp
index eae10f63..fd18c0ef 100644
--- a/dcoprss/feedbrowser.cpp
+++ b/dcoprss/feedbrowser.cpp
@@ -13,15 +13,15 @@
#include <tqdatastream.h>
#include <tqvbox.h>
-CategoryItem::CategoryItem( KListView *parent, const TQString &category )
- : KListViewItem( parent ),
+CategoryItem::CategoryItem( KListView *tqparent, const TQString &category )
+ : KListViewItem( tqparent ),
m_category( category )
{
init();
}
-CategoryItem::CategoryItem( KListViewItem *parent, const TQString &category )
- : KListViewItem( parent ),
+CategoryItem::CategoryItem( KListViewItem *tqparent, const TQString &category )
+ : KListViewItem( tqparent ),
m_category( category )
{
init();
@@ -32,7 +32,7 @@ void CategoryItem::init()
m_populated = false;
m_dcopIface = 0;
- setText( 0, m_category.mid( m_category.findRev( '/' ) + 1 ).replace( '_', ' ' ) );
+ setText( 0, m_category.mid( m_category.tqfindRev( '/' ) + 1 ).tqreplace( '_', ' ' ) );
}
void CategoryItem::setOpen( bool open )
@@ -66,8 +66,8 @@ void CategoryItem::gotCategories( const TQStringList &categories )
KListViewItem::setOpen( true );
}
-DCOPRSSIface::DCOPRSSIface( TQObject *parent, const char *name ) :
- TQObject( parent, name ), DCOPObject( "FeedBrowser" )
+DCOPRSSIface::DCOPRSSIface( TQObject *tqparent, const char *name ) :
+ TQObject( tqparent, name ), DCOPObject( "FeedBrowser" )
{
connectDCOPSignal( "rssservice", "RSSQuery", "gotCategories(TQStringList)",
"slotGotCategories(TQStringList)", false );
@@ -87,11 +87,11 @@ void DCOPRSSIface::slotGotCategories( const TQStringList &categories )
emit gotCategories( categories );
}
-FeedBrowserDlg::FeedBrowserDlg( TQWidget *parent, const char *name )
- : KDialogBase( parent, name, true, i18n( "DCOPRSS Feed Browser" ),
+FeedBrowserDlg::FeedBrowserDlg( TQWidget *tqparent, const char *name )
+ : KDialogBase( tqparent, name, true, i18n( "DCOPRSS Feed Browser" ),
Close, Close, true )
{
- m_dcopIface = new DCOPRSSIface( this, "m_dcopIface" );
+ m_dcopIface = new DCOPRSSIface( TQT_TQOBJECT(this), "m_dcopIface" );
connect( m_dcopIface, TQT_SIGNAL( gotCategories( const TQStringList & ) ),
this, TQT_SLOT( gotTopCategories( const TQStringList & ) ) );