summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_propsview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /libkonq/konq_propsview.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkonq/konq_propsview.h')
-rw-r--r--libkonq/konq_propsview.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/libkonq/konq_propsview.h b/libkonq/konq_propsview.h
index 679ce8a0e..c69b97966 100644
--- a/libkonq/konq_propsview.h
+++ b/libkonq/konq_propsview.h
@@ -20,8 +20,8 @@
#ifndef __konq_viewprops_h__
#define __konq_viewprops_h__
-#include <qpixmap.h>
-#include <qstringlist.h>
+#include <tqpixmap.h>
+#include <tqstringlist.h>
#include <kurl.h>
#include <libkonq_export.h>
@@ -84,11 +84,11 @@ public:
void setIconSize( int size ); // in pixel, 0 for default
int iconSize() const { return m_iIconSize; }
- void setItemTextPos( int pos ); // QIconView::Bottom or QIconView::Right, currently
+ void setItemTextPos( int pos ); // TQIconView::Bottom or TQIconView::Right, currently
int itemTextPos() const { return m_iItemTextPos; }
- void setSortCriterion( const QString &criterion );
- const QString& sortCriterion() const;
+ void setSortCriterion( const TQString &criterion );
+ const TQString& sortCriterion() const;
void setDirsFirst ( bool first );
bool isDirsFirst() const;
@@ -105,25 +105,25 @@ public:
void setShowingDirectoryOverlays( bool show );
bool isShowingDirectoryOverlays() const { return m_bShowDirectoryOverlays; }
- void setShowingPreview( const QString &preview, bool show );
+ void setShowingPreview( const TQString &preview, bool show );
void setShowingPreview( bool show );
- bool isShowingPreview( const QString &preview ) const { return ! m_dontPreview.contains(preview); }
+ bool isShowingPreview( const TQString &preview ) const { return ! m_dontPreview.contains(preview); }
bool isShowingPreview();
- const QStringList &previewSettings();
+ const TQStringList &previewSettings();
- void setBgColor( const QColor & color );
- const QColor& bgColor(QWidget * widget) const;
- void setTextColor( const QColor & color );
- const QColor& textColor(QWidget * widget) const;
- void setBgPixmapFile( const QString & file );
- const QString& bgPixmapFile() const { return m_bgPixmapFile; }
+ void setBgColor( const TQColor & color );
+ const TQColor& bgColor(TQWidget * widget) const;
+ void setTextColor( const TQColor & color );
+ const TQColor& textColor(TQWidget * widget) const;
+ void setBgPixmapFile( const TQString & file );
+ const TQString& bgPixmapFile() const { return m_bgPixmapFile; }
// Applies bgcolor, textcolor, pixmap to the @p widget
- void applyColors( QWidget * widget ) const;
+ void applyColors( TQWidget * widget ) const;
protected:
- QPixmap loadPixmap() const;
+ TQPixmap loadPixmap() const;
// Current config object for _saving_
KConfigBase * currentConfig();
@@ -131,9 +131,9 @@ protected:
// Current config object for _saving_ settings related to colors
KConfigBase * currentColorConfig();
- QString currentGroup() const {
+ TQString currentGroup() const {
return isDefaultProperties() ?
- QString::fromLatin1("Settings") : QString::fromLatin1("URL properties");
+ TQString::fromLatin1("Settings") : TQString::fromLatin1("URL properties");
}
private:
@@ -143,13 +143,13 @@ private:
int m_iItemTextPos;
bool m_bShowDot;
bool m_bShowDirectoryOverlays;
- QStringList m_dontPreview;
- QColor m_textColor;
- QColor m_bgColor;
- QString m_bgPixmapFile;
+ TQStringList m_dontPreview;
+ TQColor m_textColor;
+ TQColor m_bgColor;
+ TQString m_bgPixmapFile;
// Path to .directory file, whether it exists or not
- QString dotDirectory;
+ TQString dotDirectory;
bool m_bSaveViewPropertiesLocally;