code cleanup
[fapman] / repoedit.h
index 2a14c31..6591093 100644 (file)
@@ -35,7 +35,8 @@ class RepoEdit : public QDialog
 
 public:
        explicit RepoEdit(AAptInterface* apt, Repository* repo, int pos, QWidget *parent = 0);
-    ~RepoEdit();
+       virtual ~RepoEdit();
+
 #ifdef Q_WS_MAEMO_5            // workaround for buggy Qt autorotation
        int exec() {
                QRect r = dynamic_cast<QWidget*>(this->parent())->rect();
@@ -52,6 +53,9 @@ protected:
     void changeEvent(QEvent *e);
 
 private:
+       RepoEdit(const RepoEdit& old);
+       RepoEdit operator= (const RepoEdit& old);
+
     Ui::RepoEdit *ui;
        Repository* iRepo;
        int iPos;