summaryrefslogtreecommitdiffstats
path: root/src/dolphiniconsviewsettings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphiniconsviewsettings.h')
-rw-r--r--src/dolphiniconsviewsettings.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/dolphiniconsviewsettings.h b/src/dolphiniconsviewsettings.h
index ec63677..cc78074 100644
--- a/src/dolphiniconsviewsettings.h
+++ b/src/dolphiniconsviewsettings.h
@@ -20,8 +20,8 @@
#ifndef DOLPHINICONSVIEWSETTINGS_H
#define DOLPHINICONSVIEWSETTINGS_H
-#include <qstring.h>
-#include <qiconview.h>
+#include <tqstring.h>
+#include <tqiconview.h>
#include <dolphinview.h>
#include <dolphiniconsview.h>
#include <dolphinsettingsbase.h>
@@ -30,7 +30,7 @@
* @brief Contains the settings for the icons view.
*
* The following properties are stored:
- * - layout mode (icons or previews)
+ * - tqlayout mode (icons or previews)
* - icon size
* - preview size
* - grid width, height and spacing
@@ -69,11 +69,11 @@ public:
void setGridSpacing(int spacing);
int gridSpacing() const { return m_gridSpacing; }
- void setArrangement(QIconView::Arrangement arrangement) { m_arrangement = arrangement; }
- QIconView::Arrangement arrangement() const { return m_arrangement; }
+ void setArrangement(TQIconView::Arrangement arrangement) { m_arrangement = arrangement; }
+ TQIconView::Arrangement arrangement() const { return m_arrangement; }
- void setFontFamily(const QString& family) { m_fontFamily = family; }
- const QString& fontFamily() const { return m_fontFamily; }
+ void setFontFamily(const TQString& family) { m_fontFamily = family; }
+ const TQString& fontFamily() const { return m_fontFamily; }
void setFontSize(int size) { m_fontSize = size; }
int fontSize() const { return m_fontSize; }
@@ -92,11 +92,11 @@ public:
* DolhinIconsViewSettings::textWidthHint.
*
* The calculation of the grid width and grid height is a little bit tricky,
- * as the user model does not fit to the implementation model of QIconView. The user model
+ * as the user model does not fit to the implementation model of TQIconView. The user model
* allows to specify icon-, preview- and text width sizes, whereas the implementation
* model expects only a grid width and height. The nasty thing is that the specified
* width and height varies dependant from the arrangement (e. g. the height is totally
- * ignored for the top-to-bottom arrangement inside QIconView).
+ * ignored for the top-to-bottom arrangement inside TQIconView).
*/
void calculateGridSize(int hint);
@@ -109,8 +109,8 @@ public:
int textWidthHint() const;
private:
- QIconView::Arrangement m_arrangement;
- DolphinIconsView::LayoutMode m_layoutMode;
+ TQIconView::Arrangement m_arrangement;
+ DolphinIconsView::LayoutMode m_tqlayoutMode;
int m_iconSize;
int m_previewSize;
int m_gridWidth;
@@ -118,7 +118,7 @@ private:
int m_gridSpacing;
int m_fontSize;
int m_textlinesCount;
- QString m_fontFamily;
+ TQString m_fontFamily;
void setConfigGroup(KConfig* config);
};