summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/otabwidget.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/sysinfo/otabwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/otabwidget.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/noncore/settings/sysinfo/otabwidget.h b/noncore/settings/sysinfo/otabwidget.h
index 38f4d20..7450d51 100644
--- a/noncore/settings/sysinfo/otabwidget.h
+++ b/noncore/settings/sysinfo/otabwidget.h
@@ -22,4 +22,5 @@
#include <qwidget.h>
+#include <qlist.h>
class QComboBox;
@@ -46,5 +47,5 @@ private:
};
-typedef QValueList<TabInfo> TabInfoList;
+typedef QList<TabInfo> TabInfoList;
class OTabWidget : public QWidget
@@ -64,4 +65,6 @@ public:
void addTab( QWidget *, const QString &, const QString & );
+ void setCurrentTab( QWidget * );
+ void setCurrentTab( QString );
QSize sizeHint() const;
@@ -71,6 +74,6 @@ protected:
private:
- TabInfoList tabs;
- TabInfoList::Iterator currentTab;
+ TabInfoList tabs;
+ TabInfo *currentTab;
TabStyle tabBarStyle;
@@ -84,6 +87,6 @@ private:
QPixmap loadSmooth( const QString & );
- void selectTab( TabInfoList::Iterator );
- void setUpLayout( bool );
+ void selectTab( TabInfo * );
+ void setUpLayout();
private slots: