summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /filesharing/advanced/kcm_sambaconf/kcmsambaconf.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/kcmsambaconf.h')
-rw-r--r--filesharing/advanced/kcm_sambaconf/kcmsambaconf.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h b/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h
index c17ec3b0..8d281555 100644
--- a/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h
+++ b/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h
@@ -34,20 +34,20 @@
#include <kcmodule.h>
#include <kcminterface.h>
#include <share.h>
-#include <qptrlist.h>
-#include <qlistview.h>
+#include <tqptrlist.h>
+#include <tqlistview.h>
class SambaShare;
class SambaFile;
class QPixmap;
/**
-* A QListViewItem which holds a SambaShare object
+* A TQListViewItem which holds a SambaShare object
**/
class ShareListViewItem : public QListViewItem
{
public:
- ShareListViewItem(QListView * parent, SambaShare* share);
+ ShareListViewItem(TQListView * parent, SambaShare* share);
SambaShare* getShare() const;
void setShare(SambaShare* share);
@@ -55,7 +55,7 @@ public:
protected:
SambaShare* _share;
- QPixmap createPropertyPixmap();
+ TQPixmap createPropertyPixmap();
};
@@ -70,14 +70,14 @@ class KcmSambaConf: public KCModule
{
Q_OBJECT
public:
- KcmSambaConf(QWidget *parent = 0L, const char *name = 0L);
+ KcmSambaConf(TQWidget *parent = 0L, const char *name = 0L);
virtual ~KcmSambaConf();
- void load(const QString &);
+ void load(const TQString &);
void save();
void defaults();
int buttons();
- QString quickHelp() const;
+ TQString quickHelp() const;
public slots:
void configChanged();
@@ -98,7 +98,7 @@ class KcmSambaConf: public KCModule
/**
* The path of the smb.conf file
**/
- QString _smbconf;
+ TQString _smbconf;
SambaFile* _sambaFile;
DictManager* _dictMngr;
@@ -106,10 +106,10 @@ class KcmSambaConf: public KCModule
void init();
void loadUserTab();
void saveUserTab();
- bool getSocketBoolValue( const QString & str, const QString & name );
- int getSocketIntValue( const QString & str, const QString & name );
- QString socketOptions();
- void setComboIndexToValue(QComboBox* box, const QString & value, SambaShare* share);
+ bool getSocketBoolValue( const TQString & str, const TQString & name );
+ int getSocketIntValue( const TQString & str, const TQString & name );
+ TQString socketOptions();
+ void setComboIndexToValue(TQComboBox* box, const TQString & value, SambaShare* share);
void loadBaseSettings(SambaShare*s=0L);
void loadSecurity(SambaShare* );
@@ -142,13 +142,13 @@ class KcmSambaConf: public KCModule
void addSambaUserBtnClicked();
void removeSambaUserBtnClicked();
void sambaUserPasswordBtnClicked();
- void slotMouseButtonPressed(int,QListViewItem*,const QPoint &,int);
+ void slotMouseButtonPressed(int,TQListViewItem*,const TQPoint &,int);
void joinADomainBtnClicked();
void nullPasswordsEnabled(bool);
void loadBtnClicked();
- void loadCanceled(const QString & msg);
+ void loadCanceled(const TQString & msg);
void fillFields();
- void slotSpecifySmbConf(const QString &);
+ void slotSpecifySmbConf(const TQString &);
private:
KcmInterface* _interface;