summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise/tasks/needfoldertask.h
blob: 167197e0e7c01848a1f10779d654f23bba5ef53d (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
  TQ_OBJECT
public:
	NeedFolderTask(Task* tqparent);
	~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