summaryrefslogtreecommitdiffstats
path: root/kmail/simplestringlisteditor.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/simplestringlisteditor.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/simplestringlisteditor.h')
-rw-r--r--kmail/simplestringlisteditor.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kmail/simplestringlisteditor.h b/kmail/simplestringlisteditor.h
index fc9c0367..9a45e741 100644
--- a/kmail/simplestringlisteditor.h
+++ b/kmail/simplestringlisteditor.h
@@ -32,9 +32,9 @@
#ifndef _SIMPLESTRINGLISTEDITOR_H_
#define _SIMPLESTRINGLISTEDITOR_H_
-#include <qwidget.h>
-#include <qstringlist.h>
-#include <qstring.h>
+#include <tqwidget.h>
+#include <tqstringlist.h>
+#include <tqstring.h>
class QListBox;
class QPushButton;
@@ -45,7 +45,7 @@ class QPushButton;
//
//
-class SimpleStringListEditor : public QWidget {
+class SimpleStringListEditor : public TQWidget {
Q_OBJECT
public:
enum ButtonCode {
@@ -57,28 +57,28 @@ public:
};
/** Constructor. Populates the list with @p strings. */
- SimpleStringListEditor( QWidget * parent=0, const char * name=0,
+ SimpleStringListEditor( TQWidget * parent=0, const char * name=0,
ButtonCode buttons=Unsorted,
- const QString & addLabel=QString::null,
- const QString & removeLabel=QString::null,
- const QString & modifyLabel=QString::null,
- const QString & addDialogLabel=QString::null );
+ const TQString & addLabel=TQString::null,
+ const TQString & removeLabel=TQString::null,
+ const TQString & modifyLabel=TQString::null,
+ const TQString & addDialogLabel=TQString::null );
/** Sets the list of strings displayed to @p strings */
- void setStringList( const QStringList & strings );
+ void setStringList( const TQStringList & strings );
/** Adds @p strings to the list of displayed strings */
- void appendStringList( const QStringList & strings );
+ void appendStringList( const TQStringList & strings );
/** Retrieves the current list of strings */
- QStringList stringList() const;
+ TQStringList stringList() const;
/** Sets the text of button @p button to @p text */
- void setButtonText( ButtonCode button, const QString & text );
+ void setButtonText( ButtonCode button, const TQString & text );
signals:
/** Connected slots can alter the argument to be added or set the
- argument to QString::null to suppress adding.
+ argument to TQString::null to suppress adding.
*/
- void aboutToAdd(QString&);
+ void aboutToAdd(TQString&);
void changed(void);
protected slots:
@@ -91,13 +91,13 @@ protected slots:
void slotSelectionChanged();
protected:
- QListBox *mListBox;
- QPushButton *mAddButton;
- QPushButton *mRemoveButton;
- QPushButton *mModifyButton;
- QPushButton *mUpButton;
- QPushButton *mDownButton;
- const QString mAddDialogLabel;
+ TQListBox *mListBox;
+ TQPushButton *mAddButton;
+ TQPushButton *mRemoveButton;
+ TQPushButton *mModifyButton;
+ TQPushButton *mUpButton;
+ TQPushButton *mDownButton;
+ const TQString mAddDialogLabel;
};