summaryrefslogtreecommitdiffstats
path: root/kplato/kptaccountspanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptaccountspanel.h')
-rw-r--r--kplato/kptaccountspanel.h49
1 files changed, 25 insertions, 24 deletions
diff --git a/kplato/kptaccountspanel.h b/kplato/kptaccountspanel.h
index d067d6d3..6e1646f7 100644
--- a/kplato/kptaccountspanel.h
+++ b/kplato/kptaccountspanel.h
@@ -22,12 +22,12 @@
#include "kptaccountspanelbase.h"
-#include <qptrlist.h>
-#include <qdict.h>
+#include <tqptrlist.h>
+#include <tqdict.h>
-class QListView;
-class QListViewItem;
-class QWidget;
+class TQListView;
+class TQListViewItem;
+class TQWidget;
class KCommand;
class KMacroCommand;
@@ -43,20 +43,21 @@ class Project;
class AccountsPanel : public AccountsPanelBase {
Q_OBJECT
+ TQ_OBJECT
public:
- AccountsPanel(Accounts &acc, QWidget *parent=0, const char *name=0);
+ AccountsPanel(Accounts &acc, TQWidget *tqparent=0, const char *name=0);
KCommand *buildCommand(Part *part);
- bool isUnique(QListViewItem *item);
- void renameStopped(QListViewItem *item);
+ bool isUnique(TQListViewItem *item);
+ void renameStopped(TQListViewItem *item);
signals:
void changed(bool);
// Internal
- void renameStarted(QListViewItem *, int);
- void startRename(QListViewItem *item, int col);
+ void renameStarted(TQListViewItem *, int);
+ void startRename(TQListViewItem *item, int col);
void selectionChanged();
public slots:
@@ -65,33 +66,33 @@ public slots:
protected slots:
void slotChanged();
void slotSelectionChanged();
- void slotItemRenamed(QListViewItem *item, int col);
+ void slotItemRenamed(TQListViewItem *item, int col);
void slotRemoveBtn();
void slotNewBtn();
void slotSubBtn();
void slotActivated(int);
- void slotListDoubleClicked(QListViewItem* item, const QPoint&, int col);
- void slotRenameStarted(QListViewItem *item, int col);
- void slotStartRename(QListViewItem *item, int col);
- void slotRemoveItem(QListViewItem *i);
+ void slotListDoubleClicked(TQListViewItem* item, const TQPoint&, int col);
+ void slotRenameStarted(TQListViewItem *item, int col);
+ void slotStartRename(TQListViewItem *item, int col);
+ void slotRemoveItem(TQListViewItem *i);
protected:
- void addItems(QListView *lv, Accounts &acc);
- void addItems(QListViewItem *item, Account *acc);
- void addElement(const QListViewItem *item);
- void removeElement(QListViewItem *item);
+ void addItems(TQListView *lv, Accounts &acc);
+ void addItems(TQListViewItem *item, Account *acc);
+ void addElement(const TQListViewItem *item);
+ void removeElement(TQListViewItem *item);
void refreshDefaultAccount();
KCommand *save(Part *part, Project &project);
- KCommand *save(Part *part, Project &project, QListViewItem *item);
+ KCommand *save(Part *part, Project &project, TQListViewItem *item);
private:
Accounts &m_accounts;
- QPtrList<QListViewItem> m_removedItems;
+ TQPtrList<TQListViewItem> m_removedItems;
Account *m_oldDefaultAccount;
- QDict<QListViewItem> m_elements;
+ TQDict<TQListViewItem> m_elements;
int m_currentIndex;
- QString m_renameText;
- QListViewItem *m_renameItem;
+ TQString m_renameText;
+ TQListViewItem *m_renameItem;
};
} //namespace KPlato