srcfile.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. ktigcc - TIGCC IDE for KDE
  3. Copyright (C) 2006 Kevin Kofler
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software Foundation,
  14. Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  15. */
  16. #pragma once
  17. #include "srcfilewin.h"
  18. #include <qstring.h>
  19. namespace Kate {
  20. class View;
  21. }
  22. class KReplaceWithSelectionS;
  23. class QLabel;
  24. class QPopupMenu;
  25. class QClipboard;
  26. class QAccel;
  27. class KFindDialog;
  28. struct SourceFile : public SourceFileWindow {
  29. SourceFile(const QString &fn, const QString &hlm, bool isc, bool isasm) :
  30. SourceFileWindow(), fileName(fn), hlMode(hlm), isCFile(isc),
  31. isASMFile(isasm) {}
  32. QString fileName;
  33. QString hlMode;
  34. bool isCFile;
  35. bool isASMFile;
  36. KReplaceWithSelectionS *kreplace;
  37. Kate::View *kateView;
  38. QLabel *rowStatusLabel;
  39. QLabel *colStatusLabel;
  40. QLabel *charsStatusLabel;
  41. QLabel *rightStatusLabel;
  42. QPopupMenu *te_popup;
  43. QAccel *accel;
  44. KFindDialog *kfinddialog;
  45. unsigned findCurrentLine;
  46. };