summaryrefslogtreecommitdiffstats
path: root/demos/embedded/desktopservices/contenttab.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/embedded/desktopservices/contenttab.h')
-rw-r--r--demos/embedded/desktopservices/contenttab.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/demos/embedded/desktopservices/contenttab.h b/demos/embedded/desktopservices/contenttab.h
index 8d37209..21da07f 100644
--- a/demos/embedded/desktopservices/contenttab.h
+++ b/demos/embedded/desktopservices/contenttab.h
@@ -61,41 +61,41 @@ QT_END_NAMESPACE
/**
* ContentTab class.
-*
+*
* This class implements general purpose tab for media files.
*/
class ContentTab : public QListWidget
{
Q_OBJECT
-public: // Constructors & Destructors
+public: // Constructors & Destructors
ContentTab(QWidget *parent);
virtual ~ContentTab();
-
+
public: // New Methods
- virtual void init(const QDesktopServices::StandardLocation &location,
- const QString &filter,
- const QString &icon);
-
+ virtual void init(const QDesktopServices::StandardLocation &location,
+ const QString &filter,
+ const QString &icon);
+
protected: // New Methods
virtual void setContentDir(const QDesktopServices::StandardLocation &location);
- virtual void setIcon(const QString &icon);
+ virtual void setIcon(const QString &icon);
virtual void populateListWidget();
virtual QString itemName(const QFileInfo &item);
virtual QUrl itemUrl(QListWidgetItem *item);
virtual void handleErrorInOpen(QListWidgetItem *item);
protected:
- void keyPressEvent(QKeyEvent *event);
-
+ void keyPressEvent(QKeyEvent *event);
+
public slots: // New Slots
- virtual void openItem(QListWidgetItem *item);
+ virtual void openItem(QListWidgetItem *item);
-protected: // Owned variables
+protected: // Owned variables
QDir m_ContentDir;
QIcon m_Icon;
};
-#endif // CONTENTTAB_H_
+#endif // CONTENTTAB_H_
// End of File