You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
//
|
|
|
|
// C++ Interface: showheaderdialog
|
|
|
|
//
|
|
|
|
// Description:
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Author: Ulrich Weigelt <ulrich.weigelt@gmx.de>, (C) 2007
|
|
|
|
//
|
|
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#ifndef SHOWHEADERDIALOG_H
|
|
|
|
#define SHOWHEADERDIALOG_H
|
|
|
|
|
|
|
|
//TQt headers
|
|
|
|
#include <tqlayout.h>
|
|
|
|
#include <tqlabel.h>
|
|
|
|
|
|
|
|
//KDE headers
|
|
|
|
#include <kdialogbase.h>
|
|
|
|
#include <tdelocale.h>
|
|
|
|
#include <klineedit.h>
|
|
|
|
#include <ktextedit.h>
|
|
|
|
|
|
|
|
//KShowmail headers
|
|
|
|
#include "constants.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Used in ShowRecordElem to show the mail header.
|
|
|
|
*
|
|
|
|
* @author Ulrich Weigelt <ulrich.weigelt@gmx.de>
|
|
|
|
*/
|
|
|
|
class ShowHeaderDialog : public KDialogBase
|
|
|
|
{
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* Generic constructor.
|
|
|
|
* @param parent parent of the dialog
|
|
|
|
* @param caption the dialog caption
|
|
|
|
* @param subject mail subject
|
|
|
|
* @param header mail header
|
|
|
|
*/
|
|
|
|
ShowHeaderDialog( TQWidget* parent, TQString& caption, TQString& subject, TQString header );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Destructor
|
|
|
|
*/
|
|
|
|
~ShowHeaderDialog();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|