Logo Search packages:      
Sourcecode: qgit version File versions  Download package

customactionimpl.h

/*
      Description: custom action handling

      Author: Marco Costalba (C) 2006

      Copyright: See COPYING file that comes with this distribution

*/
#ifndef CUSTOMACTIONIMPL_H
#define CUSTOMACTIONIMPL_H

#include "customactionbase.h"

class CustomActionImpl : public CustomActionBase {
Q_OBJECT
public:
      CustomActionImpl();

signals:
      void listChanged(const QStringList&);

protected slots:
      void listViewNames_currentChanged(QListViewItem*);
      void pushButtonNew_clicked();
      void pushButtonRename_clicked();
      void pushButtonRemove_clicked();
      void pushButtonMoveUp_clicked();
      void pushButtonMoveDown_clicked();
      void checkBoxRefreshAfterAction_toggled(bool);
      void checkBoxAskArgs_toggled(bool);
      void textEditAction_textChanged();
      void pushButtonOk_clicked();

private:
      void updateActionList();
      bool getNewName(QString& name, const QString& caption);
      void loadAction(const QString& name);
      void removeAction(const QString& name);

      QStringList actionList;
      QString curAction;
};

#endif


Generated by  Doxygen 1.6.0   Back to index