summaryrefslogtreecommitdiffstats
path: root/krecipes/src/widgets/authorlistview.h
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/widgets/authorlistview.h')
-rw-r--r--krecipes/src/widgets/authorlistview.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/krecipes/src/widgets/authorlistview.h b/krecipes/src/widgets/authorlistview.h
index 2b6faa8..9718b4c 100644
--- a/krecipes/src/widgets/authorlistview.h
+++ b/krecipes/src/widgets/authorlistview.h
@@ -20,15 +20,15 @@ class KPopupMenu;
class AuthorCheckListView;
-class AuthorCheckListItem: public QCheckListItem
+class AuthorCheckListItem: public TQCheckListItem
{
public:
AuthorCheckListItem( AuthorCheckListView* qlv, const Element &author );
- AuthorCheckListItem( AuthorCheckListView* qlv, QListViewItem *after, const Element &author );
+ AuthorCheckListItem( AuthorCheckListView* qlv, TQListViewItem *after, const Element &author );
Element author() const;
- virtual QString text( int column ) const;
+ virtual TQString text( int column ) const;
protected:
virtual void stateChange( bool on );
@@ -44,7 +44,7 @@ class AuthorListView : public DBListViewBase
Q_OBJECT
public:
- AuthorListView( QWidget *parent, RecipeDB *db );
+ AuthorListView( TQWidget *parent, RecipeDB *db );
protected slots:
void checkCreateAuthor( const Element &el );
@@ -61,25 +61,25 @@ class StdAuthorListView : public AuthorListView
Q_OBJECT
public:
- StdAuthorListView( QWidget *parent, RecipeDB *db, bool editable = false );
+ StdAuthorListView( TQWidget *parent, RecipeDB *db, bool editable = false );
protected:
virtual void createAuthor( const Element & );
virtual void removeAuthor( int );
private slots:
- void showPopup( KListView *, QListViewItem *, const QPoint & );
+ void showPopup( KListView *, TQListViewItem *, const TQPoint & );
void createNew();
void remove
();
void rename();
- void modAuthor( QListViewItem* i );
- void saveAuthor( QListViewItem* i );
+ void modAuthor( TQListViewItem* i );
+ void saveAuthor( TQListViewItem* i );
private:
- bool checkBounds( const QString &name );
+ bool checkBounds( const TQString &name );
KPopupMenu *kpop;
};
@@ -88,11 +88,11 @@ private:
class AuthorCheckListView : public AuthorListView
{
public:
- AuthorCheckListView( QWidget *parent, RecipeDB *db );
+ AuthorCheckListView( TQWidget *parent, RecipeDB *db );
virtual void stateChange(AuthorCheckListItem *,bool);
- QValueList<Element> selections() const{ return m_selections; }
+ TQValueList<Element> selections() const{ return m_selections; }
protected:
virtual void createAuthor( const Element &ing );
@@ -101,7 +101,7 @@ protected:
virtual void load( int limit, int offset );
private:
- QValueList<Element> m_selections;
+ TQValueList<Element> m_selections;
};
#endif //AUTHORLISTVIEW_H