fixed license in util/ lang/ and idle/

This commit is contained in:
csoler 2018-12-27 14:39:10 +01:00
parent b9a182cb53
commit bc3a71d3f5
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C
58 changed files with 1280 additions and 1287 deletions

View File

@ -1,22 +1,22 @@
/* /*******************************************************************************
* idle.cpp - detect desktop idle time * idle/idle.h *
* Copyright (C) 2003 Justin Karneges * *
* * Copyright (C) 2003 Justin Karneges <retroshare.project@gmail.com> *
* This library is free software; you can redistribute it and/or * *
* modify it under the terms of the GNU Lesser General Public * This program is free software: you can redistribute it and/or modify *
* License as published by the Free Software Foundation; either * it under the terms of the GNU Affero General Public License as *
* version 2.1 of the License, or (at your option) any later version. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Lesser General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* * *
*/ *******************************************************************************/
#include "idle.h" #include "idle.h"

View File

@ -1,22 +1,22 @@
/* /*******************************************************************************
* idle.h - detect desktop idle time * idle/idle.h *
* Copyright (C) 2003 Justin Karneges * *
* * Copyright (C) 2003 Justin Karneges <retroshare.project@gmail.com> *
* This library is free software; you can redistribute it and/or * *
* modify it under the terms of the GNU Lesser General Public * This program is free software: you can redistribute it and/or modify *
* License as published by the Free Software Foundation; either * it under the terms of the GNU Affero General Public License as *
* version 2.1 of the License, or (at your option) any later version. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Lesser General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* * *
*/ *******************************************************************************/
#ifndef IDLE_H #ifndef IDLE_H
#define IDLE_H #define IDLE_H

View File

@ -1,22 +1,22 @@
/* /*******************************************************************************
* idle_x11.cpp - detect desktop idle time * idle/idle.cpp *
* Copyright (C) 2003 Justin Karneges * *
* * Copyright (C) 2003 Justin Karneges <retroshare.project@gmail.com> *
* This library is free software; you can redistribute it and/or * *
* modify it under the terms of the GNU Lesser General Public * This program is free software: you can redistribute it and/or modify *
* License as published by the Free Software Foundation; either * it under the terms of the GNU Affero General Public License as *
* version 2.1 of the License, or (at your option) any later version. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Lesser General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Lesser General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* * *
*/ *******************************************************************************/
#include "idle.h" #include "idle.h"

View File

@ -1,24 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * lang/languagesupport.cpp *
* * *
* Copyright (c) 2006-2007, crypton * Copyright (c) 2006-2007, crypton <retroshare.project@gmail.com> *
* Copyright (c) 2006, Matt Edman, Justin Hipple * Copyright (c) 2006, Matt Edman, Justin Hipple *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include <QTranslator> #include <QTranslator>
#include <QLocale> #include <QLocale>

View File

@ -1,24 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * lang/languagesupport.cpp *
* * *
* Copyright (c) 2006-2007, crypton * Copyright (c) 2006-2007, crypton <retroshare.project@gmail.com> *
* Copyright (c) 2006, Matt Edman, Justin Hipple * Copyright (c) 2006, Matt Edman, Justin Hipple *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef _LANGUAGESUPPORT_H #ifndef _LANGUAGESUPPORT_H
#define _LANGUAGESUPPORT_H #define _LANGUAGESUPPORT_H

View File

@ -410,7 +410,7 @@ HEADERS += rshare.h \
util/dllexport.h \ util/dllexport.h \
util/global.h \ util/global.h \
util/rsqtutildll.h \ util/rsqtutildll.h \
util/Interface.h \ # util/Interface.h \
util/PixmapMerging.h \ util/PixmapMerging.h \
util/MouseEventFilter.h \ util/MouseEventFilter.h \
util/EventFilter.h \ util/EventFilter.h \
@ -770,7 +770,7 @@ SOURCES += main.cpp \
util/DateTime.cpp \ util/DateTime.cpp \
util/RetroStyleLabel.cpp \ util/RetroStyleLabel.cpp \
util/WidgetBackgroundImage.cpp \ util/WidgetBackgroundImage.cpp \
util/NonCopyable.cpp \ # util/NonCopyable.cpp \
util/PixmapMerging.cpp \ util/PixmapMerging.cpp \
util/MouseEventFilter.cpp \ util/MouseEventFilter.cpp \
util/EventFilter.cpp \ util/EventFilter.cpp \

View File

@ -1,24 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * retroshare-gui/configpage.h *
* * *
* Copyright (c) 2006-2007, crypton * Copyright (c) 2006-2007, crypton <retroshare.project@gmail.com> *
* Copyright (c) 2006, Matt Edman, Justin Hipple * Copyright (c) 2006, Matt Edman, Justin Hipple *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef _CONFIGPAGE_H #ifndef _CONFIGPAGE_H
#define _CONFIGPAGE_H #define _CONFIGPAGE_H

View File

@ -1,24 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * retroshare-gui/mainpage.h *
* * *
* Copyright (c) 2006-2007, crypton * Copyright (c) 2006-2007, crypton <retroshare.project@gmail.com> *
* Copyright (c) 2006, Matt Edman, Justin Hipple * Copyright (c) 2006, Matt Edman, Justin Hipple *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef _MAINPAGE_H #ifndef _MAINPAGE_H
#define _MAINPAGE_H #define _MAINPAGE_H

View File

@ -1,26 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * rshare.h *
* * *
* Copyright (c) 2006-2007, crypton * Copyright (c) 2006 Crypton <retroshare.project@gmail.com> *
* Copyright (c) 2006, Matt Edman, Justin Hipple * Copyright (c) 2006, Matt Edman, Justin Hipple *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef _RSHARE_H #ifndef _RSHARE_H
#define _RSHARE_H #define _RSHARE_H

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/DateTime.cpp *
* * *
* Copyright (c) 2012, RetroShare Team * Copyright (c) 2012 Retroshare Team <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include <QDateTime> #include <QDateTime>

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/DateTime.h *
* * *
* Copyright (c) 20120, RetroShare Team * Copyright (c) 2012 Retroshare Team <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef _DATETIME_H #ifndef _DATETIME_H
#define _DATETIME_H #define _DATETIME_H

View File

@ -1,37 +1,36 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/EventFilter.cpp *
* * *
* Copyright (C) 2006, 2007 crypton * Copyright (C) 2006, 2007 crypton <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include <util/EventFilter.h>
#include <util/EventFilter.h>
#include <QEvent>
#include <QEvent>
EventFilter::EventFilter(QObject * receiver, const char * member)
EventFilter::EventFilter(QObject * receiver, const char * member) : QObject() {
: QObject() { connect(this, SIGNAL(activate(QEvent *)), receiver, member);
connect(this, SIGNAL(activate(QEvent *)), receiver, member); }
}
void EventFilter::filter(QEvent * event) {
void EventFilter::filter(QEvent * event) { activate(event);
activate(event); }
}
bool EventFilter::eventFilter(QObject * watched, QEvent * event) {
bool EventFilter::eventFilter(QObject * watched, QEvent * event) { return QObject::eventFilter(watched, event);
return QObject::eventFilter(watched, event); }
}

View File

@ -1,84 +1,83 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/EventFilter.h *
* *
* Copyright (C) 2006, 2007 crypton <retroshare.project@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef EVENTFILTER_H
#define EVENTFILTER_H
#include <util/rsqtutildll.h>
#include <util/NonCopyable.h>
#include <QObject>
class QEvent;
/**
* EventFilter for QObject.
* *
* Copyright (C) 2006, 2007 crypton * Permits to make some special actions on Qt events.
* Example:
* <code>
* QMainWindow * widget = new QMainWindow();
* CloseEventFilter * closeFilter = new CloseEventFilter(this, SLOT(printHelloWorld()));
* ResizeEventFilter * resizeFilter = new ResizeEventFilter(this, SLOT(printHelloWorld()));
* widget->installEventFilter(closeFilter);
* widget->installEventFilter(resizeFilter);
* </code>
* *
* 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 class RSQTUTIL_API EventFilter : public QObject, NonCopyable {
* of the License, or (at your option) any later version. Q_OBJECT
* public:
* 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 * Filters an event.
* GNU General Public License for more details. *
* * @param receiver object receiver of the filter signal
* You should have received a copy of the GNU General Public License * @param member member of the object called by the filter signal
* along with this program; if not, write to the Free Software * @param watched watched object the filter is going to be applied on
* Foundation, Inc., 51 Franklin Street, Fifth Floor, */
* Boston, MA 02110-1301, USA. EventFilter(QObject * receiver, const char * member);
****************************************************************/
protected:
#ifndef EVENTFILTER_H
#define EVENTFILTER_H /**
* Emits the filter signal.
#include <util/rsqtutildll.h> *
* @param event event filtered
#include <util/NonCopyable.h> */
void filter(QEvent * event);
#include <QObject>
/**
class QEvent; * Filters the event.
*
/** * @param watched watched object
* EventFilter for QObject. * @param event event filtered of the watched object
* * @return true then stops the event being handled further
* Permits to make some special actions on Qt events. */
* Example: virtual bool eventFilter(QObject * watched, QEvent * event);
* <code>
* QMainWindow * widget = new QMainWindow(); Q_SIGNALS:
* CloseEventFilter * closeFilter = new CloseEventFilter(this, SLOT(printHelloWorld()));
* ResizeEventFilter * resizeFilter = new ResizeEventFilter(this, SLOT(printHelloWorld())); void activate(QEvent * event);
* widget->installEventFilter(closeFilter); };
* widget->installEventFilter(resizeFilter);
* </code> #endif //EVENTFILTER_H
*
*
*/
class RSQTUTIL_API EventFilter : public QObject, NonCopyable {
Q_OBJECT
public:
/**
* Filters an event.
*
* @param receiver object receiver of the filter signal
* @param member member of the object called by the filter signal
* @param watched watched object the filter is going to be applied on
*/
EventFilter(QObject * receiver, const char * member);
protected:
/**
* Emits the filter signal.
*
* @param event event filtered
*/
void filter(QEvent * event);
/**
* Filters the event.
*
* @param watched watched object
* @param event event filtered of the watched object
* @return true then stops the event being handled further
*/
virtual bool eventFilter(QObject * watched, QEvent * event);
Q_SIGNALS:
void activate(QEvent * event);
};
#endif //EVENTFILTER_H

View File

@ -1,27 +1,22 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/HandleRichText.cpp *
* * *
* Copyright (c) 2010, Thomas Kister * Copyright (c) 2010 Thomas Kister <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
*
* ccr . 2016 Jan 30 . Change regular expression(s) for identifying
* . . hotlinks in feral text.
*
****************************************************************/
#include <QApplication> #include <QApplication>
#include <QTextBrowser> #include <QTextBrowser>

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/HandleRichText.h *
* * *
* Copyright (c) 2010, Thomas Kister * Copyright (c) 2010 Thomas Kister <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include <gui/common/RSTextBrowser.h> #include <gui/common/RSTextBrowser.h>

View File

@ -1,37 +0,0 @@
/****************************************************************
* RetroShare is distributed under the following license:
*
* Copyright (C) 2006,2007 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 INTERFACE_H
#define INTERFACE_H
#include <util/NonCopyable.h>
/**
*
*
*/
class Interface : NonCopyable {
public:
virtual ~Interface() { }
};
#endif //INTERFACE_H

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/MouseEventFilter.cpp *
* * *
* Copyright (C) 2006, 2007 crypton * Copyright (c) 2006, Crypton <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include <util/MouseEventFilter.h> #include <util/MouseEventFilter.h>

View File

@ -1,110 +1,109 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/MouseEventFilter.h *
* *
* Copyright (c) 2006, Crypton <retroshare.project@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef MOUSEEVENTFILTER_H
#define MOUSEEVENTFILTER_H
#include <util/EventFilter.h>
/**
* Catch MouseMove event.
* *
* Copyright (C) 2006, 2007 crypton *
*/
class RSQTUTIL_API MouseMoveEventFilter : public EventFilter {
public:
MouseMoveEventFilter(QObject * receiver, const char * member);
private:
virtual bool eventFilter(QObject * watched, QEvent * event);
};
/**
* Catch MouseButtonPress event.
* *
* 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 class RSQTUTIL_API MousePressEventFilter : public EventFilter {
* of the License, or (at your option) any later version. public:
MousePressEventFilter(QObject * receiver, const char * member, Qt::MouseButton button = Qt::NoButton);
private:
virtual bool eventFilter(QObject * watched, QEvent * event);
Qt::MouseButton _button;
};
/**
* Catch MouseButtonRelease event.
* *
* 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 class RSQTUTIL_API MouseReleaseEventFilter : public EventFilter {
* GNU General Public License for more details. public:
MouseReleaseEventFilter(QObject * receiver, const char * member, Qt::MouseButton button = Qt::NoButton);
private:
virtual bool eventFilter(QObject * watched, QEvent * event);
Qt::MouseButton _button;
};
/**
* Catch HoverEnter event.
* *
* 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, class RSQTUTIL_API MouseHoverEnterEventFilter : public EventFilter {
* Boston, MA 02110-1301, USA. public:
****************************************************************/
MouseHoverEnterEventFilter(QObject * receiver, const char * member);
#ifndef MOUSEEVENTFILTER_H
#define MOUSEEVENTFILTER_H private:
#include <util/EventFilter.h> virtual bool eventFilter(QObject * watched, QEvent * event);
};
/**
* Catch MouseMove event.
* /**
* * Catch HoverLeave event.
*/ *
class RSQTUTIL_API MouseMoveEventFilter : public EventFilter { *
public: */
class RSQTUTIL_API MouseHoverLeaveEventFilter : public EventFilter {
MouseMoveEventFilter(QObject * receiver, const char * member); public:
private: MouseHoverLeaveEventFilter(QObject * receiver, const char * member);
virtual bool eventFilter(QObject * watched, QEvent * event); private:
};
virtual bool eventFilter(QObject * watched, QEvent * event);
};
/**
* Catch MouseButtonPress event. #endif //MOUSEEVENTFILTER_H
*
*
*/
class RSQTUTIL_API MousePressEventFilter : public EventFilter {
public:
MousePressEventFilter(QObject * receiver, const char * member, Qt::MouseButton button = Qt::NoButton);
private:
virtual bool eventFilter(QObject * watched, QEvent * event);
Qt::MouseButton _button;
};
/**
* Catch MouseButtonRelease event.
*
*
*/
class RSQTUTIL_API MouseReleaseEventFilter : public EventFilter {
public:
MouseReleaseEventFilter(QObject * receiver, const char * member, Qt::MouseButton button = Qt::NoButton);
private:
virtual bool eventFilter(QObject * watched, QEvent * event);
Qt::MouseButton _button;
};
/**
* Catch HoverEnter event.
*
*
*/
class RSQTUTIL_API MouseHoverEnterEventFilter : public EventFilter {
public:
MouseHoverEnterEventFilter(QObject * receiver, const char * member);
private:
virtual bool eventFilter(QObject * watched, QEvent * event);
};
/**
* Catch HoverLeave event.
*
*
*/
class RSQTUTIL_API MouseHoverLeaveEventFilter : public EventFilter {
public:
MouseHoverLeaveEventFilter(QObject * receiver, const char * member);
private:
virtual bool eventFilter(QObject * watched, QEvent * event);
};
#endif //MOUSEEVENTFILTER_H

View File

@ -1,28 +0,0 @@
/****************************************************************
* RetroShare is distributed under the following license:
*
* Copyright (C) 2006,2007 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 <util/NonCopyable.h>
NonCopyable::NonCopyable() {
}
NonCopyable::~NonCopyable() {
}

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/NonCopyable.h *
* * *
* Copyright (C) 2006,2007 crypton * Copyright (c) 2006, Crypton <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef NONCOPYABLE_H #ifndef NONCOPYABLE_H
#define NONCOPYABLE_H #define NONCOPYABLE_H
@ -43,9 +42,9 @@
class NonCopyable { class NonCopyable {
protected: protected:
RSUTIL_API NonCopyable(); RSUTIL_API NonCopyable() {}
RSUTIL_API ~NonCopyable(); RSUTIL_API ~NonCopyable() {}
private: private:

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/ObjectPainter.cpp *
* * *
* Copyright (C) 2012, RetroShare Team * Copyright (c) 2012 Retroshare Team <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include <QPushButton> #include <QPushButton>
#include <QStyleOption> #include <QStyleOption>

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/ObjectPainter.h *
* * *
* Copyright (C) 2012, RetroShare Team * Copyright (c) 2012 Retroshare Team <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef OBJECTPAINTER_H #ifndef OBJECTPAINTER_H
#define OBJECTPAINTER_H #define OBJECTPAINTER_H

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/PixmapMerging.cpp *
* * *
* Copyright (C) 2006,2007 crypton * Copyright (c) 2012 Crypton <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include <util/PixmapMerging.h> #include <util/PixmapMerging.h>

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/PixmapMerging.h *
* * *
* Copyright (C) 2006,2007 crypton * Copyright (c) 2012 Crypton <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef PIXMAPMERGING_H #ifndef PIXMAPMERGING_H
#define PIXMAPMERGING_H #define PIXMAPMERGING_H

View File

@ -1,23 +1,23 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/RetroStyleLabel.cpp *
* * *
* Copyright (C) 2006,2007 crypton * Copyright (c) 2006-2007, crypton *
* * Copyright (c) 2006, Matt Edman, Justin Hipple *
* This program is free software; you can redistribute it and/or * *
* modify it under the terms of the GNU General Public License * This program is free software: you can redistribute it and/or modify *
* as published by the Free Software Foundation; either version 2 * it under the terms of the GNU Affero General Public License as *
* of the License, or (at your option) any later version. * published by the Free Software Foundation, either version 3 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 * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* GNU General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero 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 * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Boston, MA 02110-1301, USA. * *
****************************************************************/ *******************************************************************************/
#include <util/RetroStyleLabel.h> #include <util/RetroStyleLabel.h>

View File

@ -1,23 +1,23 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/RetroStyleLabel.h *
* * *
* Copyright (C) 2006,2007 crypton * Copyright (c) 2006-2007, crypton *
* * Copyright (c) 2006, Matt Edman, Justin Hipple *
* This program is free software; you can redistribute it and/or * *
* modify it under the terms of the GNU General Public License * This program is free software: you can redistribute it and/or modify *
* as published by the Free Software Foundation; either version 2 * it under the terms of the GNU Affero General Public License as *
* of the License, or (at your option) any later version. * published by the Free Software Foundation, either version 3 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 * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* GNU General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero 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 * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Boston, MA 02110-1301, USA. * *
****************************************************************/ *******************************************************************************/
#ifndef RETROSTYLELABEL_H #ifndef RETROSTYLELABEL_H
#define RETROSTYLELABEL_H #define RETROSTYLELABEL_H

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/RsAction.cpp *
* * *
* Copyright (C) 2007 DrBob * Copyright (c) 2007 DrBob <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include "util/RsAction.h" #include "util/RsAction.h"

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/RsAction.h *
* * *
* Copyright (C) 2007 drbob * Copyright (c) 2007 DrBob <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef RETRO_ACTION_H #ifndef RETRO_ACTION_H
#define RETRO_ACTION_H #define RETRO_ACTION_H

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/RsFile.cpp *
* * *
* Copyright (c) 2014, RetroShare Team * Copyright (c) 2014 Retroshare Team <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include "RsFile.h" #include "RsFile.h"

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/RsFile.h *
* * *
* Copyright (c) 2014, RetroShare Team * Copyright (c) 2014 Retroshare Team <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef _RSFILE_H #ifndef _RSFILE_H
#define _RSFILE_H #define _RSFILE_H

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* util/RsGxsUpdateBroadcast.cpp *
* *
* Copyright (c) 2014 Retroshare Team <retroshare.project@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#include <QMap> #include <QMap>
#include "RsGxsUpdateBroadcast.h" #include "RsGxsUpdateBroadcast.h"

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* util/RsGxsUpdateBroadcast.h *
* *
* Copyright (c) 2014 Retroshare Team <retroshare.project@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef RSGXSUPDATEBROADCAST_H #ifndef RSGXSUPDATEBROADCAST_H
#define RSGXSUPDATEBROADCAST_H #define RSGXSUPDATEBROADCAST_H

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/RsNetUtil.cpp *
* * *
* Copyright (c) 2015, RetroShare Team * Copyright (c) 2014 Retroshare Team <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include <QCoreApplication> #include <QCoreApplication>
#include <QStringList> #include <QStringList>

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/RsNetUtil.h *
* * *
* Copyright (c) 2015, RetroShare Team * Copyright (c) 2014 Retroshare Team <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef _RSNETUTIL_H #ifndef _RSNETUTIL_H
#define _RSNETUTIL_H #define _RSNETUTIL_H

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/RsProtectedTimer.cpp *
* * *
* Copyright (C) 2013 Cyril Soler * Copyright (c) 2013 Cyril Soler <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include <retroshare-gui/RsAutoUpdatePage.h> #include <retroshare-gui/RsAutoUpdatePage.h>
#include <iostream> #include <iostream>

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/RsProtectedTimer.h *
* * *
* Copyright (C) 2013 Cyril Soler * Copyright (c) 2013 Cyril Soler <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#pragma once #pragma once

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* util/RsSyntaxHighlighter.cpp *
* *
* Copyright (c) 2014 Retroshare Team <retroshare.project@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#include "RsSyntaxHighlighter.h" #include "RsSyntaxHighlighter.h"
RsSyntaxHighlighter::RsSyntaxHighlighter(QTextEdit *parent) RsSyntaxHighlighter::RsSyntaxHighlighter(QTextEdit *parent)

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* util/RsSyntaxHighlighter.h *
* *
* Copyright (c) 2014 Retroshare Team <retroshare.project@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef RSSYNTAXHIGHLIGHTER_H #ifndef RSSYNTAXHIGHLIGHTER_H
#define RSSYNTAXHIGHLIGHTER_H #define RSSYNTAXHIGHLIGHTER_H

View File

@ -1,25 +1,22 @@
/* /*******************************************************************************
* Token Queue. * util/TokenQueue.cpp *
* * *
* Copyright 2012-2012 by Robert Fernie. * Copyright (c) 2012 Robert Fernie <retroshare.project@gmail.com> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Affero General Public License as *
* License Version 2.1 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Affero General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Affero General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "util/TokenQueue.h" #include "util/TokenQueue.h"
#include "util/RsProtectedTimer.h" #include "util/RsProtectedTimer.h"

View File

@ -1,25 +1,23 @@
/* /*******************************************************************************
* Token Queue. * util/TokenQueue.h *
* * *
* Copyright 2012-2012 by Robert Fernie, Christopher Evi-Parker * Copyright (c) 2012 Robert Fernie <retroshare.project@gmail.com> *
* * Copyright (c) 2012 Christopher Evi-Parker *
* This library is free software; you can redistribute it and/or * *
* modify it under the terms of the GNU Library General Public * This program is free software: you can redistribute it and/or modify *
* License Version 2.1 as published by the Free Software Foundation. * it under the terms of the GNU Affero General Public License as *
* * published by the Free Software Foundation, either version 3 of the *
* This library is distributed in the hope that it will be useful, * License, or (at your option) any later version. *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * This program is distributed in the hope that it will be useful, *
* Library General Public License for more details. * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* You should have received a copy of the GNU Library General Public * GNU Affero General Public License for more details. *
* License along with this library; if not, write to the Free Software * *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * You should have received a copy of the GNU Affero General Public License *
* USA. * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* * *
* Please report all bugs and problems to "retroshare@lunamutt.com". *******************************************************************************/
*
*/
#ifndef MRK_TOKEN_QUEUE_V2_H #ifndef MRK_TOKEN_QUEUE_V2_H
#define MRK_TOKEN_QUEUE_V2_H #define MRK_TOKEN_QUEUE_V2_H

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/Widget.cpp *
* * *
* Copyright (C) 2006, 2007 crypton * Copyright (c) 2006 Crypton <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include <util/Widget.h> #include <util/Widget.h>

View File

@ -1,58 +1,57 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/Widget.cpp *
* *
* Copyright (c) 2006 Crypton <retroshare.project@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef RSWIDGET_H
#define RSWIDGET_H
#include <util/rsqtutildll.h>
#include <util/NonCopyable.h>
class QWidget;
class QGridLayout;
class QDialog;
/**
* Helper functions for QWidget.
* *
* Copyright (C) 2006, 2007 crypton *
* */
* This program is free software; you can redistribute it and/or class Widget : NonCopyable {
* modify it under the terms of the GNU General Public License public:
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version. /**
* * Creates a QGridLayout inside a widget.
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * @param parent QWidget where to create the layout
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * @return QGridLayout
* GNU General Public License for more details. */
* RSQTUTIL_API static QGridLayout * createLayout(QWidget * parent);
* 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, * Transforms a QWidget into a QDialog.
* Boston, MA 02110-1301, USA. *
****************************************************************/ * @param widget QWidget to transform into a QDialog
* @return the QDialog created
#ifndef RSWIDGET_H */
#define RSWIDGET_H RSQTUTIL_API static QDialog * transformToWindow(QWidget * widget);
};
#include <util/rsqtutildll.h>
#endif //RSWIDGET_H
#include <util/NonCopyable.h>
class QWidget;
class QGridLayout;
class QDialog;
/**
* Helper functions for QWidget.
*
*
*/
class Widget : NonCopyable {
public:
/**
* Creates a QGridLayout inside a widget.
*
* @param parent QWidget where to create the layout
* @return QGridLayout
*/
RSQTUTIL_API static QGridLayout * createLayout(QWidget * parent);
/**
* Transforms a QWidget into a QDialog.
*
* @param widget QWidget to transform into a QDialog
* @return the QDialog created
*/
RSQTUTIL_API static QDialog * transformToWindow(QWidget * widget);
};
#endif //RSWIDGET_H

View File

@ -1,25 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/framecatcher.cpp *
* * *
* Copyright (c) 2006 Raul E. * Copyright (c) 2006 Raul E. *
* Copyright (c) 2010 Chris Evi-Parker * Copyright (c) 2010 Chris Evi-Parker <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * *
* *******************************************************************************/
*************************************************************************/
#include "framecatcher.h" #include "framecatcher.h"

View File

@ -1,3 +1,24 @@
/*******************************************************************************
* util/framecatcher.h *
* *
* Copyright (c) 2006 Raul E. *
* Copyright (c) 2010 Chris Evi-Parker <retroshare.project@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef FILEFUNCTIONS_H #ifndef FILEFUNCTIONS_H
#define FILEFUNCTIONS_H #define FILEFUNCTIONS_H

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* util/imageutil.cpp *
* *
* Copyright (c) 2010 Retroshare Team <retroshare.project@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#include "imageutil.h" #include "imageutil.h"
#include "util/misc.h" #include "util/misc.h"
#include "util/rstime.h" #include "util/rstime.h"

View File

@ -1,3 +1,23 @@
/*******************************************************************************
* util/imageutil.h *
* *
* Copyright (c) 2010 Retroshare Team <retroshare.project@gmail.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef IMAGEUTIL_H #ifndef IMAGEUTIL_H
#define IMAGEUTIL_H #define IMAGEUTIL_H

View File

@ -1,24 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/log.h *
* * *
* Copyright (c) 2008, crypton * Copyright (c) 2006-2007, crypton <retroshare.project@gmail.com> *
* Copyright (c) 2008, Matt Edman, Justin Hipple * Copyright (c) 2006, Matt Edman, Justin Hipple *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#include <QDateTime> #include <QDateTime>
#include <QTextStream> #include <QTextStream>

View File

@ -1,24 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/log.h *
* * *
* Copyright (c) 2006-2007, crypton * Copyright (c) 2006-2007, crypton <retroshare.project@gmail.com> *
* Copyright (c) 2006, Matt Edman, Justin Hipple * Copyright (c) 2006, Matt Edman, Justin Hipple *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef _LOG_H #ifndef _LOG_H
#define _LOG_H #define _LOG_H

View File

@ -1,24 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/misc.cpp *
* * *
* Copyright (c) 2008, defnax * Copyright (c) 2008, defnax <retroshare.project@gmail.com> *
* Copyright (C) 2006 Christophe Dumez * Copyright (C) 2006 Christophe Dumez *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * *
* *******************************************************************************/
*************************************************************************/
#include <QString> #include <QString>
#include <QDir> #include <QDir>

View File

@ -1,24 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/misc.h *
* * *
* Copyright (c) 2008, defnax * Copyright (c) 2008, defnax <retroshare.project@gmail.com> *
* Copyright (C) 2006 Christophe Dumez * Copyright (C) 2006 Christophe Dumez *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * *
* *******************************************************************************/
*************************************************************************/
#ifndef MISC_H #ifndef MISC_H
#define MISC_H #define MISC_H

View File

@ -1,40 +1,22 @@
/**************************************************************************** /*******************************************************************************
** * util/printpreview.cpp *
** Copyright (C) 2004-2007 Trolltech ASA. All rights reserved. * *
** * Copyright (C) 2004-2007 Trolltech ASA. All rights reserved. *
** This file is part of the demonstration applications of the Qt Toolkit. * *
** * This program is free software: you can redistribute it and/or modify *
** This file may be used under the terms of the GNU General Public * it under the terms of the GNU Affero General Public License as *
** License version 2.0 as published by the Free Software Foundation * published by the Free Software Foundation, either version 3 of the *
** and appearing in the file LICENSE.GPL included in the packaging of * License, or (at your option) any later version. *
** this file. Please review the following information to ensure GNU * *
** General Public Licensing requirements will be met: * This program is distributed in the hope that it will be useful, *
** http://trolltech.com/products/qt/licenses/licensing/opensource/ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
** * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
** If you are unsure which license is appropriate for your use, please * GNU Affero General Public License for more details. *
** review the following information: * *
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview * You should have received a copy of the GNU Affero General Public License *
** or contact the sales department at sales@trolltech.com. * along with this program. If not, see <https://www.gnu.org/licenses/>. *
** * *
** In addition, as a special exception, Trolltech gives you certain *******************************************************************************/
** additional rights. These rights are described in the Trolltech GPL
** Exception version 1.0, which can be found at
** http://www.trolltech.com/products/qt/gplexception/ and in the file
** GPL_EXCEPTION.txt in this package.
**
** In addition, as a special exception, Trolltech, as the sole copyright
** holder for Qt Designer, grants users of the Qt/Eclipse Integration
** plug-in the right for the Qt/Eclipse Integration to link to
** functionality provided by Qt Designer and its related libraries.
**
** Trolltech reserves all rights not expressly granted herein.
**
** Trolltech ASA (c) 2007
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/
#include "printpreview.h" #include "printpreview.h"

View File

@ -1,40 +1,24 @@
/**************************************************************************** /*******************************************************************************
** * util/printpreview.h *
** Copyright (C) 2004-2007 Trolltech ASA. All rights reserved. * *
** * Copyright (C) 2004-2007 Trolltech ASA. All rights reserved. *
** This file is part of the demonstration applications of the Qt Toolkit. * *
** * This program is free software: you can redistribute it and/or modify *
** This file may be used under the terms of the GNU General Public * it under the terms of the GNU Affero General Public License as *
** License version 2.0 as published by the Free Software Foundation * published by the Free Software Foundation, either version 3 of the *
** and appearing in the file LICENSE.GPL included in the packaging of * License, or (at your option) any later version. *
** this file. Please review the following information to ensure GNU * *
** General Public Licensing requirements will be met: * This program is distributed in the hope that it will be useful, *
** http://trolltech.com/products/qt/licenses/licensing/opensource/ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
** * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
** If you are unsure which license is appropriate for your use, please * GNU Affero General Public License for more details. *
** review the following information: * *
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview * You should have received a copy of the GNU Affero General Public License *
** or contact the sales department at sales@trolltech.com. * along with this program. If not, see <https://www.gnu.org/licenses/>. *
** * *
** In addition, as a special exception, Trolltech gives you certain *******************************************************************************/
** additional rights. These rights are described in the Trolltech GPL
** Exception version 1.0, which can be found at // This file is inspired from the demonstration applications of the Qt Toolkit.
** http://www.trolltech.com/products/qt/gplexception/ and in the file
** GPL_EXCEPTION.txt in this package.
**
** In addition, as a special exception, Trolltech, as the sole copyright
** holder for Qt Designer, grants users of the Qt/Eclipse Integration
** plug-in the right for the Qt/Eclipse Integration to link to
** functionality provided by Qt Designer and its related libraries.
**
** Trolltech reserves all rights not expressly granted herein.
**
** Trolltech ASA (c) 2007
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/
#ifndef PRINTPREVIEW_H #ifndef PRINTPREVIEW_H
#define PRINTPREVIEW_H #define PRINTPREVIEW_H

View File

@ -1,24 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/retroshareWin32.cpp *
* * *
* Copyright (c) 2006-2007, crypton * Copyright (c) 2006-2007, crypton *
* Copyright (c) 2006, Matt Edman, Justin Hipple * Copyright (c) 2006, Matt Edman, Justin Hipple *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifdef WIN32 #ifdef WIN32

View File

@ -1,25 +1,25 @@
/*******************************************************************************
* util/retroshareWin32.h *
* *
* Copyright (c) 2006-2007, crypton *
* Copyright (c) 2006, Matt Edman, Justin Hipple *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Affero General Public License as *
* published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. *
* *
* You should have received a copy of the GNU Affero General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/****************************************************************
* This file is distributed under the following license:
*
* Copyright (c) 2006-2007, crypton
* Copyright (c) 2006, Matt Edman, Justin Hipple
*
* 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 <QHash> #include <QHash>
#include <QString> #include <QString>

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/rsqtutidll.h *
* * *
* Copyright (C) 2006, crypton * Copyright (c) 2006 Crypton <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef RSQTUTILDLL_H #ifndef RSQTUTILDLL_H
#define RSQTUTILDLL_H #define RSQTUTILDLL_H

View File

@ -1,23 +1,22 @@
/**************************************************************** /*******************************************************************************
* RetroShare is distributed under the following license: * util/rsutildll.h *
* * *
* Copyright (C) 2006,2007 crypton * Copyright (c) 2006 Crypton <retroshare.project@gmail.com> *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
#ifndef RSUTILDLL_H #ifndef RSUTILDLL_H
#define RSUTILDLL_H #define RSUTILDLL_H

View File

@ -1,24 +1,23 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/stringutil.cpp *
* * *
* Copyright (c) 2008, crypton * Copyright (c) 2008, crypton <retroshare.project@gmail.com> *
* Copyright (c) 2008, Matt Edman, Justin Hipple * Copyright (c) 2008, Matt Edman, Justin Hipple *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
/* /*
** \file stringutil.cpp ** \file stringutil.cpp

View File

@ -1,24 +1,24 @@
/**************************************************************** /*******************************************************************************
* This file is distributed under the following license: * util/stringutil.h *
* * *
* Copyright (c) 2008, crypton * Copyright (c) 2008, crypton <retroshare.project@gmail.com> *
* Copyright (c) 2008, Matt Edman, Justin Hipple * Copyright (c) 2008, Matt Edman, Justin Hipple *
* * *
* This program is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU General Public License * it under the terms of the GNU Affero General Public License as *
* as published by the Free Software Foundation; either version 2 * published by the Free Software Foundation, either version 3 of the *
* of the License, or (at your option) any later version. * License, or (at your option) any later version. *
* * *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. * GNU Affero General Public License for more details. *
* * *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU Affero General Public License *
* along with this program; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, * *
* Boston, MA 02110-1301, USA. *******************************************************************************/
****************************************************************/
/* /*
** \file stringutil.h ** \file stringutil.h
** \version $Id: stringutil.h 2486 2008-04-05 14:43:08Z edmanm $ ** \version $Id: stringutil.h 2486 2008-04-05 14:43:08Z edmanm $