RetroShare/retroshare-gui/src/gui/plugins/stegosaurus_plugin/stegosaurus.h
defnax 6001db3188 added StegoSaurus plugin,
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
2009-06-08 12:46:41 +00:00

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