summaryrefslogtreecommitdiffstats
path: root/kdeui/keditlistbox.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-13 21:51:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-13 21:51:16 +0000
commita46e33728580cacf68994d5b5d3780a5bcb58e8b (patch)
tree116b23694492df3377f410e8492ed31accaed2e3 /kdeui/keditlistbox.h
parentb56a10ae43f369fd79100bd82e99cab169ed6220 (diff)
downloadtdelibs-a46e33728580cacf68994d5b5d3780a5bcb58e8b.tar.gz
tdelibs-a46e33728580cacf68994d5b5d3780a5bcb58e8b.zip
Fix kalyptus by altering kdelibs
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246968 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/keditlistbox.h')
-rw-r--r--kdeui/keditlistbox.h74
1 files changed, 39 insertions, 35 deletions
diff --git a/kdeui/keditlistbox.h b/kdeui/keditlistbox.h
index 3a7fc1980..bd8b19a64 100644
--- a/kdeui/keditlistbox.h
+++ b/kdeui/keditlistbox.h
@@ -51,41 +51,7 @@ class KDEUI_EXPORT KEditListBox : public TQGroupBox
TQ_PROPERTY( TQStringList items READ items WRITE setItems )
public:
- /**
- * Custom editor class
- *
- * @since 3.1
- **/
- // ### KDE4: add virtual destructor
- class CustomEditor
- {
- public:
- KDEUI_EXPORT CustomEditor()
- : m_representationWidget( 0L ),
- m_lineEdit( 0L ) {}
- KDEUI_EXPORT CustomEditor( TQWidget *repWidget, KLineEdit *edit )
- : m_representationWidget( repWidget ),
- m_lineEdit( edit ) {}
- KDEUI_EXPORT CustomEditor( KComboBox *combo );
-
- KDEUI_EXPORT void setRepresentationWidget( TQWidget *repWidget ) {
- m_representationWidget = repWidget;
- }
- KDEUI_EXPORT void setLineEdit( KLineEdit *edit ) {
- m_lineEdit = edit;
- }
-
- KDEUI_EXPORT virtual TQWidget *representationWidget() const {
- return m_representationWidget;
- }
- KDEUI_EXPORT virtual KLineEdit *lineEdit() const {
- return m_lineEdit;
- }
-
- protected:
- TQWidget *m_representationWidget;
- KLineEdit *m_lineEdit;
- };
+ class CustomEditor;
public:
@@ -270,6 +236,44 @@ public:
private:
//our lovely private d-pointer
KEditListBoxPrivate* const d;
+
+ /**
+ * Custom editor class
+ *
+ * @since 3.1
+ **/
+ // ### KDE4: add virtual destructor
+ public:
+ class CustomEditor
+ {
+ public:
+ KDEUI_EXPORT CustomEditor()
+ : m_representationWidget( 0L ),
+ m_lineEdit( 0L ) {}
+ KDEUI_EXPORT CustomEditor( TQWidget *repWidget, KLineEdit *edit )
+ : m_representationWidget( repWidget ),
+ m_lineEdit( edit ) {}
+ KDEUI_EXPORT CustomEditor( KComboBox *combo );
+
+ KDEUI_EXPORT void setRepresentationWidget( TQWidget *repWidget ) {
+ m_representationWidget = repWidget;
+ }
+ KDEUI_EXPORT void setLineEdit( KLineEdit *edit ) {
+ m_lineEdit = edit;
+ }
+
+ KDEUI_EXPORT virtual TQWidget *representationWidget() const {
+ return m_representationWidget;
+ }
+ KDEUI_EXPORT virtual KLineEdit *lineEdit() const {
+ return m_lineEdit;
+ }
+
+ protected:
+ TQWidget *m_representationWidget;
+ KLineEdit *m_lineEdit;
+ };
};
#endif
+