From d46081aea2428632174d5553cffa44fafa20afb9 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Sat, 31 Mar 2012 01:23:45 +0200 Subject: [PATCH] Add (pretty empty) cpp files for abstract classes to make automoc work Without an implementation file, automoc will lead to linker errors. --- src/client/abstractui.cpp | 23 +++++++++++++++++++ src/client/clientcoreinfo.cpp | 23 +++++++++++++++++++ src/common/coreinfo.cpp | 23 +++++++++++++++++++ src/qtui/settingspages/previewbufferview.cpp | 23 +++++++++++++++++++ src/qtui/settingspages/settingspages.inc | 2 +- src/uisupport/abstractnotificationbackend.cpp | 23 +++++++++++++++++++ 6 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 src/client/abstractui.cpp create mode 100644 src/client/clientcoreinfo.cpp create mode 100644 src/common/coreinfo.cpp create mode 100644 src/qtui/settingspages/previewbufferview.cpp create mode 100644 src/uisupport/abstractnotificationbackend.cpp diff --git a/src/client/abstractui.cpp b/src/client/abstractui.cpp new file mode 100644 index 00000000..8bcf197a --- /dev/null +++ b/src/client/abstractui.cpp @@ -0,0 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2005-2012 by the Quassel Project * + * devel@quassel-irc.org * + * * + * 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) version 3. * + * * + * 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., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include "abstractui.h" + +// this file is needed to make automoc work diff --git a/src/client/clientcoreinfo.cpp b/src/client/clientcoreinfo.cpp new file mode 100644 index 00000000..81474e27 --- /dev/null +++ b/src/client/clientcoreinfo.cpp @@ -0,0 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2005-2012 by the Quassel Project * + * devel@quassel-irc.org * + * * + * 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) version 3. * + * * + * 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., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include "clientcoreinfo.h" + +// this file is needed to make automoc work diff --git a/src/common/coreinfo.cpp b/src/common/coreinfo.cpp new file mode 100644 index 00000000..a756180d --- /dev/null +++ b/src/common/coreinfo.cpp @@ -0,0 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2005-2012 by the Quassel Project * + * devel@quassel-irc.org * + * * + * 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) version 3. * + * * + * 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., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include "coreinfo.h" + +// this file is needed to make automoc work diff --git a/src/qtui/settingspages/previewbufferview.cpp b/src/qtui/settingspages/previewbufferview.cpp new file mode 100644 index 00000000..dac94d87 --- /dev/null +++ b/src/qtui/settingspages/previewbufferview.cpp @@ -0,0 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2005-2012 by the Quassel Project * + * devel@quassel-irc.org * + * * + * 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) version 3. * + * * + * 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., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include "previewbufferview.h" + +// this file is needed to make automoc work diff --git a/src/qtui/settingspages/settingspages.inc b/src/qtui/settingspages/settingspages.inc index 1659271b..6fe40203 100644 --- a/src/qtui/settingspages/settingspages.inc +++ b/src/qtui/settingspages/settingspages.inc @@ -5,7 +5,7 @@ set(SETTINGSPAGES aliases appearance backlog bufferview chatview connection core highlight identities ignorelist inputwidget itemview networks topicwidget) # Specify additional files (e.g. for subdialogs) here! -set(SP_SOURCES aliasesmodel.cpp identityeditwidget.cpp ignorelistmodel.cpp notificationssettingspage.cpp) +set(SP_SOURCES aliasesmodel.cpp identityeditwidget.cpp ignorelistmodel.cpp notificationssettingspage.cpp previewbufferview.cpp) set(SP_HEADERS aliasesmodel.h identityeditwidget.h ignorelistmodel.h notificationssettingspage.h previewbufferview.h) set(SP_FORMS buffervieweditdlg.ui coreaccounteditdlg.ui createidentitydlg.ui identityeditwidget.ui ignorelisteditdlg.ui saveidentitiesdlg.ui networkadddlg.ui networkeditdlg.ui nickeditdlg.ui servereditdlg.ui) diff --git a/src/uisupport/abstractnotificationbackend.cpp b/src/uisupport/abstractnotificationbackend.cpp new file mode 100644 index 00000000..459de4a7 --- /dev/null +++ b/src/uisupport/abstractnotificationbackend.cpp @@ -0,0 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2005-2012 by the Quassel Project * + * devel@quassel-irc.org * + * * + * 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) version 3. * + * * + * 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., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include "abstractnotificationbackend.h" + +// this file is needed to make automoc work -- 2.20.1