/* Copyright (C) 2009 George Kiagiadakis 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, see . */ #ifndef DRKONQI_GLOBALS_H #define DRKONQI_GLOBALS_H #include #include #include /** This class provides a custom constructor to fill the "toolTip" * and "whatsThis" texts of KGuiItem with the same text. */ class KGuiItem2 : public KGuiItem { public: inline KGuiItem2(const QString &text, const KIcon &icon, const QString &toolTip) : KGuiItem(text, icon, toolTip, toolTip) {} }; /* Urls are defined globally here, so that they can change easily */ #define TECHBASE_HOWTO_DOC_URL KDE_HELP_URL "/how_to_debug" #define ABOUT_BUG_REPORTING_URL KDE_HELP_URL "/how_to_report" #endif