{"ref":null,"ref_type":"repository","master_branch":"master","description":"/**  * @author Carlos Enrique Duarte Ortiz <carlosduarte.1@hotmail.com> */  #ifndef DUDEFINES_H #define DUDEFINES_H  #define APPNAME \"DuSQLiteManager\" #define APPVER \"1.0\" #define ORGDOM \"https://www.github.com/Bnaimy/cpp.git\" #define ORGNAME \"GI\"  #endif // DUDEFINES_H ------------------------------------------------------------------------------------------------------ namespace Ui { class DuSqliteManagerEditDataDialog; }  class QSqlTableModel; class QAction;  namespace DuarteCorporation { class DuSqliteManagerEditDataDialog : public QDialog {     Q_OBJECT public:     explicit DuSqliteManagerEditDataDialog(const QString &tableName,                                            QWidget *parent = nullptr);     ~DuSqliteManagerEditDataDialog(); private:     Ui::DuSqliteManagerEditDataDialog *ui;     QSqlTableModel *mModel;     QAction *mActionAppendRow;     QAction *mActionDeleteRow; }; }  #endif ----------------------------------------------------------------------------------------------------------------------------  #ifndef FINDDIALOG_H #define FINDDIALOG_H  #include \"DuSqliteManagerFindReplaceDialog.h\"  namespace DuarteCorporation { class DuSqliteManagerFindDialog : public DuSqliteManagerFindReplaceDialog {     Q_OBJECT public:     DuSqliteManagerFindDialog(QWidget *parent = nullptr);     virtual void writeSettings(QSettings &settings,              const QString &prefix = \"FindDialog\");     virtual void readSettings(QSettings &settings,              const QString &prefix = \"FindDialog\"); }; } // end namespace DuarteCorporation  #endif // FINDDIALOG_H ------------------------------------------------------------------------------------------------- #ifndef FINDREPLACEFORM_H #define FINDREPLACEFORM_H  #include <QWidget> #include <QTextCursor>  namespace Ui { class DuSqliteManagerFindReplaceForm; }  class QTextEdit; class QSettings;  namespace DuarteCorporation { class DuSqliteManagerFindReplaceForm : public QWidget {     Q_OBJECT public:     DuSqliteManagerFindReplaceForm(QWidget *parent = nullptr);     virtual ~DuSqliteManagerFindReplaceForm();     void setTextEdit(QTextEdit *textEdit);     void hideReplaceWidgets();      virtual void writeSettings(QSettings &settings,        const QString &prefix = \"FindReplaceDialog\");      virtual void readSettings(QSettings &settings,        const QString &prefix = \"FindReplaceDialog\"); public slots:     void find(bool down);     void find();      void findNext()     {         find(true);     }      void findPrev()     {         find(false);     }      void replace();     void replaceAll(); protected:     void changeEvent(QEvent *e);     void showError(const QString &error);     void showMessage(const QString &message); protected slots:     void textToFindChanged();     void validateRegExp(const QString &text);     void regexpSelected(bool sel); protected:     Ui::DuSqliteManagerFindReplaceForm *ui;     QTextCursor mTextCursor;     QTextEdit *mTextEdit; }; } // end namespace DuarteCorporation  #endif // FINDREPLACEFORM_H","pusher_type":"user"}
{"actor":{"display_login":"bouterraka"}}