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.
tdeadmin/kcron/ktprintopt.h

54 lines
1.5 KiB

/***************************************************************************
* -------------------------------------------------------------------- *
* Print Options Dialog *
* -------------------------------------------------------------------- *
* Copyright (C) 1999, Robert Berry <rjmber@ntlwolrd.com> *
* -------------------------------------------------------------------- *
* 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. *
***************************************************************************/
#ifndef KTPRINTOPT_H
#define KTPRINTOPT_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <tdeprint/kprintdialogpage.h>
class TQCheckBox;
class KAccel;
/**
*Give the user the option to print the crontab file.
*If the user is root ask if they want to print all the users
*/
class KTPrintOpt : public KPrintDialogPage
{
Q_OBJECT
public:
/**
* Constructs the dialog, if root is true the print all users is not disabled
*/
KTPrintOpt(bool root = false);
~KTPrintOpt();
void setOptions(const TQMap<TQString,TQString>& options);
void getOptions(TQMap<TQString,TQString>& options, bool incldef = false);
private:
TQCheckBox* chkPrintCrontab;
TQCheckBox* chkPrintAllUsers;
};
#endif