1 /* This file is part of the KDE project 2 3 Copyright (C) 2008 Ningyu Shi <shiningyu@gmail.com> 4 5 This program is free software; you can redistribute it and/or 6 modify it under the terms of the GNU General Public 7 License as published by the Free Software Foundation; either 8 version 2 of the License, or (at your option) any later version. 9 */ 10 11 #ifndef DLG_SCRIPT_EDITING_H 12 #define DLG_SCRIPT_EDITING_H 13 14 #include "ui_dlgscriptediting.h" 15 16 #include <QStringList> 17 18 class DlgScriptEditing : public QDialog 19 { 20 Q_OBJECT 21 22 public: 23 DlgScriptEditing(QWidget *p_parent); 24 DlgScriptEditing(QWidget *p_parent, const QStringList &script); 25 ~DlgScriptEditing(); 26 void init(); 27 QString scriptPath() const; 28 QString scriptUrlRegexp() const; 29 QString scriptDescription() const; 30 private Q_SLOTS: 31 void slotChangeText(); 32 private: 33 Ui::DlgScriptEditing ui; 34 QPushButton *okButton; 35 }; 36 37 #endif // DLG_SCRIPT_EDITING_H 38