summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/actionconfigdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/dialogs/actionconfigdialog.h')
-rw-r--r--quanta/dialogs/actionconfigdialog.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/quanta/dialogs/actionconfigdialog.h b/quanta/dialogs/actionconfigdialog.h
index f94ba67e..d58567ee 100644
--- a/quanta/dialogs/actionconfigdialog.h
+++ b/quanta/dialogs/actionconfigdialog.h
@@ -15,7 +15,7 @@
#ifndef ACTIONCONFIGDIALOG_H
#define ACTIONCONFIGDIALOG_H
-#include <qmap.h>
+#include <tqmap.h>
#include "actionconfigdialogs.h"
class QDomDocument;
@@ -29,11 +29,11 @@ class KXMLGUIClient;
typedef struct ToolbarEntry{
KXMLGUIClient *guiClient;
- QDomDocument *dom;
- QPopupMenu *menu;
+ TQDomDocument *dom;
+ TQPopupMenu *menu;
KURL url;
- QString name;
- QString id;
+ TQString name;
+ TQString id;
bool user;
bool visible;
bool nameModified; ///< True if the name of the toolbar was modified by Quanta on loading:" (n)" was added
@@ -45,48 +45,48 @@ class ActionConfigDialog: public ActionConfigDialogS
public:
- ActionConfigDialog(const QDict<ToolbarEntry> &toolbarList, KMainWindow* parent = 0, const char* name = 0, bool modal = true, WFlags fl = 0 , const QString& defaultAction = QString::null);
+ ActionConfigDialog(const TQDict<ToolbarEntry> &toolbarList, KMainWindow* parent = 0, const char* name = 0, bool modal = true, WFlags fl = 0 , const TQString& defaultAction = TQString::null);
~ActionConfigDialog();
- void createScriptAction(const QString& a_name, const QString& a_script);
+ void createScriptAction(const TQString& a_name, const TQString& a_script);
public slots:
virtual void accept();
virtual void reject();
void slotToggled(bool);
void slotTextChanged();
- void slotTextChanged(const QString&);
+ void slotTextChanged(const TQString&);
void slotNewAction();
private slots:
void slotAddToolbar();
void slotRemoveToolbar();
void slotEditToolbar();
- void slotContextMenu(KListView *,QListViewItem *,const QPoint &);
- void slotSelectionChanged(QListViewItem *);
+ void slotContextMenu(KListView *,TQListViewItem *,const TQPoint &);
+ void slotSelectionChanged(TQListViewItem *);
void slotShortcutCaptured(const KShortcut&);
void slotDeleteAction();
void slotApply();
void slotAddContainerToolbar();
void slotRemoveContainerToolbar();
- void slotToolbarRemoved(const QString& toolbarName);
+ void slotToolbarRemoved(const TQString& toolbarName);
signals:
void addToolbar();
- void removeToolbar(const QString&);
+ void removeToolbar(const TQString&);
void deleteUserAction(KAction *);
- void configureToolbars(const QString&);
+ void configureToolbars(const TQString&);
private:
void saveCurrentAction();
KPopupMenu *treeMenu;
KAction *currentAction;
- QListViewItem *allActionsItem;
- QMap<QString, QString> globalShortcuts;
+ TQListViewItem *allActionsItem;
+ TQMap<TQString, TQString> globalShortcuts;
KShortcut selectedShortcut;
KMainWindow *m_mainWindow;
- QDict<ToolbarEntry> m_toolbarList;
- QListViewItem *m_toolbarItem;
+ TQDict<ToolbarEntry> m_toolbarList;
+ TQListViewItem *m_toolbarItem;
};
#endif