summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/tasks/needfoldertask.h
blob: c204c602b324a6d69ea58168096cb8d71e457d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// C++ Interface: %{MODULE}
//
// Description: 
//
//
// Author: %{AUTHOR} <%{EMAIL}>, (C) %{YEAR}
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef NEEDFOLDERTASK_H
#define NEEDFOLDERTASK_H

#include "modifycontactlisttask.h"

/**
This Task is the ancestor of Tasks that may need to create a folder on the server before they can carry out their own operation.

@author Kopete Developers
*/
class NeedFolderTask : public ModifyContactListTask
{
Q_OBJECT
  
public:
	NeedFolderTask(Task* parent);
	~NeedFolderTask();
	void createFolder();
	virtual void onFolderCreated() = 0;
protected slots:
	void slotFolderAdded( const FolderItem & );
	void slotFolderTaskFinished();
protected:
	int m_folderSequence;
	int m_folderId;
	TQString m_folderDisplayName;
};

#endif