From fd5d099065a748cac49e20a13481f85666c53c71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:12 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- knode/knmainwidget.h | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'knode/knmainwidget.h') diff --git a/knode/knmainwidget.h b/knode/knmainwidget.h index 8670966a8..c90e697df 100644 --- a/knode/knmainwidget.h +++ b/knode/knmainwidget.h @@ -26,10 +26,10 @@ class TQListViewItem; class KURL; -class KAccel; -class KAction; -class KToggleAction; -class KSelectAction; +class TDEAccel; +class TDEAction; +class TDEToggleAction; +class TDESelectAction; class KRSqueezedTextLabel; class KLineEdit; class KXMLGUIClient; @@ -58,7 +58,7 @@ namespace KNode { class KNArticle; class KNLocalArticle; class KNRemoteArticle; -class KActionCollection; +class TDEActionCollection; class KDE_EXPORT KNMainWidget : public KDockArea, virtual public KNodeIface { @@ -160,7 +160,7 @@ signals: protected: - KActionCollection* actionCollection() const; + TDEActionCollection* actionCollection() const; KXMLGUIFactory *factory() const; void initActions(); @@ -190,14 +190,14 @@ protected: void closeCurrentThread(); //GUI - KAccel *a_ccel; + TDEAccel *a_ccel; KNProgress *p_rogBar; KNode::ArticleWidget *mArticleViewer; KNCollectionView *c_olView; KNHeaderView *h_drView; KDockWidget *c_olDock, *h_drDock, *a_rtDock; bool b_lockui; - KToolBar *q_uicksearch; + TDEToolBar *q_uicksearch; TQLineEdit *s_earchLineEdit; //Core @@ -220,8 +220,8 @@ protected slots: void slotCollectionSelected(TQListViewItem*); void slotCollectionRenamed(TQListViewItem*); void slotCollectionViewDrop(TQDropEvent* e, KNCollectionViewItem* after); - void slotArticleRMB(KListView*, TQListViewItem *i, const TQPoint &p); - void slotCollectionRMB(KListView*, TQListViewItem *i, const TQPoint &p); + void slotArticleRMB(TDEListView*, TQListViewItem *i, const TQPoint &p); + void slotCollectionRMB(TDEListView*, TQListViewItem *i, const TQPoint &p); /** Open selected article in own composer/reader window */ void slotOpenArticle(TQListViewItem *item); void slotHdrViewSortingChanged(int i); @@ -241,7 +241,7 @@ protected slots: protected: //navigation - KAction *a_ctNavNextArt, + TDEAction *a_ctNavNextArt, *a_ctNavPrevArt, *a_ctNavNextUnreadArt, *a_ctNavNextUnreadThread, @@ -250,7 +250,7 @@ protected: *a_ctNavReadThrough; //collection-view - accounts - KAction *a_ctAccProperties, + TDEAction *a_ctAccProperties, *a_ctAccRename, *a_ctAccSubscribe, *a_ctAccExpireAll, @@ -260,7 +260,7 @@ protected: *a_ctAccPostNewArticle; //collection-view - groups - KAction *a_ctGrpProperties, + TDEAction *a_ctGrpProperties, *a_ctGrpRename, *a_ctGrpGetNewHdrs, *a_ctGrpExpire, @@ -271,7 +271,7 @@ protected: *a_ctGrpSetUnread; //collection-view - folder - KAction *a_ctFolNew, + TDEAction *a_ctFolNew, *a_ctFolNewChild, *a_ctFolDelete, *a_ctFolRename, @@ -282,26 +282,26 @@ protected: *a_ctFolMboxExport; //header-view - list-handling - KSelectAction *a_ctArtSortHeaders; + TDESelectAction *a_ctArtSortHeaders; KNFilterSelectAction *a_ctArtFilter; - KAction *a_ctArtSortHeadersKeyb, + TDEAction *a_ctArtSortHeadersKeyb, *a_ctArtFilterKeyb, *a_ctArtSearch, *a_ctArtRefreshList, *a_ctArtCollapseAll, *a_ctArtExpandAll, *a_ctArtToggleThread; - KToggleAction *a_ctArtToggleShowThreads; + TDEToggleAction *a_ctArtToggleShowThreads; //header-view - remote articles - KAction *a_ctArtSetArtRead, + TDEAction *a_ctArtSetArtRead, *a_ctArtSetArtUnread, *a_ctArtSetThreadRead, *a_ctArtSetThreadUnread, *a_ctArtOpenNewWindow; // scoring - KAction *a_ctScoresEdit, + TDEAction *a_ctScoresEdit, *a_ctReScore, *a_ctScoreLower, *a_ctScoreRaise, @@ -309,22 +309,22 @@ protected: *a_ctArtToggleWatched; //header-view local articles - KAction *a_ctArtSendOutbox, + TDEAction *a_ctArtSendOutbox, *a_ctArtDelete, *a_ctArtSendNow, *a_ctArtEdit; //network - KAction *a_ctNetCancel; + TDEAction *a_ctNetCancel; - KAction *a_ctFetchArticleWithID; + TDEAction *a_ctFetchArticleWithID; // settings menu - KToggleAction *a_ctToggleGroupView, + TDEToggleAction *a_ctToggleGroupView, *a_ctToggleHeaderView, *a_ctToggleArticleViewer, *a_ctToggleQuickSearch; - KAction *a_ctSwitchToGroupView, + TDEAction *a_ctSwitchToGroupView, *a_ctSwitchToHeaderView, *a_ctSwitchToArticleViewer; -- cgit v1.2.1