forked from lubuwest/Friendiqa
v0.1
This commit is contained in:
parent
8d99b55818
commit
7e37546ae9
108 changed files with 6063 additions and 1450 deletions
23
source-android/common/imageselectandroid.h
Normal file
23
source-android/common/imageselectandroid.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#ifndef IMAGEPICKANDROID_H
|
||||
#define IMAGEPICKANDROID_H
|
||||
#include <QObject>
|
||||
#include <QtAndroidExtras>
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
class imageSelectAndroid : public QObject, public QAndroidActivityResultReceiver
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
imageSelectAndroid();
|
||||
static imageSelectAndroid *instance();
|
||||
void searchImage();
|
||||
|
||||
virtual void handleActivityResult(int receiverRequestCode, int resultCode, const QAndroidJniObject & data);
|
||||
|
||||
signals:
|
||||
void imageselected(QString);
|
||||
};
|
||||
|
||||
#endif // IMAGEPICKANDROID_H
|
Loading…
Add table
Add a link
Reference in a new issue