summaryrefslogtreecommitdiffstats
path: root/kcontrol/samba/kcmsambastatistics.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 /kcontrol/samba/kcmsambastatistics.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 'kcontrol/samba/kcmsambastatistics.h')
-rw-r--r--kcontrol/samba/kcmsambastatistics.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kcontrol/samba/kcmsambastatistics.h b/kcontrol/samba/kcmsambastatistics.h
index 66a9474ab..958e45a55 100644
--- a/kcontrol/samba/kcmsambastatistics.h
+++ b/kcontrol/samba/kcmsambastatistics.h
@@ -23,8 +23,8 @@
#ifndef kcmsambastatistics_h_included
#define kcmsambastatistics_h_included
-#include <qwidget.h>
-#include <qptrlist.h>
+#include <tqwidget.h>
+#include <tqptrlist.h>
class QListView;
class QLabel;
@@ -39,8 +39,8 @@ class SmallLogItem
{
public:
SmallLogItem():name(""),count(0){};
- SmallLogItem(QString n):name(n),count(1){};
- QString name;
+ SmallLogItem(TQString n):name(n),count(1){};
+ TQString name;
int count;
};
@@ -48,17 +48,17 @@ class LogItem
{
public:
LogItem():name(""), accessed(),count(0) {};
- LogItem(QString n, QString a):name(n), accessed(), count(1)
+ LogItem(TQString n, TQString a):name(n), accessed(), count(1)
{
accessed.setAutoDelete(TRUE);
accessed.append(new SmallLogItem(a));
};
- QString name;
- //QStrList accessedBy;
- QPtrList<SmallLogItem> accessed;
+ TQString name;
+ //TQStrList accessedBy;
+ TQPtrList<SmallLogItem> accessed;
int count;
- SmallLogItem* itemInList(QString name);
- void addItem (QString host);
+ SmallLogItem* itemInList(TQString name);
+ void addItem (TQString host);
};
class SambaLog
@@ -68,36 +68,36 @@ class SambaLog
{
items.setAutoDelete(TRUE);
};
- QPtrList<LogItem> items;
- void addItem (QString share, QString host);
+ TQPtrList<LogItem> items;
+ void addItem (TQString share, TQString host);
void printItems();
private:
- LogItem* itemInList(QString name);
+ LogItem* itemInList(TQString name);
};
class StatisticsView: public QWidget
{
Q_OBJECT
public:
- StatisticsView(QWidget *parent=0, KConfig *config=0, const char *name=0);
+ StatisticsView(TQWidget *parent=0, KConfig *config=0, const char *name=0);
virtual ~StatisticsView() {};
void saveSettings() {};
void loadSettings() {};
public slots:
- void setListInfo(QListView *list, int nrOfFiles, int nrOfConnections);
+ void setListInfo(TQListView *list, int nrOfFiles, int nrOfConnections);
private:
KConfig *configFile;
- QListView *dataList;
- QListView* viewStatistics;
- QLabel* connectionsL, *filesL;
- QComboBox* eventCb;
- QLabel* eventL;
- QLineEdit* serviceLe;
- QLabel* serviceL;
- QLineEdit* hostLe;
- QLabel* hostL;
- QPushButton* calcButton, *clearButton;
- QCheckBox* expandedInfoCb, *expandedUserCb;
+ TQListView *dataList;
+ TQListView* viewStatistics;
+ TQLabel* connectionsL, *filesL;
+ TQComboBox* eventCb;
+ TQLabel* eventL;
+ TQLineEdit* serviceLe;
+ TQLabel* serviceL;
+ TQLineEdit* hostLe;
+ TQLabel* hostL;
+ TQPushButton* calcButton, *clearButton;
+ TQCheckBox* expandedInfoCb, *expandedUserCb;
int connectionsCount, filesCount, calcCount;
private slots:
void clearStatistics();