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/batch/app.h

56 lines
1.0 KiB

/* -*- C++ -*- */
#ifndef APP_H
#define APP_H
#include <kmainwindow.h>
#include <kparts/part.h>
#include <kactionclasses.h>
#include <kcmdlineargs.h>
#include <apt-front/cache/observer.h>
#include <apt-front/cache/component/state.h>
#include <apt-front/cache/component/history.h>
#include <adept/view.h>
#include <adept/commitprogress.h>
#include <adept/application.h>
#include <adept/acqprogresswidget.h>
class TQVBox;
class TQWidgetStack;
class TQSplitter;
class KAction;
class KPushButton;
namespace adept {
class AcqProgressWidget;
}
using namespace aptFront;
using namespace adept;
class App : public KMainWindow, Application {
Q_OBJECT
public:
void setupActions();
ExtTerminalInterface *terminal();
App( KCmdLineArgs *a );
signals:
void imDone();
protected slots:
void delayed();
void handleDone();
protected:
friend class WaitForLister;
TQWidgetStack *m_stack;
TQVBox *m_all;
// stacked widgets
adept::AcqProgressWidget *m_progress;
adept::CommitProgress *m_commitProgress;
bool updating;
};
#endif