From 3fdfa9f967fea9f34ed4c7d65d88d5904b078064 Mon Sep 17 00:00:00 2001 From: defnax Date: Mon, 23 Nov 2009 20:25:46 +0000 Subject: [PATCH] removed not needed git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1841 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- .../src/gui/filehash/FileHashDialog.cpp | 63 ---- .../src/gui/filehash/FileHashDialog.h | 66 ---- .../src/gui/filehash/FileHashDialog.ui | 332 ------------------ 3 files changed, 461 deletions(-) delete mode 100644 retroshare-gui/src/gui/filehash/FileHashDialog.cpp delete mode 100644 retroshare-gui/src/gui/filehash/FileHashDialog.h delete mode 100644 retroshare-gui/src/gui/filehash/FileHashDialog.ui diff --git a/retroshare-gui/src/gui/filehash/FileHashDialog.cpp b/retroshare-gui/src/gui/filehash/FileHashDialog.cpp deleted file mode 100644 index 10b47fa9b..000000000 --- a/retroshare-gui/src/gui/filehash/FileHashDialog.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************** - * RShare is distributed under the following license: - * - * Copyright (C) 2006, crypton - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - ****************************************************************/ - - - -#include -#include "FileHashDialog.h" - -/* Define the format used for displaying the date and time */ -#define DATETIME_FMT "MMM dd hh:mm:ss" - -/** Default constructor */ -FileHashDialog::FileHashDialog(QWidget *parent, Qt::WFlags flags) - : QMainWindow(parent, flags) -{ - /* Invoke Qt Designer generated QObject setup routine */ - ui.setupUi(this); - - // Create the status bar - statusBar()->showMessage("Please enter a valid file hash"); - - setFixedSize(QSize(313, 134)); - - -} - - -/** - Overloads the default show() */ - -void -FileHashDialog::show() -{ - //loadSettings(); - if(!this->isVisible()) { - QMainWindow::show(); - - } -} - -void FileHashDialog::closeEvent (QCloseEvent * event) -{ - QWidget::closeEvent(event); -} - diff --git a/retroshare-gui/src/gui/filehash/FileHashDialog.h b/retroshare-gui/src/gui/filehash/FileHashDialog.h deleted file mode 100644 index 0ea3dab9e..000000000 --- a/retroshare-gui/src/gui/filehash/FileHashDialog.h +++ /dev/null @@ -1,66 +0,0 @@ -/**************************************************************** - * RShare is distributed under the following license: - * - * Copyright (C) 2006, crypton - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - ****************************************************************/ - - -#ifndef _FILEHASHDIALOG_H -#define _FILEHASHDIALOG_H - -#include - -#include "ui_FileHashDialog.h" - - - -class FileHashDialog : public QMainWindow -{ - Q_OBJECT - -public: - /** Default constructor */ - FileHashDialog(QWidget *parent = 0, Qt::WFlags flags = 0); - /** Default destructor */ - - -public slots: - /** Overloaded QWidget.show */ - void show(); - -protected: - void closeEvent (QCloseEvent * event); - -private slots: - - -private: - - /** Loads the saved connectidialog settings */ -// void loadSettings(); - - - /** A VidaliaSettings object that handles getting/saving settings */ - RshareSettings* _settings; - - /** Qt Designer generated object */ - Ui::FileHashDialog ui; -}; - -#endif - diff --git a/retroshare-gui/src/gui/filehash/FileHashDialog.ui b/retroshare-gui/src/gui/filehash/FileHashDialog.ui deleted file mode 100644 index ad415a5d3..000000000 --- a/retroshare-gui/src/gui/filehash/FileHashDialog.ui +++ /dev/null @@ -1,332 +0,0 @@ - - - - - FileHashDialog - - - - 0 - 0 - 313 - 134 - - - - - - - 16 - 16 - 16 - - - 208 - 208 - 208 - - - 255 - 255 - 255 - - - 247 - 247 - 247 - - - 104 - 104 - 104 - - - 160 - 160 - 160 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 240 - 240 - 240 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 255 - - - 255 - 0 - 255 - - - 247 - 247 - 247 - - - - - 16 - 16 - 16 - - - 208 - 208 - 208 - - - 255 - 255 - 255 - - - 247 - 247 - 247 - - - 104 - 104 - 104 - - - 160 - 160 - 160 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 240 - 240 - 240 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 255 - - - 255 - 0 - 255 - - - 247 - 247 - 247 - - - - - 104 - 104 - 104 - - - 208 - 208 - 208 - - - 255 - 255 - 255 - - - 247 - 247 - 247 - - - 104 - 104 - 104 - - - 160 - 160 - 160 - - - 104 - 104 - 104 - - - 255 - 255 - 255 - - - 104 - 104 - 104 - - - 240 - 240 - 240 - - - 240 - 240 - 240 - - - 0 - 0 - 0 - - - 0 - 0 - 0 - - - 255 - 255 - 255 - - - 0 - 0 - 255 - - - 255 - 0 - 255 - - - 247 - 247 - 247 - - - - - - - Arial - 8 - 50 - false - false - false - false - - - - Qt::NoContextMenu - - - Download - - - :/images/RShare16.png - - - - - - 220 - 80 - 81 - 25 - - - - Download - - - - - - 10 - 10 - 291 - 64 - - - - - - - - - - - -