Fix support for GCC hidden visibility.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/5/head
gregory guy 4 years ago committed by Slávek Banko
parent 0d9e78994b
commit d175607a26
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -18,11 +18,12 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "aboutdata.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#include "config.h"
#endif
#include "aboutdata.h"
static const char description[] = I18N_NOOP(
"<p><b>Taking care of your ideas.</b></p>"
"<p>A note-taking application that makes it easy to record ideas as you think, and quickly find them later. "

@ -26,7 +26,7 @@
@author Sébastien Laoût <slaout@linux62.org>
*/
class AboutData : public TDEAboutData
class KDE_EXPORT AboutData : public TDEAboutData
{
public:
AboutData();

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tdecmdlineargs.h>
#include <tqstring.h>
#include <tqfile.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqvaluelist.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "backup.h"
#include "global.h"

@ -48,7 +48,7 @@ class BackupDialog : public KDialogBase
/**
* @author Sébastien Laoût <slaout@linux62.org>
*/
class Backup
class KDE_EXPORT Backup
{
public:
static void figureOutBinaryPath(const char *argv0, TQApplication &app);

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqdragobject.h>
#include <tqdom.h>
#include <tqpainter.h>
@ -77,7 +81,6 @@
#include "tools.h"
#include "debugwindow.h"
#include "exporterdialog.h"
#include "config.h"
#include "popupmenu.h"
#ifdef HAVE_LIBGPGME
#include "kgpgme.h"
@ -5520,7 +5523,6 @@ void Basket::lock()
#include <tqstringlist.h>
#include <klineedit.h>
#include <config.h>
#include <tqtextcodec.h>
#include "basket.h"

@ -36,7 +36,6 @@
#include "filter.h"
#include "note.h" // For Note::Zone
#include "config.h"
#define BASKET_USE_DRKONQI

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "basket_part.h"
#include <kinstance.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqdir.h>
#include <tdelocale.h>
#include <tdemessagebox.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "basketlistview.h"
#include <tqregexp.h>
#include <tdeglobalsettings.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <kicondialog.h>
#include <tqlineedit.h>
#include <tqcombobox.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tdeparts/statusbarextension.h>
#include <kstatusbar.h>
#include <tdelocale.h>

@ -32,7 +32,7 @@ class ClickableLabel;
/**
@author Sébastien Laoût <slaout@linux62.org>
*/
class BasketStatusBar : public TQObject
class KDE_EXPORT BasketStatusBar : public TQObject
{
Q_OBJECT

@ -18,7 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
/// NEW:
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqwidgetstack.h>
#include <tqregexp.h>

@ -54,7 +54,7 @@ class Tag;
class State;
class Note;
class BNPView : public TQSplitter, virtual public BasketDcopInterface
class KDE_EXPORT BNPView : public TQSplitter, virtual public BasketDcopInterface
{
Q_OBJECT

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqlayout.h>
#include <tqtextbrowser.h>
#include <tqstring.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <kurlrequester.h>
#include <klineedit.h>
#include <tdefiledialog.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqlayout.h>
//#include <tdetoolbarbutton.h>
#include <tqtoolbutton.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqpopupmenu.h>
#include <tdelocale.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqdir.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tdeglobal.h>
#include <kstandarddirs.h>
#include <tqstring.h>

@ -38,7 +38,7 @@ class TDEAboutData;
* the .h files of variables he use.
* @author S<EFBFBD>astien Laot
*/
class Global
class KDE_EXPORT Global
{
private:
static TQString s_customSavesFolder;

@ -18,13 +18,16 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "htmlexporter.h"
#include "bnpview.h"
#include "basketlistview.h"
#include "basket.h"
#include "note.h"
#include "tools.h"
#include "config.h"
#include "tag.h"
#include <tdeapplication.h>

@ -18,7 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "kgpgme.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_LIBGPGME
@ -37,6 +39,8 @@
#include <stdlib.h>
#include <unistd.h>
#include "kgpgme.h"
// KGpgSelKey class based on class in KGpg with the same name
class KGpgSelKey : public KDialogBase

@ -20,10 +20,6 @@
#ifndef KGPGME_H
#define KGPGME_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef HAVE_LIBGPGME
#include <gpgme.h>

@ -13,11 +13,13 @@
* exact licensing terms.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "kiconcanvas.h"
#include "kicondialog.h"
#include <config.h>
#include <kiconviewsearchline.h>
#include <tdeapplication.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqlabel.h>
#include <kurl.h>
#include <tqlayout.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <tdecmdlineargs.h>
@ -46,10 +50,6 @@
#include "basket_options.h"
#include "backup.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/* Thanks to JuK for this Application class */
/*#if KDE_IS_VERSION( 3, 1, 90 )
typedef KUniqueApplication Application; // KDE 3.2 and later already re-show the main window

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqtabwidget.h>
#include <tqlayout.h>
#include <tqtooltip.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <kicondialog.h>
#include <tqlineedit.h>
#include <kiconview.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqpainter.h>
#include <tdeglobalsettings.h>
#include <tqstyle.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqfile.h>
#include <tqdir.h>
#include <tqdom.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqdragobject.h>
#include <tqdir.h>
#include <tqpainter.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqlabel.h>
#include <tqlayout.h>
#include <tqlineedit.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqstring.h>
#include <kurl.h>
#include <tqpixmap.h>

@ -18,7 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "password.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_LIBGPGME
@ -32,6 +34,8 @@
#include <kgpgme.h>
#include <basket.h>
#include "password.h"
PasswordDlg::PasswordDlg(TQWidget *parent, const char *name)
:KDialogBase(Plain, i18n("Password Protection"), Ok|Cancel, Ok,
parent, name, /*modal=*/true, /*separator=*/true), w(0)

@ -20,10 +20,6 @@
#ifndef PASSWORD_H
#define PASSWORD_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef Q_MOC_RUN
#define HAVE_LIBGPGME
#endif

@ -18,7 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include <config.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqlayout.h>
#include <tqlineedit.h>
#include <tqhbox.h>

@ -53,7 +53,7 @@ class LinkLookEditWidget;
class RunCommandRequester;
class IconSizeCombo;
class GeneralPage : public TDECModule
class KDE_EXPORT GeneralPage : public TDECModule
{
Q_OBJECT
@ -82,7 +82,7 @@ class GeneralPage : public TDECModule
KIntNumInput *m_timeToShowOnMouseIn;
};
class BasketsPage : public TDECModule
class KDE_EXPORT BasketsPage : public TDECModule
{
Q_OBJECT
@ -114,7 +114,7 @@ class BasketsPage : public TDECModule
KIntNumInput *m_reLockTimeoutMinutes;
};
class NewNotesPage : public TDECModule
class KDE_EXPORT NewNotesPage : public TDECModule
{
Q_OBJECT
@ -143,7 +143,7 @@ class NewNotesPage : public TDECModule
TQCheckBox *m_viewSoundFileContent;
};
class NotesAppearancePage : public TDECModule
class KDE_EXPORT NotesAppearancePage : public TDECModule
{
Q_OBJECT
@ -164,7 +164,7 @@ class NotesAppearancePage : public TDECModule
LinkLookEditWidget *m_launcherLook;
};
class ApplicationsPage : public TDECModule
class KDE_EXPORT ApplicationsPage : public TDECModule
{
Q_OBJECT
@ -191,7 +191,7 @@ class ApplicationsPage : public TDECModule
/** Handle all global variables (to avoid lot of extern declarations)
* @author S<EFBFBD>astien Laot
*/
class Settings // FIXME: Distaptch new config events ?
class KDE_EXPORT Settings // FIXME: Distaptch new config events ?
{
protected:
/** Main window */

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqstring.h>
#include <tqdir.h>
#include <kstandarddirs.h>

@ -20,6 +20,10 @@
/** KSystemTray2 */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
// To draw the systray screenshot image:
#include <tqdockwindow.h>
#include <tqmovie.h>

@ -29,7 +29,7 @@ class MainWindow;
* hopefuly integrated in KDE 3.4
* @author S<EFBFBD>astien Laot
*/
class KSystemTray2 : public KSystemTray
class KDE_EXPORT KSystemTray2 : public KSystemTray
{
Q_OBJECT

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tdeapplication.h>
#include <tdestyle.h>
#include <kiconloader.h>

@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqtooltip.h>
#include <tqlabel.h>
#include <tqlineedit.h>

Loading…
Cancel
Save