preferencesdlg.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*
  2. ktigcc - TIGCC IDE for KDE
  3. Copyright (C) 2007 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 "ui_preferencesdlg.h"
  18. class Preferences : public QDialog, public Ui::Preferences
  19. {
  20. Q_OBJECT
  21. public:
  22. Preferences(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
  23. ~Preferences();
  24. public slots:
  25. virtual void init();
  26. virtual void destroy();
  27. virtual void linkTarget_toggled( bool unused_on );
  28. virtual void bgColorChange_clicked();
  29. virtual void editorFontChange_clicked();
  30. virtual void syntaxLanguage_activated( int index );
  31. virtual void syntaxEnabled_toggled( bool on );
  32. virtual void resetButton_clicked();
  33. virtual void numberColorButton_clicked();
  34. virtual void numberStyleButton_clicked();
  35. virtual void symbolColorButton_clicked();
  36. virtual void symbolStyleButton_clicked();
  37. virtual void parenthesisColorsButton_clicked();
  38. virtual void parenthesisStyleButton_clicked();
  39. virtual void syntaxListView_selectionChanged();
  40. virtual void syntaxListView_itemRenamed( Q3ListViewItem * item, const QString & str, int unused_col );
  41. virtual void syntaxListViewAccel_activated( int id );
  42. virtual void newStyleButton_clicked();
  43. virtual void newListButton_clicked();
  44. virtual void editButton_clicked();
  45. virtual void editDialog_colorButton_clicked();
  46. virtual void editDialog_styleButton_clicked();
  47. virtual void clearSelectionButton_clicked();
  48. virtual void applyButton_clicked();
  49. virtual void templateListBox_selectionChanged();
  50. virtual void templateListBox_currentChanged( Q3ListBoxItem * item );
  51. virtual void templateIdentifier_textChanged( const QString & text );
  52. virtual void regenCompletionInfoButton_clicked();
  53. protected slots:
  54. virtual void languageChange();
  55. };