diff options
Diffstat (limited to 'dcoprss/feedbrowser.cpp')
-rw-r--r-- | dcoprss/feedbrowser.cpp | 20 |
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 & ) ) ); |