summaryrefslogtreecommitdiffstats
path: root/kmail/klistboxdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 17:25:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 17:25:43 -0600
commit6cc5f72b33f1d281de3e1bf809b1b5e77d5c96cf (patch)
treeb90f9ba234d5a04288c37fe3ef65fd9e936c363f /kmail/klistboxdialog.cpp
parentfd5d099065a748cac49e20a13481f85666c53c71 (diff)
downloadtdepim-6cc5f72b33f1d281de3e1bf809b1b5e77d5c96cf.tar.gz
tdepim-6cc5f72b33f1d281de3e1bf809b1b5e77d5c96cf.zip
Fix FTBFS
Diffstat (limited to 'kmail/klistboxdialog.cpp')
-rw-r--r--kmail/klistboxdialog.cpp83
1 files changed, 0 insertions, 83 deletions
diff --git a/kmail/klistboxdialog.cpp b/kmail/klistboxdialog.cpp
deleted file mode 100644
index eaa627bb7..000000000
--- a/kmail/klistboxdialog.cpp
+++ /dev/null
@@ -1,83 +0,0 @@
-// This must be first
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include "klistboxdialog.h"
-
-#include <tqlabel.h>
-#include <tqlayout.h>
-
-TDEListBoxDialog::TDEListBoxDialog( TQString& _selectedString,
- const TQString& caption,
- const TQString& labelText,
- TQWidget* parent,
- const char* name,
- bool modal )
- : KDialogBase( parent, name, modal, caption, Ok|Cancel, Ok, true ),
- selectedString( _selectedString )
-
-{
- if ( !name )
- setName( "TDEListBoxDialog" );
- resize( 400, 180 );
-
- TQFrame *page = makeMainWidget();
- TQVBoxLayout *topLayout = new TQVBoxLayout( page, 0, spacingHint() );
- labelAboveLA = new TQLabel( page, "labelAboveLA" );
- labelAboveLA->setText( labelText );
-
- topLayout->addWidget( labelAboveLA );
-
- entriesLB = new TQListBox( page, "entriesLB" );
-
- topLayout->addWidget( entriesLB );
-
- commentBelowLA = new TQLabel( page, "commentBelowLA" );
- commentBelowLA->setText( "" );
- topLayout->addWidget( commentBelowLA );
- commentBelowLA->hide();
-
- // signals and slots connections
- connect( entriesLB, TQT_SIGNAL( highlighted( const TQString& ) ),
- this, TQT_SLOT( highlighted( const TQString& ) ) );
- connect( entriesLB, TQT_SIGNAL( selected(int) ),
- TQT_SLOT( slotOk() ) );
- // buddies
- labelAboveLA->setBuddy( entriesLB );
-}
-
-/*
- * Destroys the object and frees any allocated resources
- */
-TDEListBoxDialog::~TDEListBoxDialog()
-{
- // no need to delete child widgets, TQt does it all for us
-}
-
-void TDEListBoxDialog::setLabelAbove(const TQString& label)
-{
- labelAboveLA->setText( label );
- if( label.isEmpty() )
- labelAboveLA->hide();
- else
- labelAboveLA->show();
-}
-
-void TDEListBoxDialog::setCommentBelow(const TQString& comment)
-{
- commentBelowLA->setText( comment );
- if( comment.isEmpty() )
- commentBelowLA->hide();
- else
- commentBelowLA->show();
-}
-
-
-
-void TDEListBoxDialog::highlighted( const TQString& txt )
-{
- selectedString = txt;
-}
-
-#include "klistboxdialog.moc"