summaryrefslogtreecommitdiffstats
path: root/krecipes/src/dialogs/advancedsearchdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/dialogs/advancedsearchdialog.h')
-rw-r--r--krecipes/src/dialogs/advancedsearchdialog.h220
1 files changed, 110 insertions, 110 deletions
diff --git a/krecipes/src/dialogs/advancedsearchdialog.h b/krecipes/src/dialogs/advancedsearchdialog.h
index e6e88df..afb9244 100644
--- a/krecipes/src/dialogs/advancedsearchdialog.h
+++ b/krecipes/src/dialogs/advancedsearchdialog.h
@@ -11,26 +11,26 @@
#ifndef ADVANCEDSEARCHDIALOG_H
#define ADVANCEDSEARCHDIALOG_H
-#include <qwidget.h>
-
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
-class QSpacerItem;
-class QScrollView;
-class QPushButton;
-class QFrame;
-class QLineEdit;
-class QLabel;
-class QCheckBox;
-class QComboBox;
-class QSpinBox;
-class QTimeEdit;
+#include <ntqwidget.h>
+
+class TQVBoxLayout;
+class TQHBoxLayout;
+class TQGridLayout;
+class TQSpacerItem;
+class TQScrollView;
+class TQPushButton;
+class TQFrame;
+class TQLineEdit;
+class TQLabel;
+class TQCheckBox;
+class TQComboBox;
+class TQSpinBox;
+class TQTimeEdit;
class KPushButton;
class KListView;
-class QListViewItem;
-class QRadioButton;
-class QButtonGroup;
+class TQListViewItem;
+class TQRadioButton;
+class TQButtonGroup;
class KDateEdit;
class RecipeDB;
@@ -39,12 +39,12 @@ class FractionInput;
class CriteriaComboBox;
-class AdvancedSearchDialog : public QWidget
+class AdvancedSearchDialog : public TQWidget
{
Q_OBJECT
public:
- AdvancedSearchDialog( QWidget *parent, RecipeDB * );
+ AdvancedSearchDialog( TQWidget *parent, RecipeDB * );
~AdvancedSearchDialog();
virtual void languageChange();
@@ -52,113 +52,113 @@ public:
RecipeActionsHandler *actionHandler;
protected:
- QLabel* textLabel1_4;
- QScrollView* scrollView1;
- QFrame* parametersFrame;
- QLineEdit* titleEdit;
- QPushButton* titleButton;
- QFrame* titleFrame;
- QPushButton* ingredientButton;
- QFrame* ingredientFrame;
- QLineEdit* ingredientsAllEdit;
- QLineEdit* ingredientsAnyEdit;
- QLabel* textLabel1_2;
- QLabel* textLabel1;
- QLineEdit* ingredientsWithoutEdit;
- QLabel* textLabel1_3;
- QPushButton* categoriesButton;
- QFrame* categoryFrame;
- QLineEdit* categoriesAllEdit;
- QLabel* textLabel1_5;
- QLabel* textLabel1_3_3;
- QLineEdit* categoriesAnyEdit;
- QLabel* textLabel1_2_3;
- QLineEdit* categoriesNotEdit;
- QPushButton* authorsButton;
- QFrame* authorsFrame;
- QLabel* textLabel1_2_4;
- QLabel* textLabel1_6;
- QLabel* textLabel1_3_4;
- QLineEdit* authorsAnyEdit;
- QLineEdit* authorsAllEdit;
- QLineEdit* authorsWithoutEdit;
- QPushButton* servingsButton;
- QFrame* servingsFrame;
- QCheckBox* enableServingsCheckBox;
- QComboBox* servingsComboBox;
- QSpinBox* servingsSpinBox;
- QPushButton* prepTimeButton;
- QFrame* prepTimeFrame;
- QCheckBox* enablePrepTimeCheckBox;
- QComboBox* prepTimeComboBox;
- QTimeEdit* prepTimeEdit;
- QLineEdit* instructionsEdit;
- QPushButton* instructionsButton;
- QFrame* instructionsFrame;
+ TQLabel* textLabel1_4;
+ TQScrollView* scrollView1;
+ TQFrame* parametersFrame;
+ TQLineEdit* titleEdit;
+ TQPushButton* titleButton;
+ TQFrame* titleFrame;
+ TQPushButton* ingredientButton;
+ TQFrame* ingredientFrame;
+ TQLineEdit* ingredientsAllEdit;
+ TQLineEdit* ingredientsAnyEdit;
+ TQLabel* textLabel1_2;
+ TQLabel* textLabel1;
+ TQLineEdit* ingredientsWithoutEdit;
+ TQLabel* textLabel1_3;
+ TQPushButton* categoriesButton;
+ TQFrame* categoryFrame;
+ TQLineEdit* categoriesAllEdit;
+ TQLabel* textLabel1_5;
+ TQLabel* textLabel1_3_3;
+ TQLineEdit* categoriesAnyEdit;
+ TQLabel* textLabel1_2_3;
+ TQLineEdit* categoriesNotEdit;
+ TQPushButton* authorsButton;
+ TQFrame* authorsFrame;
+ TQLabel* textLabel1_2_4;
+ TQLabel* textLabel1_6;
+ TQLabel* textLabel1_3_4;
+ TQLineEdit* authorsAnyEdit;
+ TQLineEdit* authorsAllEdit;
+ TQLineEdit* authorsWithoutEdit;
+ TQPushButton* servingsButton;
+ TQFrame* servingsFrame;
+ TQCheckBox* enableServingsCheckBox;
+ TQComboBox* servingsComboBox;
+ TQSpinBox* servingsSpinBox;
+ TQPushButton* prepTimeButton;
+ TQFrame* prepTimeFrame;
+ TQCheckBox* enablePrepTimeCheckBox;
+ TQComboBox* prepTimeComboBox;
+ TQTimeEdit* prepTimeEdit;
+ TQLineEdit* instructionsEdit;
+ TQPushButton* instructionsButton;
+ TQFrame* instructionsFrame;
KPushButton* clearButton;
KPushButton* findButton;
KListView* resultsListView;
- QCheckBox *requireAllTitle;
- QCheckBox *requireAllInstructions;
+ TQCheckBox *requireAllTitle;
+ TQCheckBox *requireAllInstructions;
KDateEdit *createdStartDateEdit;
KDateEdit *createdEndDateEdit;
KDateEdit *modifiedStartDateEdit;
KDateEdit *modifiedEndDateEdit;
KDateEdit *accessedStartDateEdit;
KDateEdit *accessedEndDateEdit;
- QPushButton* metaDataButton;
- QFrame* metaDataFrame;
- QRadioButton* ratingAvgRadioButton;
+ TQPushButton* metaDataButton;
+ TQFrame* metaDataFrame;
+ TQRadioButton* ratingAvgRadioButton;
FractionInput* avgStarsEdit;
- QLabel* avgStarsLabel;
- QRadioButton* criterionRadioButton;
+ TQLabel* avgStarsLabel;
+ TQRadioButton* criterionRadioButton;
CriteriaComboBox* criteriaComboBox;
FractionInput* starsWidget;
- QPushButton* addCriteriaButton;
- QPushButton* removeCriteriaButton;
+ TQPushButton* addCriteriaButton;
+ TQPushButton* removeCriteriaButton;
KListView* criteriaListView;
- QPushButton* ratingsButton;
- QButtonGroup *ratingButtonGroup;
- QFrame *ratingAvgFrame;
- QFrame *criterionFrame;
- QVBoxLayout *criterionFrameLayout;
- QHBoxLayout *ratingAvgFrameLayout;
- QVBoxLayout *ratingButtonGroupLayout;
-
- QHBoxLayout* AdvancedSearchDialogLayout;
- QVBoxLayout* layout7;
- QHBoxLayout* scrollView1Layout;
- QVBoxLayout* parametersFrameLayout;
- QSpacerItem* spacer3_2_3_2_2;
- QSpacerItem* spacer3_2_3_2;
- QSpacerItem* spacer3_2_3;
- QSpacerItem* spacer3_2_2;
- QSpacerItem* titleFrameSpacer;
- QSpacerItem* instructionsFrameSpacer;
- QSpacerItem* metaDataFrameSpacer;
- QSpacerItem* spacer15;
- QVBoxLayout* titleFrameLayout;
- QGridLayout* ingredientFrameLayout;
- QGridLayout* categoryFrameLayout;
- QGridLayout* authorsFrameLayout;
- QVBoxLayout* servingsFrameLayout;
- QHBoxLayout* layout5;
- QVBoxLayout* prepTimeFrameLayout;
- QVBoxLayout* instructionsFrameLayout;
- QVBoxLayout* metaDataFrameLayout;
- QHBoxLayout* layout6;
- QHBoxLayout* layout9;
- QSpacerItem* spacer3;
- QVBoxLayout* ratingsFrameLayout;
- QHBoxLayout* layout11;
- QHBoxLayout* layout12;
- QSpacerItem* ratingsFrameSpacer;
+ TQPushButton* ratingsButton;
+ TQButtonGroup *ratingButtonGroup;
+ TQFrame *ratingAvgFrame;
+ TQFrame *criterionFrame;
+ TQVBoxLayout *criterionFrameLayout;
+ TQHBoxLayout *ratingAvgFrameLayout;
+ TQVBoxLayout *ratingButtonGroupLayout;
+
+ TQHBoxLayout* AdvancedSearchDialogLayout;
+ TQVBoxLayout* layout7;
+ TQHBoxLayout* scrollView1Layout;
+ TQVBoxLayout* parametersFrameLayout;
+ TQSpacerItem* spacer3_2_3_2_2;
+ TQSpacerItem* spacer3_2_3_2;
+ TQSpacerItem* spacer3_2_3;
+ TQSpacerItem* spacer3_2_2;
+ TQSpacerItem* titleFrameSpacer;
+ TQSpacerItem* instructionsFrameSpacer;
+ TQSpacerItem* metaDataFrameSpacer;
+ TQSpacerItem* spacer15;
+ TQVBoxLayout* titleFrameLayout;
+ TQGridLayout* ingredientFrameLayout;
+ TQGridLayout* categoryFrameLayout;
+ TQGridLayout* authorsFrameLayout;
+ TQVBoxLayout* servingsFrameLayout;
+ TQHBoxLayout* layout5;
+ TQVBoxLayout* prepTimeFrameLayout;
+ TQVBoxLayout* instructionsFrameLayout;
+ TQVBoxLayout* metaDataFrameLayout;
+ TQHBoxLayout* layout6;
+ TQHBoxLayout* layout9;
+ TQSpacerItem* spacer3;
+ TQVBoxLayout* ratingsFrameLayout;
+ TQHBoxLayout* layout11;
+ TQHBoxLayout* layout12;
+ TQSpacerItem* ratingsFrameSpacer;
RecipeDB *database;
signals:
void recipeSelected( int, int );
- void recipesSelected( const QValueList<int> &, int );
+ void recipesSelected( const TQValueList<int> &, int );
private slots:
void search();
@@ -172,7 +172,7 @@ private slots:
void removeRecipe( int id );
private:
- QStringList split( const QString &text, bool sql_wildcards = false ) const;
+ TQStringList split( const TQString &text, bool sql_wildcards = false ) const;
};
#endif //ADVANCEDSEARCHDIALOG_H