Vagyojaka
5.5.7
Loading...
Searching...
No Matches
git
git.h
Go to the documentation of this file.
1
#ifndef GIT_H
2
#define GIT_H
3
4
#include "qstatusbar.h"
5
#include <QObject>
6
#include <QWidget>
7
#include <git2.h>
8
9
QT_BEGIN_NAMESPACE
10
namespace
Ui
{
11
class
Git
;
12
}
13
QT_END_NAMESPACE
14
15
class
Git
:
public
QWidget
16
{
17
Q_OBJECT
18
public
:
19
explicit
Git
(QWidget *parent =
nullptr
);
20
21
void
init
();
22
void
add
();
23
void
commit
();
24
void
addRemoteUrl
();
25
void
pull
();
26
void
push
();
27
~Git
();
28
29
30
signals:
31
32
private
:
33
git_repository *
repo
=
nullptr
;
34
QString
repoPath
;
35
QStatusBar *
statusBar
=
nullptr
;
36
Ui::Git *
ui
;
37
bool
doesRepositoryExist
(
const
char
* path);
38
};
39
40
#endif
// GIT_H
Git
Definition
git.h:16
Git::repoPath
QString repoPath
Definition
git.h:34
Git::push
void push()
Definition
git.cpp:273
Git::commit
void commit()
Definition
git.cpp:119
Git::Git
Git(QWidget *parent=nullptr)
Definition
git.cpp:31
Git::add
void add()
Definition
git.cpp:78
Git::~Git
~Git()
Definition
git.cpp:538
Git::statusBar
QStatusBar * statusBar
Definition
git.h:35
Git::repo
git_repository * repo
Definition
git.h:33
Git::ui
Ui::Git * ui
Definition
git.h:36
Git::addRemoteUrl
void addRemoteUrl()
Definition
git.cpp:232
Git::doesRepositoryExist
bool doesRepositoryExist(const char *path)
Definition
git.cpp:545
Git::init
void init()
Definition
git.cpp:42
Git::pull
void pull()
Definition
git.cpp:326
Ui
Definition
about.h:6
Generated by
1.12.0