summaryrefslogtreecommitdiffstats
path: root/kresources/lib/folderlistview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kresources/lib/folderlistview.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/lib/folderlistview.h')
-rw-r--r--kresources/lib/folderlistview.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kresources/lib/folderlistview.h b/kresources/lib/folderlistview.h
index 62766830..e4d5a56d 100644
--- a/kresources/lib/folderlistview.h
+++ b/kresources/lib/folderlistview.h
@@ -38,6 +38,7 @@ class FolderListCaption;
class FolderListView : public KListView
{
Q_OBJECT
+ TQ_OBJECT
friend class FolderListItem;
@@ -45,7 +46,7 @@ class FolderListView : public KListView
/* mainly for readability */
enum Property { FolderName, Event, Todo, Journal, Contact, All, Unknown, PROP_MAX };
- FolderListView( TQWidget *parent, const TQValueList<Property> &types = TQValueList<Property>() );
+ FolderListView( TQWidget *tqparent, const TQValueList<Property> &types = TQValueList<Property>() );
~FolderListView() {};
/* Display a popupmenu for item i at the specified global position, eventually with a title,
@@ -77,13 +78,13 @@ class FolderListView : public KListView
TQListViewItem subclass to display/edit a folder on a groupware server.
Selection of default destinations will be done via radio items.
*/
-class FolderListItem : public QCheckListItem
+class FolderListItem : public TQCheckListItem
{
typedef TQCheckListItem super;
public:
- FolderListItem( FolderListItem *parent, const KPIM::FolderLister::Entry &folder )
- : TQCheckListItem( parent, folder.name, TQCheckListItem::CheckBoxController ),
- mFolder( folder ), mFolderListView( parent?(parent->folderListView()):0 )
+ FolderListItem( FolderListItem *tqparent, const KPIM::FolderLister::Entry &folder )
+ : TQCheckListItem( tqparent, folder.name, TQCheckListItem::CheckBoxController ),
+ mFolder( folder ), mFolderListView( tqparent?(tqparent->folderListView()):0 )
{
setOn( mFolder.active );
}