summaryrefslogtreecommitdiffstats
path: root/src/schedule.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/schedule.h')
-rw-r--r--src/schedule.h106
1 files changed, 53 insertions, 53 deletions
diff --git a/src/schedule.h b/src/schedule.h
index f93d379..adc99eb 100644
--- a/src/schedule.h
+++ b/src/schedule.h
@@ -5,17 +5,17 @@
#ifndef _SCHEDULE_H_
#define _SCHEDULE_H_
-#include <qvariant.h>
-#include <qdialog.h>
-#include <qspinbox.h>
-
-#include <qdatetime.h>
-#include <qlineedit.h>
-#include <qstring.h>
-#include <qtimer.h>
-#include <qvalidator.h>
-#include <qwidget.h>
-#include <qcheckbox.h>
+#include <tqvariant.h>
+#include <tqdialog.h>
+#include <tqspinbox.h>
+
+#include <tqdatetime.h>
+#include <tqlineedit.h>
+#include <tqstring.h>
+#include <tqtimer.h>
+#include <tqvalidator.h>
+#include <tqwidget.h>
+#include <tqcheckbox.h>
#include "cthost.h"
#include "cttask.h"
@@ -28,39 +28,39 @@
class KPrinter;
class KToggleAction;
class KURL;
-class QLineEdit;
-class QComboBox;
-class QCheckBox;
-class QListBox;
-//class QListView;
+class TQLineEdit;
+class TQComboBox;
+class TQCheckBox;
+class TQListBox;
+//class TQListView;
class KTView;
-class QListViewItem;
-class QPushButton;
-class QLabel;
+class TQListViewItem;
+class TQPushButton;
+class TQLabel;
class KProcess;
class KConfig;
class KURLRequester;
class CollectionSetup;
-class QToolButton;
-class QHBoxLayout;
+class TQToolButton;
+class TQHBoxLayout;
class HMSTimeWidget : public KIntSpinBox
{
Q_OBJECT
public:
- HMSTimeWidget(QWidget *parent=0, const char *name=0);
+ HMSTimeWidget(TQWidget *parent=0, const char *name=0);
protected:
- QString mapValueToText(int);
+ TQString mapValueToText(int);
};
-class KStrictIntValidator : public QIntValidator
+class KStrictIntValidator : public TQIntValidator
{
public:
- KStrictIntValidator(int bottom, int top, QWidget * parent,
+ KStrictIntValidator(int bottom, int top, TQWidget * parent,
const char * name = 0 )
- : QIntValidator(bottom, top, parent, name) {};
+ : TQIntValidator(bottom, top, parent, name) {};
- QValidator::State validate( QString & input, int & d ) const;
+ TQValidator::State validate( TQString & input, int & d ) const;
};
/**
@@ -71,14 +71,14 @@ public:
* @author $AUTHOR <$EMAIL>
* @version $APP_VERSION
*/
-class Schedule : public QDialog
+class Schedule : public TQDialog
{
Q_OBJECT
public:
/**
* Default Constructor
*/
- Schedule( QWidget* parent = 0, QStringList filepattern = 0,const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ Schedule( TQWidget* parent = 0, TQStringList filepattern = 0,const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
/**
* Default Destructor
@@ -89,16 +89,16 @@ public:
* Use this method to load whatever file/URL you have
*/
- void setDirName(QString);
+ void setDirName(TQString);
bool isMultiScan();
const CTHost& getCTHost() const;
protected:
/**
- * Overridden virtuals for Qt drag 'n drop (XDND)
+ * Overridden virtuals for TQt drag 'n drop (XDND)
*/
- /*virtual void dragEnterEvent(QDragEnterEvent *event);
- virtual void dropEvent(QDropEvent *event);*/
+ /*virtual void dragEnterEvent(TQDragEnterEvent *event);
+ virtual void dropEvent(TQDropEvent *event);*/
protected:
/**
@@ -118,7 +118,7 @@ protected:
private slots:
void slotQueryDatePicker(int index);
- void slotAddDateToCombo(QDate newdate);
+ void slotAddDateToCombo(TQDate newdate);
void slotScheduleScan();
void slotDelete();
void slotOK();
@@ -126,8 +126,8 @@ private slots:
private:
void setupAccel();
void setupActions();
- QString createScanScript();
- QString createStartupScript();
+ TQString createScanScript();
+ TQString createStartupScript();
private:
signals:
@@ -135,30 +135,30 @@ signals:
public slots:
private slots:
private:
- QLineEdit *template_edit;
- QComboBox *files_combo, *pattern_combo, *check_combo;
- QCheckBox *recursive_box;
-// QListView *resultview;
- QPushButton *search_button, *cancel_button;
- QLabel *status_label, *status2_label,*matches_label,*matches2_label;
+ TQLineEdit *template_edit;
+ TQComboBox *files_combo, *pattern_combo, *check_combo;
+ TQCheckBox *recursive_box;
+// TQListView *resultview;
+ TQPushButton *search_button, *cancel_button;
+ TQLabel *status_label, *status2_label,*matches_label,*matches2_label;
KProcess *childproc;
- QString buf;
+ TQString buf;
KConfig* config;
bool errorsEncountered;
- QPushButton* adv_options;
- QString urlsToScan;
- QString prevdir;
- QStringList listOfUrlsToScan;
+ TQPushButton* adv_options;
+ TQString urlsToScan;
+ TQString prevdir;
+ TQStringList listOfUrlsToScan;
bool multi_recursive;
CollectionSetup* setup;
- QToolButton *m_tabsClose;
- QToolButton* play;
- QToolButton* stop;
- QHBoxLayout* controls;
- QDate _date;
+ TQToolButton *m_tabsClose;
+ TQToolButton* play;
+ TQToolButton* stop;
+ TQHBoxLayout* controls;
+ TQDate _date;
HMSTimeWidget* hour;
HMSTimeWidget* minute;
- QStringList _filepattern;
+ TQStringList _filepattern;
KTView *schedulebox;
CTHost* cthost;
CTTask* cttask;