summaryrefslogtreecommitdiffstats
path: root/kresources/lib/folderlistview.h
diff options
context:
space:
mode:
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 );
}