TDE graphics utilities
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

kfax_printsettings.h 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * This file is part of the KDE libraries
  3. * Copyright (c) 2005 Helge Deller <deller@kde.org>
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Library General Public
  7. * License version 2 as published by the Free Software Foundation.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Library General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Library General Public License
  15. * along with this library; see the file COPYING.LIB. If not, write to
  16. * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  17. * Boston, MA 02110-1301, USA.
  18. **/
  19. #ifndef KFAX_PRINTSETTINGS_H
  20. #define KFAX_PRINTSETTINGS_H
  21. #include <tdeprint/kprintdialogpage.h>
  22. class TQCheckBox;
  23. #define APP_KFAX_SCALE_FULLPAGE "app-kfax-scalefullpage"
  24. #define APP_KFAX_CENTER_HORZ "app-kfax-center-horz"
  25. #define APP_KFAX_CENTER_VERT "app-kfax-center-vert"
  26. class KFAXPrintSettings : public KPrintDialogPage
  27. {
  28. Q_OBJECT
  29. TQ_OBJECT
  30. public:
  31. KFAXPrintSettings(TQWidget *parent = 0, const char *name = 0);
  32. ~KFAXPrintSettings();
  33. void getOptions(TQMap<TQString,TQString>& opts, bool incldef = false);
  34. void setOptions(const TQMap<TQString,TQString>& opts);
  35. private:
  36. TQCheckBox *m_scaleFullPage;
  37. TQCheckBox *m_center_horz;
  38. TQCheckBox *m_center_vert;
  39. };
  40. #endif