Smb4K – Samba (SMB) share advanced browser
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.

83 lines
2.7KB

  1. /***************************************************************************
  2. smb4kauthoptions - The configuration page for the authentication
  3. settings of Smb4K
  4. -------------------
  5. begin : Sa Nov 15 2003
  6. copyright : (C) 2003-2007 by Alexander Reinholdt
  7. email : dustpuppy@users.berlios.de
  8. ***************************************************************************/
  9. /***************************************************************************
  10. * This program is free software; you can redistribute it and/or modify *
  11. * it under the terms of the GNU General Public License as published by *
  12. * the Free Software Foundation; either version 2 of the License, or *
  13. * (at your option) any later version. *
  14. * *
  15. * This program is distributed in the hope that it will be useful, but *
  16. * WITHOUT ANY WARRANTY; without even the implied warranty of *
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
  18. * General Public License for more details. *
  19. * *
  20. * You should have received a copy of the GNU General Public License *
  21. * along with this program; if not, write to the *
  22. * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, *
  23. * MA 02110-1301 USA *
  24. ***************************************************************************/
  25. #ifndef SMB4KAUTHOPTIONS_H
  26. #define SMB4KAUTHOPTIONS_H
  27. #ifdef HAVE_CONFIG_H
  28. #include <config.h>
  29. #endif
  30. // TQt includes
  31. #include <tqwidget.h>
  32. /**
  33. * This is the configuration tab for the authentication settings
  34. * of Smb4K.
  35. *
  36. * @author Alexander Reinholdt <dustpuppy@users.berlios.de>
  37. */
  38. class Smb4KAuthOptions : public TQWidget
  39. {
  40. Q_OBJECT
  41. public:
  42. /**
  43. * The constructor.
  44. *
  45. * @param parent The parent widget
  46. *
  47. * @param name The name of this widget
  48. */
  49. Smb4KAuthOptions( TQWidget *parent = 0, const char *name = 0 );
  50. /**
  51. * The destructor.
  52. */
  53. ~Smb4KAuthOptions();
  54. protected slots:
  55. /**
  56. * This slot manages the toggling of the TDEWallet support button in the
  57. * Authentication tab.
  58. *
  59. * @param state The toggle state
  60. */
  61. void slotTDEWalletButtonState( int state );
  62. /**
  63. * This slot manages the toggling of the default authentication button.
  64. *
  65. * @param state The toggle state
  66. */
  67. void slotDefaultAuthButtonState( int state );
  68. };
  69. #endif