|
|
|
//
|
|
|
|
// C++ Interface: mailboxwizardlistitem
|
|
|
|
//
|
|
|
|
// Description:
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Author: Ulrich Weigelt <ulrich.weigelt@gmx.de>, (C) 2008
|
|
|
|
//
|
|
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#ifndef MAILBOXWIZARDLISTITEM_H
|
|
|
|
#define MAILBOXWIZARDLISTITEM_H
|
|
|
|
|
|
|
|
//TQt-Headers
|
|
|
|
#include <tqlistview.h>
|
|
|
|
|
|
|
|
//KDE-Headers
|
|
|
|
#include <tdelistview.h>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This is a list item in the mailbox list of the mailbox wizard
|
|
|
|
* @author Ulrich Weigelt <ulrich.weigelt@gmx.de>
|
|
|
|
*/
|
|
|
|
class MailBoxWizardListItem : public TDEListViewItem
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Constructor
|
|
|
|
* Constructs a new top-level entry in the mailbox list.
|
|
|
|
* @param parent pointer to mailbox list.
|
|
|
|
* @param label column content
|
|
|
|
* @param path the absolute path to this mailbox
|
|
|
|
*/
|
|
|
|
MailBoxWizardListItem( TQListView* parent, TQString label, TQString path );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Destructor
|
|
|
|
*/
|
|
|
|
~MailBoxWizardListItem();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the path to this mailbox.
|
|
|
|
* @return path to this mailbox
|
|
|
|
*/
|
|
|
|
TQString getPath();
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The path to this mailbox
|
|
|
|
*/
|
|
|
|
TQString path;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|