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.
adept/adept/libadept/commitprogress.h

43 lines
949 B

/* -*- C++ -*- file adept/commitprogress.h
written by Peter Rockai <me@mornfall.net> */
#include <kde_terminal_interface.h>
#include <adept/dpkgpm-gui.h>
#include <adept/commitprogressui.h>
#include <tdeparts/part.h>
#ifndef EPT_COMMITPROGRESS_H
#define EPT_COMMITPROGRESS_H
namespace adept {
class CommitProgress : public CommitProgressUi
{
Q_OBJECT
public:
CommitProgress( TQWidget *p = 0, const char *n = 0 );
ExtTerminalInterface *terminal() {
return static_cast<ExtTerminalInterface*>(
m_konsole->tqt_cast( "ExtTerminalInterface" ) );
}
// needs to be called before aptFront::init() :'((
static void initSystem();
virtual bool eventFilter( TQObject *o, TQEvent *e );
public slots:
void updateProgress( int p, TQString msg );
void toggleDetails();
protected:
void loadKonsole();
KParts::Part *m_konsole;
static adept::PkgSystem *s_system; // bla...
};
}
#endif