mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
6001db3188
Stegosaurus 1.0 is a tool to perform steganography on 24-bit BMP files. Use this to hide and recover any type of file to and from a selected BMP image, without altering the original size of the image git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1291 b45a01b8-16f6-495d-af2f-9b41ad6348cc
46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
/****************************************************************************
|
|
***************************Author: Agnit Sarkar******************************
|
|
**************************CopyRight: April 2009******************************
|
|
********************* Email: agnitsarkar@yahoo.co.uk*************************
|
|
****************************************************************************/
|
|
#ifndef STEGOSAURUS_H
|
|
#define STEGOSAURUS_H
|
|
|
|
#include <QtGui>
|
|
#include "ui_stegosaurus.h"
|
|
|
|
class StegoSaurus : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
StegoSaurus(QWidget *parent = 0, Qt::WFlags flags = 0);
|
|
~StegoSaurus();
|
|
|
|
protected:
|
|
void dragEnterEvent(QDragEnterEvent *event);
|
|
void dropEvent(QDropEvent *event);
|
|
|
|
private:
|
|
void resizeEvent ( QResizeEvent *);
|
|
Ui::StegoSaurusClass ui;
|
|
QImage *dryImage, *wetImage;
|
|
unsigned int bitsAvailable, inputFileSize, sizeofData;
|
|
|
|
void setDryImage(const QString &);
|
|
void setWetImage(const QString &);
|
|
|
|
private slots:
|
|
|
|
void on_btnWetImg_clicked();
|
|
void on_btnFiletoHide_clicked();
|
|
void on_btnDryImg_clicked();
|
|
|
|
//The hide method
|
|
void on_btnHide_clicked();
|
|
//The recover method
|
|
void on_btnRecover_clicked();
|
|
};
|
|
|
|
#endif // STEGOSAURUS_H
|