# # # add_file "src/stable.h" # content [1f38d45f42008383c3bba0c1a804b795d330e09f] # # patch "guitone.pro" # from [19fe2c9a2fba8a515bb8517cf06def5cdec920c1] # to [34c066c0fa40573afab0aa3fb5bcacc2225371f2] # # patch "src/Tools.h" # from [64b35558c8b25748b9ddead9cee3aa44bff168a4] # to [0e40a40db7a4e352602a76e5a69167388667f70f] # # patch "src/main.cpp" # from [bd4675cd7e85e6a2cd1ab348d2aca03fad38d3db] # to [980a3179878d33e38f2c16a98426dfdea4bd6840] # # patch "src/model/Monotone.cpp" # from [f772e5831bb50cb359e81e963351044477dbcb32] # to [59f289d5a80977020021f0821192ac4210c33bab] # # patch "src/model/Monotone.h" # from [59896b98bae3c244a57712fbd463c07e456c7af9] # to [56a26664cc846b890ac19ab47e9ce2e0a3686a94] # # patch "src/model/Workspace.cpp" # from [94ea899860edfb7519cb58640209adacfbfcb0d1] # to [9993d148a8cd9e2011d817a0fa2fbb2eeb98e184] # # patch "src/model/Workspace.h" # from [a9ac053fdcd88967dd9abbbd12b80f406b9f1639] # to [dab043e1554f0c31547a9a410f2bfa672e88137f] # # patch "src/model/WorkspaceItem.cpp" # from [4d20969b57c1bb254e982a35a4a11a44ecabc133] # to [8bd5cfab5b1aa74cb911729f215062fadea19f95] # # patch "src/model/WorkspaceItem.h" # from [3daad7c767f280452dc06e4df96f18b2174ee742] # to [7fea1ba5b24232318f23a53afc74d387e45205b0] # # patch "src/view/Guitone.cpp" # from [a1a81ac4c875704791b7b6c7f137a62ca28fd989] # to [71d73b9c49cc351b2d6544a1f91e19abc379732f] # # patch "src/view/Guitone.h" # from [5ff58c5b7379df9dc6b0207a2bf2f76ac83bc43c] # to [8420bd69cc67c4cb78a9c4cc528bdf3bc0c4f15c] # # patch "src/view/WorkspaceView.cpp" # from [966b0b069cb1beee7e000e51c2fcaab08a1eca82] # to [3f738b532f9a844a84c890d48bbafc84bac38a9b] # # patch "src/view/WorkspaceView.h" # from [94ebf2667010edcdb4719adef3b787274f39a630] # to [039d660586b39fd96dede83ee613122474264394] # ============================================================ --- src/stable.h 1f38d45f42008383c3bba0c1a804b795d330e09f +++ src/stable.h 1f38d45f42008383c3bba0c1a804b795d330e09f @@ -0,0 +1,47 @@ +/*************************************************************************** + * Copyright (C) 2006 by Ingo Maindorfer * + * address@hidden * + * * + * 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., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +// Add C includes here + +#if defined __cplusplus +// Add C++ includes here +// Qt includes +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +// Other lib includes +#include + +#endif ============================================================ --- guitone.pro 19fe2c9a2fba8a515bb8517cf06def5cdec920c1 +++ guitone.pro 34c066c0fa40573afab0aa3fb5bcacc2225371f2 @@ -22,4 +22,5 @@ QT += qt3support TRANSLATIONS = i18n/guitone_de.ts RESOURCES = res/guitone.qrc +PRECOMPILED_HEADER = src/stable.h ============================================================ --- src/Tools.h 64b35558c8b25748b9ddead9cee3aa44bff168a4 +++ src/Tools.h 0e40a40db7a4e352602a76e5a69167388667f70f @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006 by Thomas Keller * + * address@hidden * + * * + * 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., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef TOOLS_H_ #define TOOLS_H_ ============================================================ --- src/main.cpp bd4675cd7e85e6a2cd1ab348d2aca03fad38d3db +++ src/main.cpp 980a3179878d33e38f2c16a98426dfdea4bd6840 @@ -1,6 +1,6 @@ /*************************************************************************** - * Copyright (C) 2006 by Thomas Keller * - * address@hidden * + * Copyright (C) 2006 by Thomas Keller * + * address@hidden * * * * 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 * @@ -18,11 +18,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include -#include -#include -#include -#include #include "view/Guitone.h" int main(int argc, char** argv) ============================================================ --- src/model/Monotone.cpp f772e5831bb50cb359e81e963351044477dbcb32 +++ src/model/Monotone.cpp 59f289d5a80977020021f0821192ac4210c33bab @@ -1,10 +1,25 @@ +/*************************************************************************** + * Copyright (C) 2006 by Thomas Keller * + * address@hidden * + * * + * 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., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ #include "Monotone.h" -#include -#include -#include -#include #include "../Tools.h" Monotone* Monotone::instance = 0; ============================================================ --- src/model/Monotone.h 59896b98bae3c244a57712fbd463c07e456c7af9 +++ src/model/Monotone.h 56a26664cc846b890ac19ab47e9ce2e0a3686a94 @@ -1,3 +1,22 @@ +/*************************************************************************** + * Copyright (C) 2006 by Thomas Keller * + * address@hidden * + * * + * 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., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ #ifndef MONOTONE_H #define MONOTONE_H ============================================================ --- src/model/Workspace.cpp 94ea899860edfb7519cb58640209adacfbfcb0d1 +++ src/model/Workspace.cpp 9993d148a8cd9e2011d817a0fa2fbb2eeb98e184 @@ -1,6 +1,6 @@ /*************************************************************************** - * Copyright (C) 2006 by Thomas Keller * - * address@hidden * + * Copyright (C) 2006 by Thomas Keller * + * address@hidden * * * * 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 * @@ -20,10 +20,6 @@ #include "Workspace.h" -#include -#include -#include - Workspace::Workspace() { // create a dummy item since the view needs at least one item ============================================================ --- src/model/Workspace.h a9ac053fdcd88967dd9abbbd12b80f406b9f1639 +++ src/model/Workspace.h dab043e1554f0c31547a9a410f2bfa672e88137f @@ -1,6 +1,6 @@ /*************************************************************************** - * Copyright (C) 2006 by Thomas Keller * - * address@hidden * + * Copyright (C) 2006 by Thomas Keller * + * address@hidden * * * * 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 * @@ -21,9 +21,7 @@ #ifndef WORKSPACE_H #define WORKSPACE_H -#include #include -#include #include "WorkspaceItem.h" #include "Monotone.h" ============================================================ --- src/model/WorkspaceItem.cpp 4d20969b57c1bb254e982a35a4a11a44ecabc133 +++ src/model/WorkspaceItem.cpp 8bd5cfab5b1aa74cb911729f215062fadea19f95 @@ -17,9 +17,8 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include "WorkspaceItem.h" -#include +#include "WorkspaceItem.h" WorkspaceItem::WorkspaceItem() { ============================================================ --- src/model/WorkspaceItem.h 3daad7c767f280452dc06e4df96f18b2174ee742 +++ src/model/WorkspaceItem.h 7fea1ba5b24232318f23a53afc74d387e45205b0 @@ -17,6 +17,7 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ + #ifndef WORKSPACE_ITEM_H #define WORKSPACE_ITEM_H ============================================================ --- src/view/Guitone.cpp a1a81ac4c875704791b7b6c7f137a62ca28fd989 +++ src/view/Guitone.cpp 71d73b9c49cc351b2d6544a1f91e19abc379732f @@ -18,17 +18,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ - #include "Guitone.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include Guitone::Guitone() : QMainWindow() ============================================================ --- src/view/Guitone.h 5ff58c5b7379df9dc6b0207a2bf2f76ac83bc43c +++ src/view/Guitone.h 8420bd69cc67c4cb78a9c4cc528bdf3bc0c4f15c @@ -1,6 +1,6 @@ /*************************************************************************** - * Copyright (C) 2006 by Thomas Keller * - * address@hidden * + * Copyright (C) 2006 by Thomas Keller * + * address@hidden * * * * 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 * @@ -18,7 +18,6 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ - #ifndef GUITONE_H #define GUITONE_H @@ -33,7 +32,6 @@ // Lib-Includes // #include -#include // // Own-Includes ============================================================ --- src/view/WorkspaceView.cpp 966b0b069cb1beee7e000e51c2fcaab08a1eca82 +++ src/view/WorkspaceView.cpp 3f738b532f9a844a84c890d48bbafc84bac38a9b @@ -1,13 +1,25 @@ +/*************************************************************************** + * Copyright (C) 2006 by Thomas Keller * + * address@hidden * + * * + * 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., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ #include "WorkspaceView.h" -#include -#include -//#include -#include -#include -#include - WorkspaceView::WorkspaceView(QWidget* parent, int type) : QTreeView(parent) { ============================================================ --- src/view/WorkspaceView.h 94ebf2667010edcdb4719adef3b787274f39a630 +++ src/view/WorkspaceView.h 039d660586b39fd96dede83ee613122474264394 @@ -1,3 +1,23 @@ +/*************************************************************************** + * Copyright (C) 2006 by Thomas Keller * + * address@hidden * + * * + * 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., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + #ifndef WORKSPACE_VIEW_H #define WORKSPACE_VIEW_H @@ -5,7 +25,6 @@ #include "../model/WorkspaceItem.h" #include -#include class QAction; @@ -17,7 +36,6 @@ WorkspaceView(QWidget*, int); ~WorkspaceView(); - void contextMenuEvent(QContextMenuEvent * ev); static const int FolderTree = 1;