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.
kile/src/kile/kilestatsdlg.h

53 lines
1.8 KiB

/***************************************************************************
begin : Tuesday Nov 1 2005
copyright : (C) 2005 by Thomas Braun
email : braun@physik.fu-berlin.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef KILESTATSDLG_H
#define KILESTATSDLG_H
#include <kdialogbase.h>
#include <tdelocale.h>
#include <tdeapplication.h>
#include <tqclipboard.h>
#include <tqlabel.h>
#include "kileproject.h"
#include "kiledocumentinfo.h"
#include "kilestatswidget.h"
class KileStatsDlg : public KDialogBase
{
public:
KileStatsDlg(KileProject *project, KileDocument::TextInfo* docinfo, TQWidget* parent = 0, const char* name = 0, const TQString &caption = TQString());
~KileStatsDlg();
private:
void fillWidget (const long* stats, KileWidgetStatistics* widget);
void slotUser1();
void slotUser2();
void convertText(TQString* text, bool forLaTeX);
protected:
KileProject *m_project;
KileDocument::TextInfo *m_docinfo;
long *m_summarystats;
bool m_hasSelection;
bool m_notAllFilesOpenWarning;
TQMap<int, KileWidgetStatistics*> m_pagetowidget;
TQMap<int, TQString> m_pagetoname;
};
#endif