summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/basetreeview.h
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/basetreeview.h')
-rw-r--r--quanta/treeviews/basetreeview.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/quanta/treeviews/basetreeview.h b/quanta/treeviews/basetreeview.h
index 345b5a79..2ec49022 100644
--- a/quanta/treeviews/basetreeview.h
+++ b/quanta/treeviews/basetreeview.h
@@ -19,7 +19,7 @@
#define BASETREEVIEW_H
//qt includes
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
//kde includes
#include <kfiletreebranch.h>
@@ -59,17 +59,17 @@ public:
/**
sorts folders separate from files
*/
- QString key (int column, bool ascending) const;
+ TQString key (int column, bool ascending) const;
/**
makes compare independent from locale
*/
- int compare( QListViewItem *i, int col, bool ascending ) const;
+ int compare( TQListViewItem *i, int col, bool ascending ) const;
/**
makes open files bold and the second column lighter
*/
- void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int align);
+ void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int align);
/**
refresh icon
@@ -87,7 +87,7 @@ class BaseTreeBranch : public KFileTreeBranch {
public:
BaseTreeBranch(KFileTreeView *parent, const KURL& url,
- const QString& name, const QPixmap& pix,
+ const TQString& name, const TQPixmap& pix,
bool showHidden = false, KFileTreeViewItem *branchRoot = 0);
/**
get the BaseTreeViewItem
@@ -102,7 +102,7 @@ public:
/**
files matching to this will not be shown
*/
- QRegExp excludeFilterRx;
+ TQRegExp excludeFilterRx;
/**
adds the current open folders of the branch to a stringslist.
@@ -110,13 +110,13 @@ public:
@param openFolder the list where to add the URL strings
*/
- void addOpenFolder(QStringList *openFolder);
+ void addOpenFolder(TQStringList *openFolder);
/** opens the next folder in @ref folderToOpen */
void reopenFolder();
/** list of folders to open */
- QStringList folderToOpen;
+ TQStringList folderToOpen;
/** inform the dirwatcher to update all open folders */
void updateOpenFolder();
@@ -135,7 +135,7 @@ class BaseTreeView : public KFileTreeView {
Q_OBJECT
public:
- BaseTreeView(QWidget *parent = 0L, const char *name = 0L);
+ BaseTreeView(TQWidget *parent = 0L, const char *name = 0L);
virtual ~BaseTreeView();
/**
@@ -145,7 +145,7 @@ public:
* @param config the KConfig object to write to
* @param group the config group to use
*/
- void saveLayout(KConfig *config, const QString &group);
+ void saveLayout(KConfig *config, const TQString &group);
/**
* Reads the list view's layout from a KConfig group as stored with
@@ -154,7 +154,7 @@ public:
* @param config the KConfig object to read from
* @param group the config group to use
*/
- void restoreLayout(KConfig *config, const QString &group);
+ void restoreLayout(KConfig *config, const TQString &group);
/**
* en/disable saving a list of open folders in @ref saveLayout and
@@ -169,7 +169,7 @@ public slots:
/**
sets new project information
*/
- void slotNewProjectLoaded(const QString &, const KURL &, const KURL &);
+ void slotNewProjectLoaded(const TQString &, const KURL &, const KURL &);
/**
repaints all treeview items
*/
@@ -183,8 +183,8 @@ protected slots:
virtual void slotJobFinished( KIO::Job *job);
void slotInsertInProject();
void slotInsertDirInProject();
- virtual void slotReturnPressed(QListViewItem *item);
- virtual void slotDropped (QWidget *, QDropEvent *, KURL::List&, KURL&);
+ virtual void slotReturnPressed(TQListViewItem *item);
+ virtual void slotDropped (TQWidget *, TQDropEvent *, KURL::List&, KURL&);
/**
sends value from KIO::Job to progressbar
*/
@@ -204,7 +204,7 @@ protected slots:
emits a signal (@ref openFile or @ref openImage)
or expands an archiv (@ref expandArchiv) in the tree
*/
- virtual void slotSelectFile(QListViewItem *item);
+ virtual void slotSelectFile(TQListViewItem *item);
/**
emits the signal @ref insertTag
*/
@@ -246,7 +246,7 @@ protected slots:
/**
connect signal itemRenamed to this slot to handle inline rename
*/
- virtual void slotRenameItem(QListViewItem* kvtvi, const QString & newText, int col);
+ virtual void slotRenameItem(TQListViewItem* kvtvi, const TQString & newText, int col);
/**
create a site template tarball from the selected directory
*/
@@ -282,7 +282,7 @@ protected:
@param item the treeview item
@param newDesc the new description of item
*/
- virtual void itemDescChanged(KFileTreeViewItem* item, const QString& newDesc)
+ virtual void itemDescChanged(KFileTreeViewItem* item, const TQString& newDesc)
{
Q_UNUSED(item);
Q_UNUSED(newDesc);
@@ -304,8 +304,8 @@ protected:
@return true if expanding was possible
*/
bool expandArchiv (KFileTreeViewItem *item);
- bool acceptDrag(QDropEvent* e ) const;
- void findDrop(const QPoint &pos, QListViewItem *&parent, QListViewItem *&after);
+ bool acceptDrag(TQDropEvent* e ) const;
+ void findDrop(const TQPoint &pos, TQListViewItem *&parent, TQListViewItem *&after);
/**
this is for project and template tree to reduce includes there
@@ -321,24 +321,24 @@ protected:
*/
void insertOpenWithMenu(KPopupMenu *menu, int position);
KPropertiesDialog *propDlg;
- QString m_projectName;
+ TQString m_projectName;
KURL m_projectBaseURL;
FileInfoDlg* fileInfoDlg;
/** the parent of the treeview
the passwords are cached there
*/
- QWidget * m_parent;
+ TQWidget * m_parent;
BaseTreeViewToolTip * m_tooltip;
// some stuff for renaming
- void doRename(KFileTreeViewItem* kvtvi, const QString & newName);
+ void doRename(KFileTreeViewItem* kvtvi, const TQString & newName);
/** reimplemented to reset renameable */
void cancelRename(int col);
signals:
void openFile(const KURL&);
void openImage(const KURL&);
- void open(QListViewItem *name);
+ void open(TQListViewItem *name);
void insertDirInProject(const KURL&);
void insertFileInProject(const KURL&);
void insertTag(const KURL &, DirInfo);
@@ -355,8 +355,8 @@ private:
bool m_saveOpenFolder;
KPopupMenu *m_openWithMenu;
int m_openWithMenuId;
- QValueList<KAction *> m_openWithActions;
- QMap<int, QuantaPlugin*> m_pluginIds;
+ TQValueList<KAction *> m_openWithActions;
+ TQMap<int, QuantaPlugin*> m_pluginIds;
};
#endif